wtf is wrong with this code? visual c keeps puking on the endl;,
says its an undeclared identifier...even went to the extreme of wiping the project and copying the original code into a new one....
It's also not liking the string type, even though i included <string>Code:#include <iostream> #include <fstream> #include <time.h> #include <string> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////GLOBALS double version=0.1; int length; string input; //use for loop to change to a new char array[length] then make char ouput[length] ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////MAIN int main() { std::cout<<"Encryptor v"<<version<<endl; std::cout<<"\n\n\n\n\nCopyright Drew Peterson\n2002\nAll Rights Reserved"<<endl; return 0; }
wtf??