- 3
I write a code in vs cod compiler, my code is right bt output comes error why?
I'm bca first year student , i dont know more about that
18 ответов
+ 3
what the error says?
+ 3
Martin Taylor Respect for being so patient. He did state that the hello world program runs, but it‘s really hard to tell from the waay he writes.
Yogesh Rajput did you install a compiler. Is a hello world program (or Martin Taylors test program) really running successfully?
+ 3
made your code from playground run. not sure if you meant it. as Martin taylor said, it had illegal white space characters
https://code.sololearn.com/cdiErAhjmPIu/?ref=app
+ 2
Install an extension in VS code "code runner"
+ 1
Language not defined or probability something,
Actually hello world code is run, but if i started to any numerical code like add, sub, while loop, for loop then got error
+ 1
What is terminal? When program run their error has come in terminal panel, not in code panel
+ 1
Yogesh Rajput as already told by other people here, your code along with error message generated by the compiler is required in order to understand what is the problem.
Provide them in your question description here.
1) for code snippets, you can use code playground to copy paste the entire program and share the saved link here.
2) otherwise if you are using app then you can also create a post containing the pic of the code and error it is generating
3) if you are for some reason not able to do either then just copy pasting the error message will also help solving your problem.
0
Can i share my screen with you
0
I use vs code compiler
0
Doesn't run in only vs code, any other places it run successfully
0
John Doe yes did
0
Arsenic thanks i do as says
0
Anmol Pal it's already installed
0
what c compiler did u use?clang/gcc/etc..
0
Lily Mea code runner
0
Yogesh Rajput
I already gave an answer in the comments of your code "Binary No":
You copied the code from another editor, right?
Doing that, you also copied all the invisible characters that are shown in the other editor.
They cannot be seen here, but trigger an error on the SoloLearn Playground ...
Just replace all your blanks with regular 'Space' blanks and it will run without error!!!
Don't forget to also replace the blanks from the blank new lines!
- 1
I'm new so i don't much about it, now exams are come pass, and colleges are closed so no any source to solve a problem youtube is help sometimes