Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-09-2005, 04:24 PM   #1
Member (7 bit)
 
shaticus's Avatar
 
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
shaticus is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:15 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2