How can I invoke another program from within a C program?
Answers were Sorted based on User's Feedback
Answer / phani kumaer
just making the file name as preprocessor header file
and add this tag into the necessary program block
#include"Filename.h"
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / jai sundar
Just include tha other file name
#include "Filename.c" .
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / phani kumar s
by using the proprocessor directive notation.
convert ur program as .h file.
or
use the files with functions.
Is This Answer Correct ? | 6 Yes | 4 No |
Answer / srinivas
Just use system() call
like
system(test.exe);
the above statement when executed will executes test.exe and
returns when test.exe finishes its executions./.
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / sharath
please can any one give an example program for this question
How can I invoke another program from within a C program?
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vamshi
simply use
#include<file_name.exe>.
the file with appropriate extention.
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / phani kumar s
to access one C program in another C Program
there are two ways
1.making the file .exe and accessing and
2.include the file as the preprocess header
#include"File.h"
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / vrushali
I think the second solution works .. need to check....
Is This Answer Correct ? | 0 Yes | 6 No |
What is the difference between functions getch() and getche()?
what is the difference between c and java?
Symmetric technologies interview questions. For Computer science candidates the first round is a objective type written test consisting of 16 questions.It is very easy ,any police man can solve this. And next round is a written test consists of both objective and subjective .Total 40 question related to c,c++ and operating system related questions. And then a technical interview and give some program to solve with computer.The md is adamant person, whatever he says we have to accept that is the condition. And one more thing ,,,these interview is just for a formality..the company will select only innocent guys.. the person's without a backbone only they require.. And u have to submit the certificates this is the most important problem...So if you are not getting any other jobs..then only join with this... It is better to try for other company...And apart from that symmetric do a lot of projects..If a candidate can manage everything u can join and make good career with this company... The Md will normally speak rudely..but he is good person and he will give you a lot of very good chances to improve your career....but with cheap salary....
0 Answers Symmetric Technologies,
Explain output of printf("Hello World"-'A'+'B'); ?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is macro?
What are the different types of linkage exist in c?
main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
What does int main () mean?
write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR
What are types of structure?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.