Click here to Skip to main content
12,693,254 members (30,706 online)
Click here to Skip to main content

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 10-Jan-13 21:59 Available OriginalGriff
Updates in content. 67 changes had been made.
1 No 10-Jan-13 21: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?

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 11 Jan 2013
Article Copyright 2013 by OriginalGriff
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid