C/CPP is all right, but you need to create a new project first. You can only have one main at a time, so you need to be able to let it compile and execute a single file
Installing a plug-in
in the Settings to find the plug-in installation, after the completion of the open folder, you first create a new Cmakelist files, and right click on the need to perform the c file
choose the bottom of the add, you will see the main function on the left side of a small arrow, direct execution
Read More:
- Clion develops STM32, adds files and compiles with an error “no such file or directory”“
- Bad file descriptor(C:\ci\zeromq 1602704446950\work\src\epoll.cpp:100)
- Info:Memory module [DIMM] needs attention: Single-bit warning error rate exceeded, Single-bit fai…
- make modules_ Install compiles the kernel driver as a module, and the location of. Ko file in the root file
- configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- How do you set, clear and toggle a single bit in C?
- Solution of command line window flashback when visual studio runs C + + program
- “Launch” appears when eclipse C + + CDT runs the program failed.binary not found”
- Solution to the segmentation fault of single chain table in C language
- Flume monitors a single append file in real time
- Vscode compiles multiple files, compiles files in subfolders
- Error when pychart terminal runs pytest: file not found:
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- RuntimeError: NCCL error in: /pytorch/torch/lib/c10d/ProcessGroupNCCL.cpp:784 torch
- When Jekyll runs, it will prompt an error. Cannot load such file — webrick (LoadError)
- The bash file written by windows runs in Linux system error
- C / C + + cannot open the source file directory, the header file is not imported, the solution is as follows
- Java uses ZipFile to decompress the zip file and runs normally under Windows. Linux reports an error
- [Android] button uses the custom drawable file to set the background, and runs “error inflating class button”
- Clion automatically adds add_ executable