You are viewing a single comment's thread from:

RE: SLC21 Week1 - Learn more about variable types. Subroutines. Practice problems.

in #slc21w1sergeyk29 days ago

Well, since I didn't use my system (PC) to run the code, because my system is faulty which I took for repair, I thought sharing the code would be helpful because screenshotting it via phone to share wouldn't be fully displayed. Thanks for your suggestions

Sort:  

the problem is different, the code doesn't compile, so you can't check if the program is correct or not. for example, you get an error on cout, then you should either write std::cout or at the beginning of the program write using namespace std
In other tasks, you compile a part of the code, not the whole program, and you see a message that there is no main() function, while it is required