So I have decided to put down the ms c++ and go linux for my first program this semester. It went well, got the hang of emacs,g++, and gtb. I was thinking "Hey , I can deal with this stuff. No need to usw MS product for my stumble through the C++ programming". There is just one problem here. How do set my main arguments when I run my program. Here is my code.
when I run a.open 40. It prints 2.
using namespace std;
void convert(int input,int base, int counter);
int main(int argv, char*argv )
cout<< argv<<endl; // print to test argument
Any ideas would be great.