Add formatting, printing, new stl stuff, unfuck vec, change clangd styling
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
#include <collections/vec.hpp>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <std.hpp>
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
Vec<size_t>* v = new Vec<size_t>();
|
||||
v->push(69);
|
||||
v->push(420);
|
||||
size_t ft = v->pop().unwrap();
|
||||
size_t sn = v->pop().unwrap();
|
||||
printf("ft: %zu sn: %zu\n", ft, sn);
|
||||
Vec<int> v = Vec<int>();
|
||||
v.push(1);
|
||||
v.push(2);
|
||||
v.push(3);
|
||||
v.push(4);
|
||||
println("Hello!!!! {}, {}, {}, {}", "meow", 420.0, 49, v);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user