Return variables question
I am a beginner with C/ C++ ....
I would like to return a string ...something like this ...I am using VC7 to compile this code......I need to do this in exactly this way bcos it is going to be called by another third party application which will accept only strings ....
Do I need a pointer or some jazz.z?.....I am unable to declare it as a string ....only char is permitted...
Please give me some idea as to how to do this
conf_str = "Data is correct" ;
err_str = "Data is incoorect";
if ( .....)