Strings & Commands
I know how to use apstring, but I''d rather not unless it''s for school. Could someone tell me how to create regular strings?
Also, I would like to know how to use commands in Text-Based programs I write...>kill zombie...and such, could someone tell me how, or give me a link?
-Jonathan
-Jonathan
I know what parsing is with java-script, I assum that will fix my command problem.
But with the strings, should I try to write my own class? I would rather not use char arrays all the time. Unless there is a short cut to creating them?
-Jonathan
But with the strings, should I try to write my own class? I would rather not use char arrays all the time. Unless there is a short cut to creating them?
-Jonathan
-Jonathan
November 28, 2001 10:49 AM
Char arrays is how C and C++ handle strings. Sorry, that''s what you''ll have to use.
Unless you feel like using STL or MFC strings, but these are still char arrays at heart.
Unless you feel like using STL or MFC strings, but these are still char arrays at heart.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement