Need Help ASAP....

This is a discussion on Need Help ASAP.... within the C++ Programming forums, part of the General Programming Boards category; im not copying...Im trying to get some help. As you can see I did some of the code already...i just ...

  1. #16
    Registered User
    Join Date
    Sep 2005
    Posts
    6
    im not copying...Im trying to get some help. As you can see I did some of the code already...i just need some help.

  2. #17
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    You declared variables. You obviously wrote this code in a rush since you spelt 'return' wrong. And you admittedly "had no idea what you were doing". The code you wrote had very little to do with what you've obviously been learning if you were given that assignment.

    And just FYI, you're using the old standard of C++. In the newer standard, standard header files do not have the '.h' extension, and header files that are also in the C standard library need to be preceded with a 'c' (though you may not be using these very much). You also need to use namespaces - the simplest way to do this until you start using your own namespaces (which will be a while...) is to just add the line, "using namespace std;" after you include all your header files.

    edit: Closed, as the thread is going nowhere and the question has been answered. If anybody would like to add anything or has further issues, PM myself or another mod and the thread can be reopened or your questions answered.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need help ASAP ,
    By Haytham in forum C Programming
    Replies: 3
    Last Post: 05-14-2007, 10:21 AM
  2. Help Needed Please... Asap
    By Shabba in forum C Programming
    Replies: 2
    Last Post: 01-13-2004, 03:24 PM
  3. Strange characters in output Need Help ASAP
    By KristTlove in forum C++ Programming
    Replies: 2
    Last Post: 12-14-2003, 05:35 PM
  4. Count_nums (need help ASAP!)
    By legacye in forum C Programming
    Replies: 6
    Last Post: 11-22-2003, 05:32 PM
  5. Help Needed Asap With Searching An Array!
    By HelpMe++ in forum C++ Programming
    Replies: 5
    Last Post: 05-23-2003, 04:44 AM

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