int in ISO C++?
-
Habe hier dieses gefunden und verstehe absolut nicht was man mir damit sagen will:
Int by Default
Defaulting to an int is no longer accepted to conform to the C++ standard. It will still apply in C, but not C++. This change broke a lot of existing code for Microsoft, including NT code, so you will want to confirm your code doesn't break. It is always best to be explicit.Quelle: http://www.developer.com/net/cplus/article.php/10919_3493706_2
Kann mich jemand bitte aufklären?
-
Ich denke damit ist gemeint, dass wenn man in C den Rückgabewert einer Funktion weglässt, automatisch int angenommen wird. Das war unter C gültig, unter C++ jedoch nicht.