How to call another separate program and passing some variables in C?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Forgive me if my question is so simple as I am a newbie to programming..

I have two C programming and I want to call second C file within my first C
program, upon calling, I need to pass some variables (like 1 or 0) to the
second program.

Can anyone tell me how to do? I searched system() but it seems not be able
to do this.

Thanks & Best Regards,
 
Johnny


--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux