Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Location
    Egypt
    Posts
    13

    Exclamation 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

  2. #2
    Linux 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.

  3. #3
    Just 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!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...