c-resources/CPlusPlus20ForProgrammers-m.../examples/vector/main.cpp

15 lines
232 B
C++
Raw Normal View History

2024-06-10 10:16:58 +00:00
#include "shapes.h"
#include "vector.h"
2024-06-10 10:30:07 +00:00
#include <vector>
2024-06-10 10:16:58 +00:00
int main(){
2024-06-10 10:30:07 +00:00
// myspace::vector<double> a(10,5.0);
// std::cout<< a[0] << "\n";
2024-06-10 10:16:58 +00:00
2024-06-10 10:30:07 +00:00
// myspace::vector<Cube> b(10,Cube());
std::vector<Cube> c(10,Cube());
2024-06-10 10:16:58 +00:00
return 0;
}