Click here to Skip to main content
12,077,351 members (45,145 online)
Click here to Skip to main content

Tagged as

C

Stats

0 views
Posted

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...

Revisions


  

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

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?

You may also be interested in...

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