Need some serious help..... thanks.

This is a discussion on Need some serious help..... thanks. within the C Programming forums, part of the General Programming Boards category; So below is the question.............. Question1:- There are 3 files to compile (nb_line.c, nb_line.h, test.c), a makefile based on gcc ...

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    6

    Question Need some serious help..... thanks.

    So below is the question..............

    Question1:-

    There are 3 files to compile (nb_line.c, nb_line.h, test.c), a makefile based on gcc and an input file (text file format) for the compiled library (file_in).
    The purpose of the code is to write in an output file all the lines of file_in, inversing all the lines (the first will be the last etc…)
    The errors of the program occur during compilation and afterwards essentially during execution.
    All means can be used to solve the problems: debugger etc…

    Note:- Do please remove the file extensions of both file_in and makefile while using them because, only for the purpose of uploading it on this board i have made them as text files otherwise these are just files without any extension...

    So i request anyone out there to send me a complete program with some explanation is also appreciated.......

    thanking u again n hoping the solution will be provided at the earliest as i am desperate...

    Regards,
    umar...
    Attached Files Attached Files

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You probably need to read the Homework Policy: C Board - Announcements in Forum : General Programming Boards

    Then come back and post YOUR effort.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Quote Originally Posted by matsp View Post
    You probably need to read the Homework Policy: C Board - Announcements in Forum : General Programming Boards

    Then come back and post YOUR effort.

    --
    Mats
    what does that mean, i dint get u.... could u be more clear....

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Did you read the Homework policy that I linked?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Quote Originally Posted by matsp View Post
    Did you read the Homework policy that I linked?

    --
    Mats
    Ya i just read it......... and i understood the policy is well..... anyways thanks a lot......

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    So, if you want help, you have to show us what you have done, right?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Quote Originally Posted by matsp View Post
    So, if you want help, you have to show us what you have done, right?

    --
    Mats
    Ya rite, but i am unable to understand that question hence i posted it, nevertheless i will try else where...... thanks again....

  8. #8
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by umar View Post
    Ya rite, but i am unable to understand that question hence i posted it, nevertheless i will try else where...... thanks again....
    Fine by me. But it would then perhaps be better if you asked a concrete question on the part that you do not understand, rather than asking us to do you homework.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  9. #9
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Quote Originally Posted by matsp View Post
    Fine by me. But it would then perhaps be better if you asked a concrete question on the part that you do not understand, rather than asking us to do you homework.

    --
    Mats
    Ya thats very true, atleast i should have done that, anyways i am sorry....... by the way when is that ask an expert service will be launched.....

  10. #10
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by umar View Post
    Ya thats very true, atleast i should have done that, anyways i am sorry....... by the way when is that ask an expert service will be launched.....
    Don't know. I can't do that, as I can't take payment for "outside of my regular work". But I'm happy to help here, and I wouldn't help you any more if I were on the pay-for-expert-service, because the same rules would apply there. You still haven't said what it is you don't understand.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  11. #11
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Quote Originally Posted by matsp View Post
    Don't know. I can't do that, as I can't take payment for "outside of my regular work". But I'm happy to help here, and I wouldn't help you any more if I were on the pay-for-expert-service, because the same rules would apply there. You still haven't said what it is you don't understand.

    --
    Mats
    Okie......... no prob, its great talking to you..... hopefully next time i will come up with some meaningful queries, till then take care and have a nice week ahead........ cheers......

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. People sure are serious about their hot sauce...
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 06-26-2008, 03:55 PM
  2. i need serious HELP!!!
    By Nikisha in forum C++ Programming
    Replies: 4
    Last Post: 03-16-2003, 07:35 AM
  3. Serious warning to everyone.
    By adrianxw in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 08-05-2002, 09:24 AM
  4. Need serious help with a circle program
    By CheeseMonkey in forum C Programming
    Replies: 2
    Last Post: 04-20-2002, 01:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21