Hi I am having problem in porting my code from borland C++ to visual C++ 6.0
As i understand there are two type of Bool one for c and one for C++ named as bool and BOOL however VC6 is having problem recognising BOOL ?? Are there any additional headers or library nodes which i have to link furthermore the following fcode returns an error
The following statements return errors:
fstream file_update(UpdatePath,ios::out);
MyFile.seekg (0,ios::end);
The headers which i have already included are:
#define _WIN32_WINNT 0x0500
#include "windows.h"
#include <iostream.h>
#include <winsock2.h>
#include <conio.h>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <dirent.h> //I had to copy this header ito visual C++
#include <process.h>
#include <fstream>
#include <io.h>
#include <sys/types.h>
#include <sys/stat.h>