NEW :/
Progress through the levels, this site is mostly for html and javascript. If you want to learn c# you may have to do it yourself.
Dude I suggest you first finish learning C# such a good start. After mastering that logic becomes easy and other languages are simple a matter of sintax. Starting to learn Java, pearl, php, python afterwards. Get Linux distro and read. READ READ AND READ.
(And eventually get your hands dirty :D). But there again, I’m just a noob.
Welcome. If you are good with C# then you will understand a lot and will be able to learn fast I guess. As long as you like and want to learn at least..
What?
C# is a completely OOP language. Everything is built into a class pretty much. Apparently it is very much like Java, however my experience with Java includes converting one Java file into C#. I learned it after using Pascal,Delphi,Basic,Assembly and some C/C++ and found the idea around it was very different, but having been submersed in it for the past couple of years I must say that it is very nice to use if you keep clean coding habits. (I wish I could say that I always do). Visual Express is free, so give it a try and see what you think.
Hacking is alot like modding: Entity
If you understand C++ and worked with classes then it shouldn’t be too hard to get used to C#.
It’s not that there is a huge difference I think they are quite close to each other.
What?
that’s good, though I have learned classes I haven’t really used them all that much. I should probably start using them. In what circumstances would I use classes in C++?
I would say in every project that is a bit bigger..
You can use classes in many situations.
I don’t know what kind of programs you are used to but when you for example write a program in which you are working with databases or files then a class won’t be that bad.
What?
Okay thanks, right now in class we are just working on shortest path algorithms, floyd’s algorithm and dijkstra’s algorothm. I personally prefer floyd for it’s ease of use but some times have to use dijkstra for it’s speed
Classes are very useful for building hierarchies of objects. For example, you could create a class called VEHICLE. You could then create two classes CAR and MOTORCYCLE which both inherited from the VEHICLE class. Although the two classes are very different, they have alot of the same base data (let’s say EngineSpeed, GearRatio).
If you wanted to find out how fast a vehicle was going, you could call:
public void GetSpeed(Vehicle vehicle)
{
return (vehicle.EngineSpeed * vehicle.GearRatio);
}
You could call this function with a class of either CAR or MOTORCYCLE as they both come from the VEHICLE base class. If you weren’t using classes, you would need to write a seperate function for each of these. Obviously this function is pretty lame, but hopefully it gives you an idea for one of the important uses of classes.
If you need any help with C#, I’m more than happy to give a hand, although you probably realize more than most how important searching and learning on your own is.
Hacking is alot like modding: Entity