Biblioteka koja sadrzi popis pitanja za kviz.
Diff: pitanja.h
- Revision:
- 0:09b699402cdc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pitanja.h Wed Feb 05 22:31:06 2020 +0000 @@ -0,0 +1,29 @@ +#include "mbed.h" +#include <string> +#include <vector> + + +class Pitanje +{ +private: + string pitanjeA; + string pitanjeB; + string odgA; + string odgB; + string odgC; + string tocanOdg; + +public: + Pitanje(string pitanjeA,string pitanjeB, string odgA, string odgB, string odgC, string tocaOdg); + ~Pitanje(); + + static std::vector<Pitanje> init(); + + string getTocanOdg(); + string getOdgC(); + string getOdgB(); + string getOdgA(); + string getPitanjeA(); + string getPitanjeB(); + +}; \ No newline at end of file