[英]need to make a simple Windows app, what languague should I use?
I need to make s very simple app, with a canvas where the user would be able to drag & drop PNG files, drag, scale and rotate them on the canvas and export to XML their name & coordinates. 我需要制作一个非常简单的应用程序,使用画布,用户可以拖放PNG文件,在画布上拖动,缩放和旋转它们,并将其名称和坐标导出到XML。
I'm pretty good at Android(java) programming, but as I just tried plain java with windowsBuilder for the first time, it appeared to be rather inconvenient and probably would take at least a few days to find my way around in it. 我非常擅长Android(java)编程,但是因为我第一次尝试使用windowsBuilder的普通java,它看起来相当不方便,可能需要至少几天时间才能找到它。
So I thought, maybe you could suggest some simple "program maker" style language/ide that could be quickly picked up for such purpose? 所以我想,也许你可以建议一些简单的“程序制造者”风格的语言/ ide,可以迅速为此目的选择?
Right now I'm thinking of Flash... any other ideas? 现在我在考虑Flash ......还有其他想法吗?
Thanks! 谢谢!
I would go with C#, with the .NET framework. 我会使用.NET框架的C#。
As you already know Java, it shouldn't be that hard, as C# is also an object-oriented language. 正如您已经了解Java一样,它应该不那么难,因为C#也是一种面向对象的语言。
They are some differences, of course, and I won't explain them here. 当然,它们有些不同,我不会在这里解释它们。
But if you want a real Windows app, it may be your best choice, as you'll then have access to all the Windows features through the .NET framework. 但是如果你想要一个真正的Windows应用程序,它可能是你最好的选择,因为你可以通过.NET框架访问所有Windows功能。
Everything is very well documented. 一切都记录完好。
You can also choose C++ (managed), but it might be a little harder, coming from Java. 您也可以选择C ++(托管),但可能有点困难,来自Java。
About the IDE, simply use VisualStudio (the express edition is free). 关于IDE,只需使用VisualStudio(快速版是免费的)。
Hope this will help. 希望这会有所帮助。
I learned JavaScript (I know it's not Java, but similar nonetheless and still object oriented) first and then C++. 我学习了JavaScript(我知道它不是Java,但仍然是类似的,仍然是面向对象的),然后是C ++。 The transition was quite easy since both are more-or-less object oriented.
转换很容易,因为它们都或多或少是面向对象的。 Like Macmade said, Visual Studio is great to begin, but I prefer using gedit and then compiling with G++.
就像Macmade所说的那样,Visual Studio很棒,但我更喜欢使用gedit然后使用G ++进行编译。 It's more forgiving than Visual Studio and you don't have to create a project and whatnot just to start writing the code.
它比Visual Studio更宽容,你不必创建一个项目,不仅仅是开始编写代码。 With a text editor like gedit and a standalone compiler, G++, it's much easier to just write the code and then build the program.
使用像gedit这样的文本编辑器和独立的编译器G ++,只需编写代码然后构建程序就容易多了。
I'd stay away from Flash. 我会远离Flash。 I know AS2/3 pretty well and I can say that C is much easier to code, at least for me.
我非常了解AS2 / 3,我可以说C更容易编码,至少对我而言。 Everyone has their personal preferences, though.
但是,每个人都有自己的个人偏好。 One plus to C is you don't have to buy Flash.
C加一点是您不必购买Flash。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.