I have trouble approaching my program assignments. First I write out an algorithm. and work out each part if the program. Then I get nervous. and overwhelmed. with the errors in compliling and such. I have been working on the current assignment several days. And am frustrated and 2nd guessing myself. Feeling very stressed at this point.
advice?
clski1973 0 Newbie Poster
Recommended Answers
Jump to PostWelcome to the world of programming.
All I can say is: it gets better.
The C++ compiler (especially with the STL) is not a very sympathetic complainer. Show us what you've done: algorithm, code, errors, etc. and we'll help you think your way through it.
Don't feel …
Jump to PostYour problems are mostly syntactic, not logical (which is good).
When you declare something you give its type. So, for example, you can declare a double as:
double test1;
You can likewise declare a function as:void test_score (double& test1, double& test2, double& test3)
You must declare …
Jump to PostWhat I'd do is program one step at a time. Using your last description,
Start by writing an empty
main()
Then write "1. a void function to read in the three test scores and pass them back to main as reference parameters." Test this by outputting the parameters after …
All 10 Replies
Duoas 1,025 Postaholic Featured Poster
clski1973 0 Newbie Poster
clski1973 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
clski1973 0 Newbie Poster
clski1973 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
clski1973 0 Newbie Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Duoas 1,025 Postaholic Featured Poster
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.