Search Results

Search: Posts Made By: miniviking10
5,170
Posted By Corona688
Another way: int main(int argc, char...
Another way:

int main(int argc, char *argv[])
{
char *message="Hello";
char *who="World!";
if(argc == 2)
{
who=argv[1];
}

...
5,170
Posted By blackrageous
#include <stdio.h> int main (int argc, char...
#include <stdio.h>

int main (int argc, char *argv[])
{
char *message = "Hello ";
printf("%s ", message);

if(argc == 2)
{
printf("%s!\n", argv[1]);
}
else
{
...
19,146
Posted By bakunin
It seems to be clearer now where your problem...
It seems to be clearer now where your problem was: between what you called "built-in" programs (I'd call it "system provided executables" and other executable programs there is absolutely no...
19,146
Posted By bakunin
I do not understand how perderabo has earned your...
I do not understand how perderabo has earned your ridicule by honestly trying to help you. If you do not understand it than this is probably more your fault than it is his, no?

Having said this:...
19,146
Posted By Perderabo
A typical call to execl might be something like...
A typical call to execl might be something like this:execl("/bin/date", "date", 0, 0);

The first argument is a path to a file to be executed. Did I understand that you made the first argument a...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 12:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy