i tried making it an exe and it still wouldnt run it would do nothing it compiles all right but dosnt do anything when you run ill post what ive done so far please help me
Code:
#include<iostream>
#include <windows.h>
#include<fstream>
using namespace std;
int main()
{
//Create and open an input stream
ifstream in_stream;
in_stream.open("test1.exe", ios::in);
//waits for user input
cin.get();
;}
and here is test1.exe
Code:
#include<iostream>
using namespace std;
int main()
{
cout<<"hi";
cin.get();
}
thanks