Skip to content

Instantly share code, notes, and snippets.

View markusbuchholz's full-sized avatar

Markus Buchholz markusbuchholz

View GitHub Profile
#include "matplotlibcpp.h"
#include <iostream>
#include <cmath>
#include <vector>
namespace plt = matplotlibcpp;
double error{0.001};
//double number {99.0};
std::vector<int> iterX;
#include "matplotlibcpp.h"
#include <iostream>
#include <cmath>
#include <vector>
#include <tuple>
namespace plt = matplotlibcpp;
double error{0.0000001};
double number{999.0};
#include <iostream>
#include <string>
//---------------------------------------------
int funcReturnInt()
{
std::cout << __FUNCTION__ << " returns : ";
#include <iostream>
#include <string>
#include <vector>
#include <map>
//--------------------------------------------------
std::map<std::string, std::vector<int>> generateMechanism()
{
#include <iostream>
#include <tuple>
#include <vector>
//--------------------------------------------------------
std::tuple<std::string, std::vector<int>, double, int> returnSomethigFun()
{
std::string language = "C++";
#include <iostream>
#include <vector>
#include <string.h>
#include <tuple>
//--------------------------------------------------
std::tuple<std::string, std::string> separateArgsOfProcess(std::string argsXX)
{
#include <iostream>
#include <string>
#include <vector>
//g++ -std=c++17 our_own_type.cpp -o t
//-------------------------------------------------
struct Person
{
#include <iostream>
#include <vector>
//-------------------------------------------------
struct Vector
{
int x;
int y;
#include <iostream>
#include <vector>
//---------------------------------------------------------
struct PointXYZ
{
int x;
int y;
#include <iostream>
#include <cstdlib>
#include <vector>
#include <algorithm>
#include <ctime>
#include <algorithm>
//----------------------------------------------------------------------
struct Point3D