I would like to try out c++11 range-based for loop on char* argv[] but I am getting errors. By current approach is :
for( char* c : argv )
{
printf("param: %s \n", c);
}
and in my makefile I have the following line :
g++ -c -g -std=c++11 -O2 file.cc