mirror of
https://github.com/Andreabont/CppExperiments.git
synced 2025-07-12 02:25:07 +00:00
16 lines
297 B
C++
16 lines
297 B
C++
#include <iostream>
|
|
|
|
#include "SpMatrix.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
SpMatrix<int> test = {
|
|
{1,2},
|
|
{3,4,5}
|
|
};
|
|
|
|
std::cout << "(" << test.getX() << "," << test.getY() << ")" << std::endl;
|
|
std::cout << test.getStr() << std::endl;
|
|
|
|
return 0;
|
|
}
|