Here is another shot at it. It all most complier but falls short . still I know it doesn't mean its right. thanks for the help so far.
Francis Waldron
0
Newbie Poster
Recommended Answers
Jump to Posttwo problems I can see without even compiling it.
1. main() should return an integer. I know it returns 0 if no return is specified, but you should expeclitly return a value anyway.
system("pause"); } return 0;
2. Above is not inside any function.
>>#define …
Jump to PostI allready mentioned this in your other thread :
system("pause"); } return 0;
This isn't in main() nor in another function. Put this before the closing brracket from main(){}
cout << " The quoent of two numbers is"<< q <<"\n"; //put it HERE and …
Jump to PostI've commented out your mistakes and placed the correct bits where necessary. I also commented what you had wrong. Its mostly syntax errors, nothing too bad, just keep a eye out for these things. Also, always make sure your main() returns a 0. You had this code, but right down …
All 11 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Francis Waldron
0
Newbie Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
may4life
2
Junior Poster in Training
iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
may4life
2
Junior Poster in Training
iamthwee
iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.