Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello to everyone.

I'm using visual studio (vc++) 2005. In vc++, i'm trying to run c code that written for linux system. The program is a normal c pointer coding.

The coding runs very fine on linux system. But when i trying to run it on vc++ 2005. The output comes but not correct output as in linux.

I don't know where the problem reside. How to solve it?

Is there any option to change the vc++ compiler to linux compiler?

Please give the answer. I'm worried.



Thanks in advance,

BALA MIB. :confused: :confused: :confused:
Posted
Comments
Richard MacCutchan 22-Jul-10 11:53am    
Why not post an extract of your code (the bit that does not work) and maybe someone can help you? There is no way we can guess what the code is trying to do and thus diagnose it.

1 solution

You do understand that Linux is not Windows and that you should not expect anything other than the most vanilla of code to cross-compile without having to attend to any differences there may be?
 
Share this answer
 
Comments
Sauro Viti 22-Jul-10 10:07am    
From what he said, I think it is just a little application (probably homework) written in ANSI C/C++
If I'm wrong I really don't imagine how it's possible that he could compile his code on both the OS!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900