Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

strcmp is not working the way it should

, 11 Jan 2013
Working just from your code fragment, it is difficult to work out what your problem is: the only reference to strcmp you have does not use argv at all - it uses an array of strings you create and fill.But are you sure you are using it right?strcmp(argument[0], "cd")will return 0 if the...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 11-Jan-13 7:59 Available OriginalGriff
Updates in content. 67 changes had been made.
1 No 11-Jan-13 7:36 Available OriginalGriff

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

OriginalGriff
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?
Follow on   Google+

| Advertise | Privacy | Mobile
Web03 | 2.8.140905.1 | Last Updated 11 Jan 2013
Article Copyright 2013 by OriginalGriff
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid