Im a very beginner coder and I used Borland C++ BuilderX to write a program. Since C++ BuilderX doesnt do GUI stuff(But is awesome for writing code) I downloaded Microsoft Visual C++ Express which is great for the GUI stuff. Now when I try to include my BuilderX coded program in Visual C++ I get a boatload of errors, there were no errors in BuilderX. I think most of the errors are related to ifstream and sprintf.
heres some snippets of how I coded it
In the program I deal with 2 files and I used different methods to open each, on the one I used ifstream and the other I used fstream. Im very new to this stuff so I dont know what a lot of this means but I figure stuff out as I go and the program works in a C++ BuilderX console setup.Code:#include <fstream.h> #include <stdio.h> #include <conio.h> #include <iostream.h> #include <stdlib.h> ifstream logfile( "1000.csv" ); char log = "file.bin"; ... logfile.getline(buffer, 250); ... fstream outbin(log, ios::out|ios::in|ios::binary); ... outbin.seekp(0x00000932); ... outbin.put(BinOut[i][n]); ... sprintf(del,",");