English 中文(简体)
从C++获得投入 加入另一个C++方案
原标题:Taking an Input from a C++ Gui into another C++ program

目前,我正在开发一个C++方案,该方案采用所有数学计算方法,向国际发展部阅读器扫描的屏幕印刷项目,并允许用户选择付款方法。 (基本上使用国际发展部标签取代条码)

我已开始撰写我的C++代码,以备进入键盘,并不知道如何从我的国际发展部读者那里输入我的节目。 我的国际发展部的读者来自一些电解软件和司机。 我上周用“demo”软件(使用Microsoftudio)的窗口7开展工作。

我的问题是,我能否听取我的民主全球倡议的意见,以及我如何把这作为对我的C++方案的投入? 如果我能通过联系人、点人、阅读材料把我推向正确的方向?

我也有基本的C++经验。 我正在教授自己如何在C++中进行规划,现在只了解印刷品,而休息时间、开关/发包、数学功能等。

问题回答

这是一个非常具体的问题,即该供应商的硬件和软件是非真实的一般知识。 然而,这些类型的装置,在我以往关于商法阅读器的经验中,通常都有随同的驱动力,使你能够将其设置为实际的关键板(例如,你甚至可以进入文字编辑,并记录编码)。 如果你可以这样作的话,那么读一下就不过是看不了。 例如,cin;>stringVariable;

假设你在C++中拥有脱轨软件:

德莫软件应当与一个或一个以上与demo有关的图书馆连接,并包括一个在图书馆宣布功能的负责人。 你们必须(至少)把这一头盔和与同一图书馆的联系包括在内,并利用这些图书馆。 辩论会有助于你理解你需要发挥哪些职能和如何工作。

As already said it is very dependent on how they want you to use it but some general guide lines.

Look for header file that came with their demo ( ends in ".h" or ".hpp") you will need to #include that in your project at the very minimum

Look for a .lib file. you will need to link that to your file. With gcc you would type something like G++ -l[libname]. With MSVS there are two ways i know of. You will need to right click the project in the sidebar. Click something like options or preferences. Expand linker options. Add the library. or you can type #pragma comment(lib, "filename.lib") in your file near your includes

如果存在“窗户”或“(β)”档案,你可以动态地连接。 有许多办法可以做到这一点。 谷歌搜索C++动态链接图书馆应当有所帮助。 作为一个新来者,首先试图遵守《法定联系》。 这将是寻找的另一个良好关键词。 对发现的窗口动态连接的最好辅导实际上是在组装上。 但是,它的所有Win32职能都要求任何途径,以便不易理解。 rel=“nofollow”>Icz DL tutorial





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签