Current location - Education and Training Encyclopedia - Educational institution - How to run the second-level C language programming problem of future education computer without flashing?
How to run the second-level C language programming problem of future education computer without flashing?
You didn't add a breakpoint.

There are two ways. One is to change the program and ask for input before the end, such as: getchar (); Or adjust the system ("pause"); Method two, do not change the program, call the method instead, and do not double-click directly.

C language is a general computer programming language, which is widely used. The design goal of C language is to provide a programming language that can compile and process low-level memory in a simple way, generate a small amount of machine code and run without any support of running environment. Although C language provides many low-level processing functions, it still maintains good cross-platform characteristics. C language programs written in standard specifications can be compiled on many computer platforms, even including some embedded processors (single chip microcomputer or MCU) and supercomputers.