Thread: Urgently in need of help...!!!

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    26

    Unhappy Urgently in need of help...!!!

    i was only first introduced to c programming 2 days ago n nw i hv assginment to hand-in already.

    i was confused about the file saving of high-level language program.

    for example: what provide access for system programs to edit, compile and so on?

    and a high-level language program is saved on disc as what file?

    before linking, a machine language program is save as what file?

    is it an object file?

    and after linking, the machine language is saved as what file again?

    is it an .exe file?

    urgently in need of help...
    anyone...??

  2. #2
    uint64_t...think positive xuftugulus's Avatar
    Join Date
    Feb 2008
    Location
    Pacem
    Posts
    355
    Quote Originally Posted by patron View Post
    for example: what provide access for system programs to edit, compile and so on?
    The program to edit is any text editor.
    To compile you need a compiler.
    and a high-level language program is saved on disc as what file?
    Most C - compilers like *.c files.
    before linking, a machine language program is save as what file?
    Most linkers like *.o files.
    is it an object file?
    It is called so
    and after linking, the machine language is saved as what file again?

    is it an .exe file?
    On windows it should be. On *nix systems they have no extension by default.

    Find someone in real life that knows these things, and ask to be shown.
    You need to understand very elementary concepts before being able to receive help from us, without wasting both ours and your time.
    Code:
    ...
        goto johny_walker_red_label;
    johny_walker_blue_label: exit(-149$);
    johny_walker_red_label : exit( -22$);
    A typical example of ...cheap programming practices.

  3. #3
    Beautiful to C Aia's Avatar
    Join Date
    Jun 2007
    Posts
    124
    >and a high-level language program is saved on disc as what file?
    Source code (.c, .cpp, etc )

    >before linking, a machine language program is save as what file?
    object file (.o, .a, .obj, etc )

    >and after linking, the machine language is saved as what file again?
    Executable file (.exe)
    When the eagles are silent, the parrots begin to jabber. ~Winston Churchill

  4. #4
    Registered User
    Join Date
    Feb 2008
    Posts
    26

    Thanks a lot...!!!

    thank you for helping me....

    but i think text editor and compiler is under a program.
    thanks..

  5. #5
    Registered User
    Join Date
    Feb 2008
    Posts
    26
    thanks..
    really appreciate it..
    u al did help to clear things up a bit for me..
    but i stil encounter some problem in writing a program..

    since i'm a new user here..
    i wonder when wil d posting can b done..
    Last edited by patron; 02-17-2008 at 11:13 PM.

  6. #6
    Stressed Student :(
    Join Date
    Feb 2008
    Location
    Berkeley, CA
    Posts
    73
    usually takes five minutes, have u written hello world?

  7. #7
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    You should use English for your postings
    (d b al wil etc are not English words)
    And give more descriptive name to your posts

    Help and Urgent do not tell much about your problem
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  8. #8
    Registered User
    Join Date
    Feb 2008
    Posts
    26
    thank for reading my forum...

    but since i am new in the programming world, can you explain more on the hello world?

    what should i do about that..?

    thanks..

  9. #9
    Registered User
    Join Date
    Feb 2008
    Posts
    26

    thanks for the advice..

    Quote Originally Posted by vart View Post
    You should use English for your postings
    (d b al wil etc are not English words)
    And give more descriptive name to your posts

    Help and Urgent do not tell much about your problem
    thank you for advising me on the language problem...

    i will prevent that kind of mistakes...

    thanks..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need urgently help!
    By Frandy in forum Windows Programming
    Replies: 4
    Last Post: 03-05-2005, 08:02 AM
  2. Need help urgently
    By jstevanus in forum C++ Programming
    Replies: 15
    Last Post: 12-09-2004, 12:30 PM
  3. Help urgently needed, please =(
    By *Michelle* in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-03-2003, 07:14 AM
  4. Need Help Urgently
    By chener in forum C Programming
    Replies: 3
    Last Post: 06-26-2002, 05:21 PM