Ok I was reading a book on C++09 and saw this vareable auto that determins what kind of vareable it is. When I try to use it this comes up :
"auto will change c++x09 plesase remove it" I did the settings stuff and know I have 09 but how do I use auto? Google wasn't friendly in this siutuation. Also I hear auto is a keyword or somthing used in the olden days. What did it do
Jump to Post
>>What did it mean before it was used for a variable?
autois a storage specifier in C (and kept in C++98). However, it is the default storage class for all variables in C/C++, which makes it a pretty meaningless specifier (i.e. it literally has no effect at all). A …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.