User Profile

Collapse

Profile Sidebar

Collapse
dirtysouth6975
dirtysouth6975
Last Activity: Oct 21 '07, 06:12 AM
Joined: Oct 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dirtysouth6975
    replied to can't figure out how to finish
    in C
    It justs asks me for information, such as name, address and the info. Then it asks for another entry, Yes or no. If you select no, then it has an indefinite eof. It justs keeps saying name and address..., name and address... and so on. It never shows the results, even if I selected it first before wanting to append the file.
    See more | Go to post

    Leave a comment:


  • dirtysouth6975
    started a topic can't figure out how to finish
    in C

    can't figure out how to finish

    I am writing a program for an assignment in which you choose from a menu to append on a file, show the results of the file or exit. However, I can't figure out how to show the results or exit it. Does anyone have any suggestions? It will be much appreciated.
    The output needs to look like this:
    Name: Joe Smo
    Street: 3245 Smith Dr.
    City: Town
    State: AL
    Zip: 94870

    Here is my code so far:
    ...
    See more | Go to post
    Last edited by sicarie; Oct 20 '07, 11:47 PM. Reason: Code tags are to the right when creating/replying to a post. Please use them.

  • So when submitting my program code, so I would need to submit the file with it?
    See more | Go to post

    Leave a comment:


  • dirtysouth6975
    started a topic c++ storing and retrieving names and addresses
    in C

    c++ storing and retrieving names and addresses

    I am trying to grasp onto this c++. While trying to grasp on, I have to write a program that stores and retrieves a person's name and his address. Would I write a file outside of the program and save it to my c:/ and call for it in my program, or do I add it in to my program and call it later on in the program.
    See more | Go to post

  • dirtysouth6975
    replied to slot machine in c++
    in C
    And for the code tag, I need to type[CODE] where indention needs to go. I just need clarification.
    See more | Go to post

    Leave a comment:


  • dirtysouth6975
    replied to slot machine in c++
    in C
    Error 3 error C2601: 'slotMachine::c alculatePayout' : local function definitions are illegal c:\documents and settings\michel e barrett\my documents\visua l studio 2005\projects\s lot machine\slot machine\slot machine.cpp 137
    Error 5 error C2601: 'slotMachine::d isplaySpinResul ts' : local function definitions are illegal c:\documents and settings\michel e barrett\my documents\visua l studio 2005\projects\s lot machine\slot machine\slot machine.cpp...
    See more | Go to post

    Leave a comment:


  • dirtysouth6975
    replied to slot machine in c++
    in C
    I am sorry, I am new at this. What is CODE tag? My errors were at slotMachine::ca lculatePayout, ""displaySpinRe sults, ""displayTotals , "" insertCoin, ""pullHandl e, ""Random, and ""spinWheel .
    See more | Go to post

    Leave a comment:


  • dirtysouth6975
    started a topic slot machine in c++
    in C

    slot machine in c++

    I need some help. I am getting an error of: local function definitions are illegal. What does this mean? Can anybody help me out a little? Thank you.
    Code:
    //Specification: This program simulates a three
    //wheeled slot machine.  Each wheel will randomly
    //display three numbers. When the numbers on the 
    //wheels match the user is award points.  The Slot
    //machine requires the user to enter tokens to play. 
    #include
    ...
    See more | Go to post
    Last edited by Banfa; Dec 20 '20, 11:19 PM. Reason: Added code tags
No activity results to display
Show More
Working...