View Single Post
  #3 (permalink)  
Old 07-21-2008, 02:36 PM
Dren's Avatar   
Dren Dren is offline
Guru
 
Join Date: Nov 2006
Location: Kosovo
Age: 18
Posts: 438
Credits: 1
Rep Power: 14
Dren is a glorious beacon of lightDren is a glorious beacon of lightDren is a glorious beacon of lightDren is a glorious beacon of lightDren is a glorious beacon of light
Send a message via MSN to Dren
Default Re: Visual Basic to C++ Syntax Translation

Quote:
Originally Posted by marwex89 View Post
Include <cstring> and take a look at the high-level functions there.

Code:
string s1, s2; // Empty strings
string s3 = "Yo dude"; // Initialized
string s4("I am cool"); // Also initialized
s2 = "C++ sucks"; // Assigning to a string
s1 = s3 + " " + s4; // Combining strings
s1 += "8"; // Appending to a string
"There are libraries for everything!" (C++ librarian)
WoooooW, THANK U MAN, THANK U SO MUCH, that is relly GREAT. I Googled cstring C++ library and got all the functions I needed except Chr().

About the last questin, what do you suggest? Visual C++ or C++?

Thanks A TON
Reply With Quote