Sunday, May 10, 2009

String class in Turbo C++ 3.0?

I'm using Turbo c++ 3.0 and I don't know how to declare strings for console applications. Can anybody tell me how to make it?





REMEMBER Turbo C++, not Visual C++

String class in Turbo C++ 3.0?
I guess Turbo C++ is ANSI compliant so the normal char should work





Declare as this





char szBuffer[500];





Then use the functions strcpy, strset, sprintf ... on the char array





Is it what you tried ?





Thierry


No comments:

Post a Comment