Error running in Atom text editor

Asked

Viewed 111 times

1

The program when executing the following error http://prntscr.com/m42sl8 I know it has something to do with the variables, but I don’t know what to put there. I already made the process of C: Mingw bin but now of this problem, I use Windows 10, any help thank you.

  • Welcome to SOPT. Place the image directly in the post, something else, have you tried compiling directly through the terminal? I noticed your file is named sem titulo, from what you can understand, he’s trying to execute this as a command, which causes this error in the word "without".

  • Really it was the "without" that was causing trouble, thank you very much!!!!

  • Well, if you’ve decided I’ll post as an answer so that you can accept and be registered for the future.

1 answer

1


If you have not yet tried compiling from the/prompt terminal, this is a good way to check the compile string problems. Your file is named sem titulo, the error is in the word "without", as it is trying to execute it as a command.

To compile via terminal/prompt use: g++ -o nome_do_arquivo.cpp nome_do_exe.exe -Wall, the -Wall will be useful to show better any error in the code in case there is any.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.