|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: May 2004
Posts: 103
|
Strings in C/C++
I'm trying to write a function that will allow a user to type in the syntax for a command and then have that command happen acordingly.
(I.E. setting the hostname on a router during configuration or setting an ip address on an interface). Is there any an easier way to do this than using strcmp for every command? This seems like it would be very slow and difficult to manage. Thanks |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|