When encountering the error: strain ‘,’241’,’343 ‘in program
An error is a compilation error in C/C + +.
The error refers to the source program has illegal characters, illegal characters need to be removed. Generally, the coder uses Chinese input method or directly copies and pastes the code from other places. Chinese space, Chinese quotation marks and various Chinese punctuation marks appear in the code.
Solution:
open the error file in Notepad and save it in ANSI format. You can see that some unrecognized characters become garbled.
1. Delete the space in the wrong line and the space before and after it, and try again
2. Change the color that is obviously different from other punctuation marks( Most compilers have color recognition)
3. If the code is relatively short, it is recommended to re type it all
Read More:
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- A solution to the problem of “straight ‘\ 357’ in program” when compiling GCC
- Solution to stray’\357′ in program when gcc is compiled
- Solution of no response of progress bar in MFC program
- The perfect solution of VS2010 console program running in a flash
- Error in pyinstall package Python program: jinja2.exceptions.templatenotfound: Chart_ Solution to component.html
- Solution: how to set program permission as administrator permission in vs2019
- Error: stray ‘- 239’in program solution
- Solution of vs program flashback problem
- Solution to the flash of visual studio 2017 running program
- C language error: stray ‘\ 240’ in program|
- error: stray ‘\240’ in program
- The solution of flashing back after the end of console program running
- Solution to the flash of visual studio console program output window
- Visual studio 2017, OpenGL program running prompt glut32.dll missing solution
- error: stray ‘\302’ in program
- Cannot run program “git.exe”: CreateProcess error=2 the correct solution
- The solution to the black window flash of running program on Visual Studio
- Solution of command line window flashback when visual studio runs C + + program
- Solution to flash back of visual studio 2017 running program