C++/C++ Doubt
Expert: Zlatko - 9/27/2009
QuestionHow to increment the empid e001 to e002 by using the coding?
Please mail me the coding to my email id...
AnswerHello Meera.
I am not sure that I understand your question. If you have a variable called empid and it is an integer you can increment it by adding 1 to it like this:
empid = empid + 1;
or you can increment it with the increment operator (++) like this
empid++;
or
++empid;
If you send me a sample of the code you have so far, then I could help you more.