mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
20 lines
258 B
C++
20 lines
258 B
C++
|
|
#include <string>
|
||
|
|
#include <iostream>
|
||
|
|
#include <iomanip>
|
||
|
|
#include <stdio.h>
|
||
|
|
#include <stdarg.h>
|
||
|
|
|
||
|
|
extern "C" {
|
||
|
|
void fortranfunction_ (int* count);
|
||
|
|
}
|
||
|
|
|
||
|
|
int main (int argc, char** argv) {
|
||
|
|
|
||
|
|
int count = 10;
|
||
|
|
|
||
|
|
fortranfunction_(&count);
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
|