Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc: In function 'std::ostream& operator<<(std::ostream&, MyClass<MYTYPE>)':
prog.cc:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int indice = 0; indice < a.dim; indice++)
     ^~~
prog.cc:41:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
         X<<endl;
         ^
Reading vector: Ints vector
Ints vector[0]= Ints vector[1]= Ints vector[2]= Ints vector[3]= Reading vector: String vector
String vector[0]= String vector[1]= String vector[2]= String vector[3]= String vector[4]= Vector: Ints vector
1783385000 32718 1783385000 32718 
Vector: String vector
     
sh: 1: pause: not found
Exit Code:
0