(adsbygoogle = window.adsbygoogle || []).push({});
Well I enjoy helping others understand certain aspects of things so I figure C++ would be a good topic. I know you can google most things but if you would like specialized answers to things then ask away. Example: "I want to know more about why classes (could insert something different here such as pointers, references, templates, function pointers, etc) are useful and how they are used"
Ask away,
Brent
PS: I can also try and help with OpenGL, SFML, SDL, and Game Development. I may also just be also to supply needed code or give you advice on how to do stuff.
Take his advice, best advice that your gonna get in the programming section, most kids in here fail at life, listen to him, he knows more than you. lol
Teach me reflection of assemblies created in other compilers! #sarcasm,i-can-already-do-dat-
Take his advice, best advice that your gonna get in the programming section, most kids in here fail at life, listen to him, he knows more than you. lol
Teach me reflection of assemblies created in other compilers! #sarcasm,i-can-already-do-dat-
Woah woah woah? Reflection of assemblies? Oh boy, that sounds a little deeper than C++. It sounds like you have been getting into how the compiler creates its assembly code.
Woah woah woah? Reflection of assemblies? Oh boy, that sounds a little deeper than C++. It sounds like you have been getting into how the compiler creates its assembly code.
A wee bit, I wrote a slight disassembly program, doesn't give code, but it gives all the method names, info, interfaces/classes etc etc, working on full code reversing now.. This is hard..
I know this is kind of a noobish question, but what is the difference between structures and classes in C++? And how do I choose which one to use when I program?
A wee bit, I wrote a slight disassembly program, doesn't give code, but it gives all the method names, info, interfaces/classes etc etc, working on full code reversing now.. This is hard..
Ya that would take a lot of interpreting what the assembly code could mean.
---------- Post added at 02:37 PM ---------- Previous post was at 02:34 PM ----------
Originally posted by schnzrs
I know this is kind of a noobish question, but what is the difference between structures and classes in C++? And how do I choose which one to use when I program?
Ok well a structure is kinda a C style class I guess you could say. A struct in C++ is exactly the same as a class, except by default all of the members of a struct are public and you can inherit other classes with classes. I would recommend use whatever is needed. If you want data just in a group use a struct but if you want an actual object that has multiple components then use a class.