new to C programming

This is a discussion on new to C programming within the C Programming forums, part of the General Programming Boards category; Hi guys, I am new to C progamming and also new to this thread. Please help me out for my ...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    11

    new to C programming

    Hi guys,

    I am new to C progamming and also new to this thread. Please help me out for my homework.
    can someone provide me the help/code on program which produce the following output when executed

    ****
    ++++++++
    ****
    ++++++++
    ****
    ++++++++
    ****
    ++++++++
    ****
    ++++++++

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    230
    Sorry man. People here don't do your homework. You should at least try. If it doesn't work, then post your code. If we think you really tried then we'll probably help. other than that I don't think anyone here is free to do your homework.

    Plus, this is very simple stuff. Just a printf statement in a loop.

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    So you want us to do your homework so you get marks for it when you didn't do it, and then you'll most likely go write your tests and fail them because you have no freaking clue as to how to program a thing.

    Or worse, you might pass the tests and then get a degree which means nothing to you because you won't be able to handle any jobs it may bring because you have no understanding of what the degree even represents.

  4. #4
    Registered User
    Join Date
    Aug 2007
    Posts
    11
    No guys, all i want is just a little hint. Anyway thanks

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    11
    May be you can ans this.
    What type of variable would you use for * and +

  6. #6
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Hint: learn loops, learn how to print output. Get a book.

  7. #7
    Registered User
    Join Date
    Aug 2007
    Posts
    11
    all of you guys are ........ing retard helpless people

  8. #8

  9. #9
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by shaitan_superma View Post
    all of you guys are ........ing retard helpless people
    I'm sorry, do you think we should have done your homework for you? Perhaps I could give you a tissue instead.

    * Learn C, this task is trivial. Get a book

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Quote Originally Posted by shaitan_superma View Post
    No guys, all i want is just a little hint. Anyway thanks
    That "little hint" you say you want, is the problem, see?

    Which little hint is the one you need? We have no idea, at all!

    Do you need a hint about using a loop? Maybe about odd and even, and how it's useful in this problem? Or do you need a hint on printing output correctly, or using include headers?

    When you can ask a *specific* question, and be hold onto the name calling, then show us what you have in mind to solve the problem, and ask something that gives us a clue what answer it is that you're seeking.

    Please realize that we're asked general questions like this about homework assignments all the time. We're not here to do your homework. We will assist you with any specific problems you might have, if we can.

  11. #11
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,803
    I know when I am at work and I need to do something I ask someone and they do all the work for me. If they don't, they just made the worst mistake of their lives. I start getting real punchy real fast. Come on do your own work you lazy bastard.

  12. #12
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    Now now... no need for language... but I think some people do belive that others are too easy to "derive" help from.... Programming is no easy task.. but with patience and practise you can become a compitant coder.. if you stick at it and try hard enough... others will always be willing to help as long as you show some sort of effort in the first place
    I'm just trying to be a better person - My Name Is Earl

  13. #13
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Quote Originally Posted by shaitan_superma View Post
    all of you guys are ........ing retard helpless people
    If we're retarded but we can do harder tasks than your homework, what must you be?

    Don't be so lazy. Actually do the work. It pays off in the long run. Cheating at this work is cheating yourself.

Popular pages Recent additions subscribe to a feed

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