mirror of
https://github.com/Andreabont/CppExperiments.git
synced 2024-09-19 15:23:05 +00:00
17 lines
297 B
C++
17 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;
|
||
|
}
|