Skip to content
Snippets Groups Projects
Commit 3077e97e authored by Vojtěch Novotný's avatar Vojtěch Novotný
Browse files

priklad01

parent 9a58bfe1
No related branches found
No related tags found
1 merge request!2DU
#include <iostream>
class TridaA
{
// atributy (data)
// metody(funkce)
public:
int hodnota;
};
struct TridaB
{
};
int main()
{
TridaA a;
a.hodnota = 10;
std::cout << "a.hodnota = " << a.hodnota << std::endl;
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment