| | |
My Program runs but not correctly
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
1. Don't post twice the same question.
2. You should have posted the code (it's not so big)
3. Some errors (not compiler, but logical errors):
What's this??
I think you forgot an if:
and, after if don't put a semicolon.
2. You should have posted the code (it's not so big)
3. Some errors (not compiler, but logical errors):
C++ Syntax (Toggle Plain Text)
if (plan == 'A') { BASE_PRICEA; }
C++ Syntax (Toggle Plain Text)
else (plan == 'A' && weekday <= 250); { cout << "No weekday overages" << endl; }
C++ Syntax (Toggle Plain Text)
else if (plan == 'A' && weekday <= 250)
![]() |
Similar Threads
- Creating an exit point? (C++)
- Is it possible to open a user-defined file for output in C++? (C++)
- Problem with how program runs. (C++)
- How do I hide the command prompt while my Tk Inter program runs (Python)
- C++ Dynamic Array Of Objects Deletion (C++)
- Program runs but not visible (C++)
- Return Array from C++ (C++)
- Can anyone suggest why this program doesn't calculate correctly? (Java)
Other Threads in the C++ Forum
- Previous Thread: sorry I'm so dumb at this
- Next Thread: undefined reference errors when using C++ Sockets Library
| Thread Tools | Search this Thread |
api array arrays beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





