Results 1 to 3 of 3
hey,
i'll bother u 4 a while but i'm just new 2 linux n need alot of help. I need 2 knw wat r the commands that i'd write in ...
- 02-27-2008 #1Just Joined!
- Join Date
- Feb 2008
- Location
- Egypt
- Posts
- 13
Executing a program using kwrite and shell
hey,
i'll bother u 4 a while but i'm just new 2 linux n need alot of help. I need 2 knw wat r the commands that i'd write in the shell 2 execute a C program that i wrote on the kwrite.
I'd appreciate it if sm1 answers me ASAP, coz i have 2 handout this program on nxt sunday.
thanx alot
- 02-27-2008 #2Linux Newbie
- Join Date
- Jan 2008
- Location
- UK
- Posts
- 211
Save file, example
test2.c
Compile file test2.c
gcc test2.c -o test2
then in same directory
./test2
it should execute.
- 02-28-2008 #3Just Joined!
- Join Date
- Feb 2008
- Location
- Egypt
- Posts
- 13
thnx, it worked!
i'm just a beginner, so i'll always ask questions about programing.
so i hope u keep in touch!!!!


Reply With Quote