Institute of Computer Science
  1. Courses
  2. 2022/23 spring
  3. Programming in C++_ENG (MTAT.03.158)
ET
Log in

Programming in C++_ENG 2022/23 spring

  • Home
  • Labs
    • Submission of solutions
    • Results
  • Examination times
  • Guides
  • References

Kuidas Windowsi masinaga C++ praksis osaleda?

  • NB! See juhis on testitud Windows 10 peal.
  • Kompilaator
    • Installeeri MSYS2 ja MinGW64.
    • Vali paigaldamise koht. Ära kasuta kaustanime, milleni viivas tees on tühikuid, näiteks C:\msys64\.
    • Installeeri mingw-w64.
    • Oota, kuni värk paigaldub (kannatust, see võib hanguda kohati mõneks minutiks).
  • Käivita MinGW Shell.
  • Alternatiivina lisa C:\msys64\mingw64\bin ja C:\msys64\usr\bin oma PATH süsteemimuutujale.
  • Testi, kas käsud g++ -v ja make -v töötavad ja gcc versiooniks on vähemalt 4.8 (kõige värskem on gcc versioon 11.2.0 aga vanemad MingW paigaldused töötavad ka). Eesmärk on, et need käsud töötavad ka käsurea aknas (Command Prompt).
  • Doxygen
    • Lae alla: Doxygen Windowsi jaoks.
    • Installeeri see (piisab ainult Core Installation) endale meelepärasesse kohta.
    • Paiguta doxygen.exe MinGW alamkataloogi nimega bin (kui kasutasid vaikimisi asukohta siis C:\msys64\mingw64\bin).
    • Testi, kas käsk doxygen MinGW Shellis töötab (doxygen -v peaks näitama versiooni 1.9.3).
  • Redaktoriks sobib Visual Studio Code, millel on sisseehitatud terminaliaken.
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment