help

Discussion in 'C' started by rbroller815, Apr 2, 2007.

  1. rbroller815

    rbroller815 New Member

    Joined:
    Apr 2, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    how do i creat a function to prompt a user to enter a value A. check it to b zero and if it is then return an error and reaske to enter. if it isnt zero then return it. how do i write the loop
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Please provide some appropriate title to your threads so that people at least like to see the thread even if they have some or no idea. Probably your Help like thread will not interest many.

    I would suggest you go through [thread=168]Before you make a query[/thread] thread.
     
  3. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    While you're learning how to post a question, you can also be learning how to design.

    Consider your problem and write in your native language the basic steps that you would need to follow to solve the problem. You'll find that you have named a few of them in your question. Formalize that a bit, then consider your langage of choice and look around in it for the types of operations that will perform those basic steps. Put them together.

    Come to the forums for help when it doesn't work. Provide plenty of information on how it's failing to meet your expectations. Tell precisely the error messages you receive. Show the snippets of code that are producing those errors. Show additional code or information that pertains to those areas. Use a debugger or output statements to gather additional information.

    Don't say, "it doesn't work." That doesn't help at all. Put a meaningful subject to your questions. "Help" is not a good search term for either people looking for a solution, or looking for a problem to help with.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice