简体   繁体   中英

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.

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.

So I thought, maybe you could suggest some simple "program maker" style language/ide that could be quickly picked up for such purpose?

Right now I'm thinking of Flash... any other ideas?

Thanks!

I would go with C#, with the .NET framework.

As you already know Java, it shouldn't be that hard, as C# is also an object-oriented language.

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.
Everything is very well documented.

You can also choose C++ (managed), but it might be a little harder, coming from Java.

About the IDE, simply use VisualStudio (the express edition is free).

Hope this will help.

I learned JavaScript (I know it's not Java, but similar nonetheless and still object oriented) first and then 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++. It's more forgiving than Visual Studio and you don't have to create a project and whatnot just to start writing the code. 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.

I'd stay away from Flash. I know AS2/3 pretty well and I can say that C is much easier to code, at least for me. Everyone has their personal preferences, though. One plus to C is you don't have to buy Flash.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM