Shell – Use cmake.exe and devenv.exe to build CPP project

Initial developing environment: “C:Program Files (x86)Microsoft Visual Studio 12.0VCvcvarsall.bat” x86 Use cmake to generate a project file. E:projectprivatedoubleView2>cmake ./ — Building for: Visual Studio 16 2019 — Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134. — The C compiler identification is MSVC 19.21.27702.2 — The CXX compiler identification is Read more…

Shell Script Practice Set 1

notes ${} 和 $[] $[expression] can calculate easily. ${expression} can tell us the value of a element in array. eg val1=23 val2=24 echo $val1+$val2 echo $[$val1+$val2] #it is equal to `echo $(( $val1+$val2 )` [edemon@CentOS workspace]$ ./incalc.sh 23+24 47 assign values to array. array=(`echo {1..10}`) echo ${array[0]}” “${array[9]} [edemon@CentOS workspace]$ Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X