C ++中的双复杂类型

编程入门 行业动态 更新时间:2024-10-25 20:21:50
本文介绍了C ++中的双复杂类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,

我的操作系统是Windows 10.硬件:HP Pavilion。我有在Linux中编写,编译和运行的C ++应用程序类。现在我需要在Microsoft Visual Studio 2017中完成它,我的意思是我需要在Visual Studio中编译这个软件。我用google搜索并复制了各种建议,但到目前为止还无法编译任何内容。现在看来我需要为System.Numeric.dll安装一个dll。我找不到它了。一个软件需要预装另一个软件,等等。为什么微软的一切都如此复杂?那么问题是如何获得该dll?

My OS is Windows 10. Hardware: HP Pavilion. 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. One software needs another software preinstalled, etc. Why is it that everything is so complicated in Microsoft? So the question is how to get that dll?

#include< complex>不起作用。我的意思是这个声明编译,但我不能使用复杂的< double>例如,这就是我需要的。

#include <complex> does not work. I mean this very statement compiles but I cannot use complex<double> for instance and this is what I need.

谢谢。

推荐答案

我在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> msdn.microsoft/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> msdn.microsoft/en-us/library/25yefwd9.aspx - Wayne

更多推荐

C ++中的双复杂类型

本文发布于:2023-11-16 16:00:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1605745.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:类型

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!