![]() |
|
#1
|
|||
|
|||
c simple question problem with switch caseI make program to get recognize command from user.
I dont know whats wrong with getCmdId() in file Simulation.c . When i run FileSys the program recognize the command that user input buat it doesnt work for the next command. why i cannot assign : TCmd[0] = '"copy"; The program consist of several file.Sorry if the program too long i have try to cut them Here it is: CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
Last edited by LuciWiz : 25-Oct-2004 at 01:01.
Reason: Please insert your C code between [c] [/c] tags
|
|
#2
|
|||
|
|||
|
i dont want to use string.h
Please help |
|
#3
|
||||
|
||||
|
Quote:
2) Why don't you want to use the string manipulation package to manipulate strings? It's standard with C. What would you like to use? 3) Strings must end in a '\0' to be strings. In the code where you load the strings you don't end them in '\0' [edit]Thank you LuciWiz, but I think we have to stop hand holding them sometime... at least IMAO __________________
Age is unimportant -- except in cheese Last edited by WaltP : 25-Oct-2004 at 01:57.
|
Recent GIDBlog
More photos on Flickr by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Repetition structure problem and question | brookeville | C++ Forum | 17 | 29-Oct-2004 17:48 |
| there has to be a better way | dabigmooish | C++ Forum | 8 | 17-May-2004 10:24 |
| c++ help | homz | C++ Forum | 16 | 14-May-2004 09:16 |
| C++ file I/O | CronoX | C++ Forum | 36 | 09-Mar-2004 17:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The