Solved

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

Posted on 1997-06-23
1
244 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
1 Comment
 
LVL 2

Accepted Solution

by:
tovergaard earned 100 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ check and remove last word from a string 5 248
Trouble linking program with -lcrypt 3 160
valid enum? 6 75
C++ :Change value from  DisableCMD registry 4 69
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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
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.

733 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