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

Programming in C++ 2019/20 spring

  • Pealeht
  • Praktikumid
    • Lahenduste esitamine
    • Tulemused
  • Eksamiajad
  • Juhendid
  • Viited

Mida lahendustega kaasa panna?

Üldised nõuded

  1. Paki lahendus kokku zip-failina. Sobib ka tar.gz, tar.bz2, kui eelmiseid saada pole, siis rar.
  2. Lae lahendus üles veebilehele. Meili teel lahendusi vastu ei võeta. Link on vasakul menüüs.
  3. Ära jää hiljaks.
  4. Ülesanded on lihtsad. Tee oma lahendus ise. Võid küsida abi, aga ära võta teise tudengi koodi.
  5. Kui kasutad koodi internetiallikast, siis pead lisama koodifailile viite allikale.

Sinu lahenduses peaksid olema

  1. Lähtekood (*.c/*.cpp failid (vastavalt sellele, kas C või C++ keelne programm). C-keelsed programmid peaksid tingimata olema .c laiendiga ja C++ programmid .cpp laiendiga.
  2. Päised (*.h failid)
  3. Makefile
  4. Doxyfile (Doxygeni konfiguratsioonifail dokumentatsiooni tekitamiseks)

Sinu lahenduses ei tohi olla

  1. Valmisprogrammi (.exe)
  2. Objektfaile (.o)
  3. Väliseid teeke (.a, .so, .dylib, .dll)
  4. Genereeritud Doxygeni kommentaare (html/latex/etc kaustad)
  5. Muud pahna.

Ülesandeid kontrollides käitun nii:

  1. Pakin ZIP-arhiivi lahti.
  2. Ütlen 'make'
  3. Ütlen 'doxygen'
  4. Testin programme ettevalmistatud testskriptidega, mis tähendab, et programmi väljund peab olema samasugune ülesandes kirjeldatuga
  5. Huvi või kahtluste korral loen lähtekoodi

Pärast kompileerimist tahan nähtavas kohas leida:

  1. Käivituva programmi (ülesandes ette nähtud nimega fail)
  2. Dokumentatsiooni (kontrollin html-kuju olemasolu). Dokumenteeritud peavad olema funktsioonid, parameetrid, võimalikud tagastusväärtused, klassid ja muud nimega sümbolid.
  • 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