Quote:
Originally Posted by TheFallenAngel
C is closer to the hardware level
|
How did you come to this decision? You can nearly do everything in C++ while being close to the hardware.
Quote:
Originally Posted by TheFallenAngel
. so when getting down into the dirt like setting resources and memory stuff C is the way to go. C++ is better for some stuff but if u wanna go basic without it turning into gibberish like setting hex's and using assembly then C is what you use.
|
You are completely wrong. Why is C++ better for "some stuff" and why do you think that C++ can't handle things you want to do?
Quote:
Originally Posted by TheFallenAngel
the closer you get to the hardware the more options you have when you want to do something
|
That's correct but the closer you are, the harder and expensive (in terms of time) it gets.
Quote:
Originally Posted by TheFallenAngel
essentially you just agreed with me and told me i was wrong
|
I did not agree with you, I told you that you
can do that but that'd not make any sense too me. Again: Why do you prefer programming without comfort, more safety, wrappers, libraries and stuff when you can use that?
I'm assuming that you know what the old plain malloc function does. For example, this procedure is covered in C++ as a keyword called
new. Therefore, you can move your stuff on the heap as you'd do with the malloc function and some extra operations with less code at the same time.
Well, another one would be the string wrapper. Why use plain char * buffers when you can have the string wrapper class with several advantages? You can even convert that string back to the cstring (const char*) if necessary.