Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

auto in c++

int foo = 0;
auto bar = foo;  // the same as: int bar = foo; 
// type of bar is the type of the value used to initialize it
Source by cplusplus.com #
 
PREVIOUS NEXT
Tagged: #auto
ADD COMMENT
Topic
Name
4+2 =