Thread: Help me!!!urgent

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    4

    Help me!!!urgent

    Hi I am a universty student in turkey I have got a C project.Can you help me for my C project because my C knowledge isn't good enough.There is a C code in

    http://astronomy.swin.edu.au/~pbourk...ling/particle/

    What can I do for build it.There are some errors in this code.Can you correct them.I am waiting for your mail ASAP

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    The reason there are errors in that code is that it is pseudo-code. The whole point of your assignment is to fill in the missing parts, and write the missing functions. No one here is going to do your homework for you.

    If you attempt the assignment and run into specific problems, then we can help you work through them. You need to put in the effort yourself though.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >because my C knowledge isn't good enough.
    You should have paid attention in class then. If this were a common first project then we might be more sympathetic, but if you're lost at this point then you're clearly too lazy to learn. Since laziness begets laziness, you won't find much help until you can prove you've made an attempt.
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Dec 2004
    Posts
    4
    Iam not a computer programmer ı am a pyhsics student.I have little bit english.İt is my first and last project )I am waiting for your help thanks

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Iam not a computer programmer ı am a pyhsics student.
    Non-programmers often have a need for programming skills.

    >I have little bit english.
    Irrelevant to the topic at hand.

    >İt is my first and last project
    I doubt that. But even assuming it were, don't you think you should get the most out of it while you're learning?

    >I am waiting for your help thanks
    No, you're waiting for a handout. And you're not getting one. Deal.
    My best code is written with the delete key.

  6. #6
    Registered User
    Join Date
    Dec 2004
    Posts
    4
    ı am here because I really need your help.My aim is to give the project at the right time to my teacher if you don't help me please say to me

  7. #7
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    *cough* *cough* close thread *cough* *cough*

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    I have a sound I'd like you to hear:

    *plonk*
    My best code is written with the delete key.

  9. #9
    ---
    Join Date
    May 2004
    Posts
    1,379
    >>if you don't help me please say to me

    I think it is pretty obvious that you are on your own from here.

  10. #10
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Please understand bluedor, this has nothing to do with having English as a second language. The reason you're not getting help is because you simply haven't done your part. This board exists to help people who have a specific question. We don't do people's assignments for them, and in this case, you are very close to asking us to do so.

  11. #11
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    If you tell us what compiler/OS you are using, what errors you are getting and what you have tried to fix them, we can probably help you work through them.

    Here is a short C tutorial and here is a longer C tutorial. You may find tutorials in Turkish by searching for the equivalent of "C tutorial".

    It looks like the main problem in the code is missing #includes. However, the program requires graphics code for proper output.

  12. #12
    Registered User
    Join Date
    Dec 2004
    Posts
    4
    Erors photo!!!

  13. #13
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    Here is a short C tutorial and here is a longer C tutorial
    salem would have a canniption if he saw that first link. But Iwon't tell if you won't.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  14. #14
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,534
    Let's be polite and start by saluting the world! Type the following program into your favorite editor:


    #include < stdio.h>

    void main()
    {
    printf("\nHello World\n");
    }

    Save the code in the file hello.c, then compile it by typing:
    ewww

    edit::

    The void preceeding ``main'' indicates that main is of ``void'' type--that is, it has no type associated with it, meaning that it cannot return a result on execution.
    Man its a good thing this guy is not wrong...



    ~/
    Last edited by kermit; 01-06-2005 at 08:51 PM.

  15. #15
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > Erors photo!!!
    Yeah - now try copying and pasting the actual error messages directly from the compiler.
    Fuzzy photos no-one can read (did you even bother to check this?) are useless!

    > Here is a short C tutorial
    Wow - they quote K&R and use void main all on the same page - now that's class
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed