![]() |
Output from Source Code
Hi - I'm supposed to convert this to Java and considering I know nothing about C, I'm a bit lost. If I knew what the output was, it would make my world A LOT easier. Can someone give me an idea of how to compile this or what IDE to use and what I need to add to it to get it to run, or an idea of the output?
Thanks in advance! Code:
#include <stdio.h> |
Re: Output from Source Code
If you know about function calls, global, static, and local variables, and the fork command, it is fairly straightforward to determine the output of the program, which I assume is your assignment. Look up these topics in your textbook or notes.
Converting the program to Java seems odd to me. Does Java have a fork command? (Windows doesn't.) |
Re: Output from Source Code
u can use threading instead of multiprocessing....
|
Re: Output from Source Code
In place all functionalities uses by your program in c is equivalent to there in java. and For fork you can use multithreading
|
| All times are GMT +5.5. The time now is 09:32. |