Thread: differences between Borland and Microsoft

  1. #1
    Visual Studio
    Guest

    differences between Borland and Microsoft

    Hey, I'm having problems dealing with some of the differences between Borland and Microsoft. I used to use Borland for writing apps but now I've had to use Microsoft and I have noticed that my code won't run now because Microsoft does not seem to support clrscr() or gotoxy(). Can anyone help me?

    Please email me at [email protected] if you can help.

  2. #2
    Registered User unixOZ's Avatar
    Join Date
    Feb 2002
    Posts
    91
    I havent really programmed much on Windows, but Ive used Visual C++ and Borland C++, and (at DOS programming level) the main difference I saw was that VC++ didnt have has many libraries (like conio.h and graph.h). However, VC++ is for building Windows GUIs

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    conio.h is included with msvc
    PHP and XML
    Let's talk about SAX

  4. #4
    Registered User unixOZ's Avatar
    Join Date
    Feb 2002
    Posts
    91
    At least in version 5 It didnt

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    ah i c, sorry about that

    and in resonse to visual studio (the poster ) You can put any of your borland include files into your msvc folder and use them.
    PHP and XML
    Let's talk about SAX

  6. #6
    Registered User unixOZ's Avatar
    Join Date
    Feb 2002
    Posts
    91
    Thats a good tip, I had no idea (unfourtunatelly I dont have Windows any more) hehehe

  7. #7
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by Waldo2k2
    ah i c, sorry about that

    and in resonse to visual studio (the poster ) You can put any of your borland include files into your msvc folder and use them.
    You'll also need the libraries. Header files only contain declarations, so you will get lots of unresolved external errors if you forget them.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  8. #8
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Magos is correct. Although Borland and VC++ are mostly the same any slight deviation could result in an error. As far as header files are concerned it is always safe to transplant (for lack of a better word) headers when a header only contains constant definitions (like #define EOF (-1)). Function prototypes are an entirely different story. For example, I think VC++'s clrscr() is _clrscr() (if it isn't clrscr it is some other conio function) which represents an obvious problem.

Popular pages Recent additions subscribe to a feed