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

Tagged as

strcmp is not working the way it should

, 11 Jan 2013 CPOL
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...



Compare Revision Minor Date Status Editor
2 - 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


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


About the Author

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 | Terms of Use | Mobile
Web02 | 2.8.141223.1 | Last Updated 11 Jan 2013
Article Copyright 2013 by OriginalGriff
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid