/**************************************************************** **** **** This file belongs with the course **** Introduction to Scientific Programming in C++/Fortran2003 **** copyright 2016/7 Victor Eijkhout eijkhout@tacc.utexas.edu **** **** swapname.cxx : undefined swap gets pull from iostream **** ****************************************************************/ //codesnippet swapname #include using namespace std; def swop(int i,int j) {}; int main() { int i=1,j=2; swap(i,j); cout << i << '\n'; return 0; } //codesnippet end