Compiler course glitch?

Hey guys i’ve tried to do the C++ Course but it’s not letting me compile or execute code, it’s just blank, i mean i could leave it like that and move on, but it’ll porb be a headache later.


https://www.codecademy.com/learn/learn-c-plus-plus

Welcome to the forums!

You need to use the commands (g++ spell.cpp and ./spell.cpp) in the command line (the rightmost of the three panels on the site) rather than write them in your code editor.

Also note that rather than ./spell.cpp you should be using the .out file extension because that’s the compiled file (or the executable file’s name, depending on where you are in the course).

1 Like