Thursday, August 11, 2011

Help with c++ program?

Your both programs are correct, there is only one mistake in the second program, string is not a data type in C++, instead of using "string name" use "char *name". Rest of your program is working correctly.

No comments:

Post a Comment