且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C ++中的双复杂类型

更新时间:2022-04-25 17:49:44


我在Linux中编写,编译和运行C ++应用程序类。现在我需要在Microsoft Visual Studio 2017中完成它,我的意思是我需要在Visual Studio中编译这个软件。我用Google搜索并复制了各种建议,但到目前为止还无法编译
。我现在似乎需要为System.Numeric.dll安装一个dll。我找不到它。

I have classes of C++ applications written, compiled and run in Linux. Now I need to do it in Microsoft Visual Studio 2017, I mean I need to compile this software in Visual Studio. I googled and copied various suggestions but so far could not compile anything. It seems now I need to install a dll for System.Numeric.dll. I cannot find it.

我认为你需要陈述 您正在构建的项目类型 ,以及
并显示一些无法编译的实际代码。



使用System.Numeric.dll.you似乎正在尝试使用CLR,其为"
"用于"托管" C ++,C ++ / CLR。如果是跨平台代码,您可能需要构建一个C ++ Win32控制台应用程序项目 ,并且这个:b


复杂< double>

https://msdn.microsoft.com/en-us/library/25yefwd9.aspx
$


- Wayne

I think you need to state which type of project you're building,
and show some actual code that doesn't compile.

With System.Numeric.dll.you appear to be trying to use the CLR which is
for "managed" C++, C++/CLR. If it's cross-platform code you probably
should be building a C++ Win32 Console application project and this:

complex<double>
https://msdn.microsoft.com/en-us/library/25yefwd9.aspx

- Wayne