Winter operations 1: practice title

Practice questions

1. Check your C ++ compiler version


Just started doing this task when it came to little obstruction, originally did not add due to environmental variables.
Then it relatively easy matter, cd look to find the file, you can enter g ++ -v

2. Use the command line to compile a C language / C ++ code.

After installing MinGW configured, create a text document to write the code

and then click on the command line cd file where the path
using gcc filename command to compile source files

generated by default a.exe files can be directly executed

Guess you like

Origin www.cnblogs.com/Horizonxr/p/12234530.html
Recommended