[RESOLVED] Very Basic System Pause problem
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:
#include "stdafx.h"
#include <iostream>
#include "ffs.h"
using namespace std;
int main()
{
return 0;
cout << ffs(3,3);
system("pause");
}
code for ffs.h
Code:
int ffs(int x, int y)
{
return(x + y);
};
Re: Very Basic System Pause problem
How do I delete threads? Just realised return 0.........