mirror of
https://github.com/VictorEijkhout/TheArtOfHPC_vol3_cppf08programming.git
synced 2026-01-24 22:44:48 +09:00
23 lines
530 B
C++
23 lines
530 B
C++
/****************************************************************
|
|
****
|
|
**** This program source is part of
|
|
**** Introduction to High-performance Scientific Computing
|
|
**** by Victor Eijkhout
|
|
**** copyright Victor Eijkhout 2011-2021
|
|
****
|
|
**** fooprog.c : simple main program using external function
|
|
****
|
|
****************************************************************/
|
|
|
|
#include <iostream>
|
|
using std::cout;
|
|
#include <string>
|
|
using std::string;
|
|
|
|
extern void bar(string);
|
|
|
|
int main() {
|
|
bar("hello world\n");
|
|
return 0;
|
|
}
|