This is a split board - You can return to the Split List for other boards.

Can someone familiar with C++ help me with these problems?

#11CC RicersPosted 9/3/2013 9:19:47 AM
JESSE_PlNKMAN posted...

- making instances is basically "Car * myCar = new Car(2020, "Eclipse", 88)".

Also remember that if you're going to do this, you gotta do your own garbage collection in C++ with "delete".
WikiLeaks scandal: WikiLeaks is not a true Wiki!
#12JudgmenlPosted 9/3/2013 9:21:54 AM
JESSE_PlNKMAN posted...
Uh Judgment,

"int tmp+=numbers[i];"

is incorrect. Perhaps you should test out your code in your own IDE before posting... you also have a typo at "in numbers[]". Also using "lel" outside of its home site is considered cancerous.

Oh look I made a typo for trying to give someone the answers without actually trying.
`1337_FF_GoD` - Presenting the 5DS - Video Games on Motorcycles - Tanks Nade!
#13JudgmenlPosted 9/3/2013 9:25:02 AM
And lolwow PCH so but hurt I made typos.
`1337_FF_GoD` - Presenting the 5DS - Video Games on Motorcycles - Tanks Nade!
#14Ch3wyPosted 9/3/2013 9:32:43 AM
It can be really frustrating for a beginner programmer to get wrong examples when they're trying to figure out things.
Every time you point out that something is an opinion Jesus shoots a kitten in the face.
#15Tony_Biggie_Pun(Topic Creator)Posted 9/3/2013 9:36:12 AM
Thank you everyone. I'm going to try and figure them out for myself, but it's really nice to have the answers pre done in case I don't figure it out before the deadline. Thanks a lot Judgmenl

Ch3wy posted...
It's really crucial that you understand how to do these rather than just find the answers.

Not being able to find out the first one is really bad. What are you having trouble understanding here?

Number 1 didn't look hard so I skipped that and tried to focus on the one I didn't know (#3) after skimming the question. I copypasta'd the whole assignment though just cause

Nineteen99 posted...
If your professor (I assume this is a college course?) isn't available, you can check this website out to learn:

Like Soulesskiller21 said, I doubt all this was covered in one day. So try contacting your professor to see what you missed, and look that stuff up on Cprogramming.

Thanks a lot for that link. It's probably gonna come in really handy