+ 1
I got stuck
I thought I knew something but I know nothing, got stuck in a practice lesson, and don't know what to do. Is there a way to check the answer to find out what is wrong, if not how do I reset my account to total beginner?
5 Answers
+ 3
Read the examples carefully and check the spelling: it is "cout", not "count"
+ 2
You can re-view the previous lessons as often as you like. If you get stuck, read the lessons again.
+ 2
Thanks for the reply, Lisa
I did it many times but here's the issue:
When I run the system returns "count was not declared on this scope". I don't get it, I haven't learned how to declare yet
#include <iostream>
using namespace std;
int main() {
//print "C++ is cool"
count <<"C++ is cool";
return 0;
}
+ 1
Oh, Christ!
Thank you Lisa for your time
+ 1
G'day Thiago you are well on your way to becoming an excellent programmer, debugging is essential, you have started practicing already!
Checking your code for things the compiler doesn't find is often the hardest debugging to do. Keep trying and it will become comfortable. You can do this!!!