Skip to content

Instantly share code, notes, and snippets.

@adamduster
adamduster / Foo.cpp
Created Jul 17, 2019 — forked from Luthaf/Foo.cpp
Calling C++ from Fortran
View Foo.cpp
#include "Foo.hpp"
#include <iostream>
using namespace std;
Foo::Foo(int _a, int _b): a(_a), b(_b){
cout << "C++ side, constructor" << endl;
}
Foo::~Foo(){