Skip to content

Instantly share code, notes, and snippets.

@adamduster
adamduster / Foo.cpp
Created July 17, 2019 00:44 — forked from Luthaf/Foo.cpp
Calling C++ from Fortran
#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(){