?
Solved

Compiling a C program made for MS C++ under Borland C++

Posted on 1997-06-23
1
Medium Priority
?
247 Views
Last Modified: 2012-05-04
What are the differences between MS C++ and Borland C++. I have got a program written in MS C++ and want to compile under Borland C++. I get errors about wrong placement of the far command which I assume are for pointers. Also could you give me an email address which  I can then email you the source code. Because this is really confusing me.
0
Comment
Question by:mystic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
tovergaard earned 200 total points
ID: 1251618
When you move a source code between MS C++ and Borland C++, you must ensure you make the correct compiler settings (options).

Options such as, plattform (16/32 bit), memory model, and many others. I have moved sourcecode between these two compilers without any problems - but I had to set the options correct.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question