I have a web interface that uses dos to start my program and sends it 2 parameters(string author, string fileName) to my main. My c++ program is not using the new standards (requirement) and does not therefore use the string class. My problem is:
1. how do I declare these
2. how can I access the information in them
The cout's are just outputting garbage...how and what can I do?Code:#include <iomanip.h>
const int MAX = 50;
char author[MAX];
char fileName[MAX];
int main(char author[], char fileName[])
{
cout << author <<endl;
cout << fileName <<endl;
return 0;
}