how do i use the C class like

string str;

Please it will determine about my new program, so please tell me:d
if possible contact me on yahoo at natalicwolf_is_dead or just repost.
Posted on 2004-09-24 19:42:42 by natalic
This is an assembly board... and such a basic C++ (not C) question would be answered in just about any textbook on that language.
Posted on 2004-09-25 03:50:33 by f0dder
Maybe you mean how to use a C class from assembly?
Posted on 2004-09-25 11:19:21 by QvasiModo
I don't think it would be worth the trouble using std::string from assembly. The class is not *that* powerful, and it's based on templates... I wouldn't even want to try doing that ;)
Posted on 2004-09-25 11:26:54 by f0dder
use something like it? for strings and such like to use substr or find??
or would i need to use some sort of code to drive me crazy lol
Posted on 2004-09-28 15:15:05 by natalic
In my opinion people that try to use such a c-class normally come from a c-background and try to learn something new -> assembler.
You can write your own str-related functions in asm (they can be quite short, no huge code) or just use the api-str-functions like lstrlen, lstrcat, lstrcmp etc....
Posted on 2004-09-28 15:23:22 by Dom
1. C has no string class. the STL from C++ has a string class though.
2. better forget it and use another way :)
Posted on 2004-09-29 11:18:14 by lifewire