i cant find my problem, it says "missing ) before string"
but i think i have all my ')' 's
o yea, on a side note,,,would this work , right after thisCode:if((convert == "edit") || (convert == "Edit") || (convert == "EDIT")) { edit_file.open(tfilename.c_str(), ios::app); cho = 1; goto theend; } else if((convert == "new") || (convert == "New") || (convert == "NEW")) { new_file.open(tfilename.c_str()); cho = 2; goto theend; } else if((convert == "read") || (convert == "Read") || (convert "READ")) { read_file.open(tfilename.c_str(), ios::in); cho = 3; goto theend; } else if((convert == "exit") || (convert =="Exit") || (convert == "EXIT")) { cho = 4; goto theend; }
Code:cho = (int)convert.c_str()[0];



LinkBack URL
About LinkBacks


