|
-
October 29th, 2002, 02:27 PM
#1
newbie....help please!!!
Hi all!
Suppose I have a input char* tmp = "A12" and it'll match one of 3 cases:
if(the first char = A)
then store the value after A ( which is 12) into a integer var
else if( the first char = B)
then store the value after B into a integer variable
else if( the first char = C)
then store the value after C into a integer variable
else
//do nothing
Please help with the coding. Thanks in advance.
Dxxv
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|