This commit is contained in:
2025-07-02 00:07:49 -07:00
commit c208c6b35d
114 changed files with 71862 additions and 0 deletions

19
cpp/structs.cpp Normal file
View File

@ -0,0 +1,19 @@
#include <iostream>
#include <string>
using namespace std;
struct dog {
int age;
int weight;
string color;
string name;
};
int main() {
dog atlas;
atlas.age = 7;
atlas.weight = 77;
atlas.color = "black";
atlas.name = "Atlas";
cout << atlas.color << endl;
}