Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String in VC++ Console Application

Status
Not open for further replies.

whodaman

Programmer
May 23, 2001
60
CA
I have been trying to manipulate strings around but cannot find a way to do so. I've tried
Code:
#include<string>
and using
Code:
string myString;
. I've tried
Code:
CString
.

I really am lost how to manipulate strings in VC++ Console Application.

Can people do it? Is there a sample code for this?
 
#include <string>
using namespace std;

int main(void)
{
string s = &quot;Test abc&quot;;
}

/JOlesen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top