Advertisement

Strings & Commands

Started by November 27, 2001 08:39 AM
3 comments, last by JonathanATX 23 years ago
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
Look up language parsing or tokenising.
Advertisement
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
-Jonathan
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.
I was afraid of that...oh well, I guess it''s not so bad.

-Jonathan
-Jonathan

This topic is closed to new replies.

Advertisement