Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Search Forums > Search Results

Showing results 1 to 2 of 2
Search took 0 seconds.
Search: Posts Made By: gorthi
Forum: Software 09-24-2011
Replies: 1
Views: 885
Posted By gorthi
The code works for ls command but not for cd...

The code works for ls command but not for cd command.The earlier error I ahve debugged but ls works but cd command doesnt!!! I cant understand why?????
Forum: Software 09-24-2011
Replies: 1
Views: 885
Posted By gorthi
I want to have variable parameters for sytem command in unix

Hi! I had typed the following code in c
main()
{
char dirname[15];
char temp[50];
printf("enter directory name: ");
scanf("%s",dirname);
sprintf(temp,"cd %s",dirname);
...
Showing results 1 to 2 of 2

 
Forum Jump


Advertisments