This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "matplotlibcpp.h" | |
#include <iostream> | |
#include <cmath> | |
#include <vector> | |
namespace plt = matplotlibcpp; | |
double error{0.001}; | |
//double number {99.0}; | |
std::vector<int> iterX; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "matplotlibcpp.h" | |
#include <iostream> | |
#include <cmath> | |
#include <vector> | |
#include <tuple> | |
namespace plt = matplotlibcpp; | |
double error{0.0000001}; | |
double number{999.0}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
//--------------------------------------------- | |
int funcReturnInt() | |
{ | |
std::cout << __FUNCTION__ << " returns : "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <map> | |
//-------------------------------------------------- | |
std::map<std::string, std::vector<int>> generateMechanism() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <tuple> | |
#include <vector> | |
//-------------------------------------------------------- | |
std::tuple<std::string, std::vector<int>, double, int> returnSomethigFun() | |
{ | |
std::string language = "C++"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <string.h> | |
#include <tuple> | |
//-------------------------------------------------- | |
std::tuple<std::string, std::string> separateArgsOfProcess(std::string argsXX) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
//g++ -std=c++17 our_own_type.cpp -o t | |
//------------------------------------------------- | |
struct Person | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
//------------------------------------------------- | |
struct Vector | |
{ | |
int x; | |
int y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
//--------------------------------------------------------- | |
struct PointXYZ | |
{ | |
int x; | |
int y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
#include <vector> | |
#include <algorithm> | |
#include <ctime> | |
#include <algorithm> | |
//---------------------------------------------------------------------- | |
struct Point3D |