The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-03-2009
p00ndawg p00ndawg is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 8
Quote:
Originally Posted by Franklin52 View Post
Have you get any warnings/errors while compiling the code?
Use the strcmp function to compare strings instead of:


Code:
if(key == "cd")
no I get no errors, the code runs fine and does what I want. It just doesnt exit the child process.

---------- Post updated at 03:49 PM ---------- Previous update was at 11:52 AM ----------

alright I got it. thanks for the suggestion.