Borland Turbo C++ 3.0 <windows.h> will not open?

diamonddrago

Member
Oct 13, 2009
4,865
117
0
In the attic...
A friend of mine gave me a .cpp project he wrote for me, in it he included the windows.h include header.

When i try to compile the code i keep getting "unable to open include file windows.h"....

i am running windows Xp sp3.....please help.....
 

diamonddrago

Member
Oct 13, 2009
4,865
117
0
In the attic...
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
#include<string.h>
#include <stdlib.h>
#include <windows.h>

void password(void);
void header(void);
void _exit(int status);
void Exit(void);
void AddRecords(void);
void border(void);
void AddBill(void);
void AddCustomer(void);
void AddPayment(void);
void SearchRecords1(void);
void month(void);
int Confirm(void);
void DisplayPayments(void);
void MainMenu(void);
void EditCustomer(void);



He has compiled this and it works.....:nerd::nerd:
 

kasuncs

Well-known member
  • May 21, 2007
    3,590
    271
    83
    I recomend you to use Microsoft VC 6 Compiler or Later edition of Borland Later version. Sometime you may using a compiler which is very old.
    Code is seems to be written in C.