Home  >  Q&A  >  body text

c++ - 我想学个PC桌面级程序,学什么好?

之前我接触过 按键 office 的vba,
对vb 也有一定了解了,
也学了部分,php JavaScript

我想自己写点小程序exe,不是为了商业,就是为了自己玩玩;
要求有独立的界面,不需要在使用的客户端安装环境包,

主要是给 图片 加个logo 了;
转个二维码;
或者转个图像格式;
批量修改个文件名什么的;
修改个文件的utf编码什么的;

其实加个logo 转二维码,转图片我用 按键精灵 也能做;但是都是别人做好的 dll,我记住他的提供的函数, 我也不知道他怎么弄的,什么原理,而且界面也不漂亮,功能也不够随心所欲;

我学个什么就能做一个功能强大,界面漂亮的软件?
我就是玩玩,我不想学java 因为客户端每次还得安装环境包,配置环境什么的;
当然楼下说的装进安装包也是可以的,

比如Photoshop 3dsmax 这些安装的时候,装了就能用;

还有一些,如 UGNX,Android 虚拟机,你安装之前,还得下个 Java包,先安 java 包;

我想做成 photoshop ,安装完了就能用的;

C? C++? C# VC??

伊谢尔伦伊谢尔伦2714 days ago581

reply all(7)I'll reply

  • 黄舟

    黄舟2017-04-17 13:36:24

    C, C++, and C# can be understood as languages, and VC is a class library. From the actual usage situation, C is basically incapable of making GUI, because even if you have strong C ability, from a development perspective, you always need to call class libraries encapsulated by others, and there are very few pure C class libraries or GUIs. , based on your needs and description, I personally think C# is more suitable for you.
    1) C# has the advantage of very low learning cost and concise syntax. Personally, I think the syntax is cleaner than Java. There are many ready-made and built-in class libraries. When you do actual development, in addition to GUI class libraries, many Other class libraries are required, such as XML parsing, network, database, etc. C# has very rich resources and built-in modules in this regard, and the latest version of C# can also directly compile native code without the need for a .Net environment. That is to say, it is no problem to install directly without installing the .Net environment. The latest VS2015 even supports the development of Android and iOS. See here http://blog.csdn.net/aofengdaxia/article...
    The disadvantage is Basically, programs can only run on Windows. Although there is WINE that claims to support Linux, it is also a mess.

    2) VC is the previous generation C++ development class library. The advantage is that it is perfectly adapted to old systems such as A redundant environment characterized by a very small size of compiled code! But like other Microsoft technologies, it declines quickly and the cost of code maintenance is relatively high.

    3) Qt, a cross-platform technology based on C++ encapsulation, has the advantage of being cross-platform, such as Windows/linux/Android/iOS, but the disadvantages are also obvious. You need to be familiar with C++ and understand the underlying features such as memory layout. relatively deep.

    Based on your needs, I personally recommend c#

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:36:24

    First of all, I am not a client player.
    To say that I have done it, I have to go back to when I was in school. I have done WF and WPF in C#. I have also worked with Delphi for a few days to do the interface. Later, I paid attention to Qt for a while. If I really want to do the client, I will most likely choose Qt.
    Looking at what you mentioned above, if you have learned JavaScript, you can try nw.js.

    As for the environmental packages you mentioned, in fact many of them are needed, and some are just added directly to the installation package for direct use. If you really want to give up those so-called installation packages, you probably have to start from the bottom. Of course, assembly is ignored, and you have to start from C at least. The lower the level of the language, the weaker the dependence on the environment, because many systems have been integrated (most likely the system must also use it).

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 13:36:24

    If you want to have fun, learn Delphi, which was the dominant computer in those days.

    It’s not easy to find a job, but it’s definitely easy to get started and you can fly quickly.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:36:24

    It is enough to use the script yourself. With the basics of JavaScript and PHP, the scripts are very simple. You can take a look at Autoit3, a scripting language under Windows. The Chinese discussion forum: http://www.autoitx.com/ has a very rich set of documents and articles. I've made countless tools using this script. Application layer programs under Windows are omnipotent.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:36:24

    Use C#+VS under windows. When I was in school, I saw that my classmates’ C#+VS was much more efficient in writing than my MFC

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:36:24

    The poster can check out VB Python Delphi to get started and get started, and then proceed step by step, and then use C or the like

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:36:24

    If you want to learn the implementation principles of various things, then search for relevant principle descriptions, and then implement them yourself through code. There are a lot of principle descriptions online such as image processing, QR codes, etc., but you still need language support for pictures. Processing, it seems, can be achieved in programming languages ​​nowadays; I remember that I studied code13 (barcode) when I was a freshman, and then I made one using PHP, and I thought it was okay; in fact, if you have studied it, you will know that it is important to understand the principles. If you are building a PC desktop, it is not recommended to use Java. Qt or C# should be enough. C# seems to have to rely on the .net environment, so I still recommend Qt. It is a C++ framework and supports Linux and Win platforms.

    reply
    0
  • Cancelreply