Visual Studio编译器

Visual Studio编译器

问题描述:

大家好.

我正在使用Visual Studio(vc ++)2005.在vc ++中,我试图运行为linux系统编写的c代码.该程序是普通的c指针编码.

编码在linux系统上运行非常好.但是,当我尝试在vc ++ 2005上运行它时.输出来了,但是输出不正确,就像在linux中一样.

我不知道问题出在哪里.如何解决?

是否可以将vc ++编译器更改为linux编译器?

请给出答案.我很担心.



预先感谢,

BALA MIB. :confused::confused::confused:

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:

您确实了解Linux不是 Windows ,除了以下内容,您不应期望其他任何东西无需考虑任何差异就能进行交叉编译的最原始代码?
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?