r/programminghelp • • Feb 23 '19

Need help with this Mimo C++ Practice Question

Hi everyone,

I am a newbie currently using Mimo to learn some basic C++ in my free time. At the end of the section about classes, it asked me this question. I am stumped and at this point don't even know if it can be solved because I feel like I did every combination. I also think there is a typo in the code it has given me (I believe one of the "}"' must have a ";" at the end). Can anyone help me? Thanks!

3 Upvotes

8 comments sorted by

1

u/marko312 Feb 23 '19

Take a look at the void Drive() line.

Note how it differs from the following line.

Edit: great job spotting the missing ';', btw.

2

u/[deleted] Feb 23 '19

Should the void Drive() come after the string make? Sorry if this is super obvious, I'm a complete beginner and this is stumping me

2

u/marko312 Feb 23 '19

You have the function void Drive(), but no definiton or end-of-line character (;) next to it

2

u/[deleted] Feb 23 '19

Thank you! I figured it out!

1

u/kingrumble87 Mar 05 '25

Mimo had c++ teaching?!?

1

u/L-e-x-i-o-r Mar 11 '25

right ?? When/where

1

u/kingrumble87 Mar 24 '25

Ikr😭 i need this

1

u/L-e-x-i-o-r Mar 24 '25

Unfortunately, they are not going to introduce c++ into Mimo learning platform in 2025, I've asked them directly about it through email.