consolidate all repos to one for archive

This commit is contained in:
2025-01-28 13:46:42 +01:00
commit a6610fbc7a
5350 changed files with 2705721 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
#include <iostream>
#include "Artwork.h"
#include <string>
int main() {
std::cout << "Hello, World!" << std::endl;
Artwork a("nikola", "nik", "pet", 20, 15);
Artwork b;
std::string name = "lag";
std::string tit = "dsla";
std::string des = "pet";
int pri = 33;
int ye = 66;
b.setAuthor(name);
b.setTitle(tit);
b.setDescription(des);
b.setDescription(des);
b.setPrice(pri);
b.setYear(ye);
std::cout << a.toString();
b.print();
Artwork f(a);
f.print();
Artwork *c = new Artwork;
Artwork *d = new Artwork("jan", "andz", "novak", 34, 75);
c->setAuthor(name);
c->setTitle(tit);
c->setDescription(des);
c->setDescription(des);
c->setPrice(pri);
c->setYear(ye);
d->print();
std::cout << c->toString();
std::cout << f.getAuthor() << "\n";
std::cout << a.getTitle() << "\n";
std::cout << b.getDescription() << "\n";
std::cout << c->getPrice() << "\n";
std::cout << d->getYear() << "\n";
delete c;
delete d;
return 0;
}
//string Avto