Basically I have two files ffs.h and stupid_headers.cpp
I'm testing this because I cannot get headers to work in my main application.
When I run this application system("pause") is completely skipped, why is this?
Code for stupid_headers.cpp
code for ffs.hCode:#include "stdafx.h" #include <iostream> #include "ffs.h" using namespace std; int main() { return 0; cout << ffs(3,3); system("pause"); }
Code:int ffs(int x, int y) { return(x + y); };


Reply With Quote