Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

classes

  1. WibblyWall

    C# I need help being able to switch to a different class without having to make a new instance of it if that is possible.

    using Mid_Term_Project; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Potion_Game { internal class Location { public void MerlinShopOne() { Print("You...
  2. sakiere22

    The 2d graphical library for C++ beginners

    Tortoise library - The 2d graphical library for C++ beginners. I made it in about a week - star it and/or follow me on github if you like it/are interested. Contributions/issues are welcome! Documentation and examples still need to be made. Check out the README. https://github.com/dafiliks/tortoise
  3. Velpus Captiosus

    Python Element is added to a list when it shouldnt

    Hello everyone.Only part of the Node class is relevant to my question: import math class Node: prevNodes = [] b = 0.5 def __init__(self,value,nextNode): self.value = 0 if nextNode is not None: self.nextNode = nextNode...
  4. Benny_2306

    JavaScript Insert classes using JavaScript

    I basically know no JavaScript at all yet i need it for my current project i am working on to learn scss and html. I have a set of radio buttons an what i need is if a radiobutton is checked, that its label and the labels bofre it get a extra class inserted. (e.g. if radiobutton 4 was checked...
  5. DictatorPanda

    C# Issue with a Class in Finite State Machine (Unity)

    Good day/night! I've been working on making a Match 3 game in Unity for a project and I'm 99% done but there is an issue. After the player makes a match, the pieces aren't falling to fill the empty squares and I'm not sure what the reason is. Disclaimer: This is a HW assignment where I had to...
  6. James

    Python Classes in Python [Tutorial]

    Now, this is a massive step from the last tutorial, you should know the basics of python to understand this. This tutorial will be going into Object Oriented Programming. How do I define a class? To define a class you need to type class along with the name, similar to a function it must also be...
Back
Top Bottom