There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
We use -return- for return a value from a function, in this case the function is -main- that returns zero value -return 0;-, but you will understand this point when you take the “functions” topic, don’t worry about that.
The posts that you are replying to are from April, so likely they have figured out their issue by now. The issue you are having trying to type #include <iostream> is due to the way the forum marks down what you type. In order to include code in your post, please follow these guidelines: How do I format code in my posts?
I edited your original post to show your code correctly. You should also note that the user you are trying to assist had the same issue, and actually did type #include <iostream>.
Ok, thanks. I was thinking that was the case, But did not thinks that the Question was also effected. So thanks again. this is my first time posting to a form, but I did read the note on formatting. Just did not know in my head how to do it. But I will go back and learn how as I have just started learning Computer Programming Languages. My main reason for coming to you site, was to get some C Plus Plus Source code. But I have found you Free Course lesson very helpful. As a interesting note, while viewing some code and adding some code from my Open Office Write Program I Found that some thing was wrong with Open Office because when it type the keyboard character " and then some text and them "
I found that the first " was not the same as the last ". I find that very strange. I have not reported this to Open Office yet!. My Pc works fine while using your online course. so the PC!
Well Thanks again. Looking forward to more interaction on the codecademy Forums.
You are trying to run two commands on one line. You use g++ filename.cpp to compile. Then after that operation is complete, run the executable by typing ./a.out.