This commit is contained in:
2026-03-18 00:46:30 -07:00
commit 56b1607ec5
316 changed files with 266132 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;
}