Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
C++ separators
i have a simple windows console simulator, and i have a function which handles all the user inputs/commands. but i need to separate the command itself and its parameter. e.g. mkdir is the command for creating a directory. and when the user input is mkdir test, i need to separate the mkdir, to tell the program to create a new dir, and a test, which is the new dirs name. how can i do this? i want for each one string, e.g. command = mkdir; parameter = test;
thanks
Google for C++ string handling ;)
http://publications.gbdirect.co.uk/c_book/chapter9/string_handling.html