Skip to content

Instantly share code, notes, and snippets.

@Luthaf
Luthaf / Foo.cpp
Last active January 6, 2025 17:17
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(){