16
donuts
7y

wow... no kidding.... so C++ is like a language without a compiler holding ur hands and catching u when u screw up...

Comments
  • 4
    @tahnik ... guess something was wrong with my PC...
  • 7
    You can set flags to let it support you a bit, but it's how you said: The compiler expects you to be a 'grown up' means you know what you do
  • 1
    @Artemix SL?
  • 1
    oh... is boost one of them? or are they part of std?
  • 3
    @billgates boost is a different library than the Standard library
  • 1
    An array in c ad i think in c++ is more or less just syntactic sugar for a pointer and an offset which is the index multiplied with the size of the data structure.

    Size is only a concept when its instantiated, its not stored and hence cannot be checked.
  • 2
    @Voxera but apparently the new C++ you can for (x : array) I think.... So it has to know something about it...
  • 2
    @billgates might be. Never used c++ only c.
Add Comment