Tag Info

New answers tagged

0

You already created an executable program, there is nothing wrong about it. I think you want to create deployable packages, so you can release them for different operating systems. For Windows, you can create an installer that copies your files(main executable(.exe), libraries(.dll) and resources such as images and sounds) to ProgramFiles folder, creates a ...


0

You fail to mention what platform your coding for but since you mention Visual Basic I'll assume it Windows. For C++ maybe you might want to check out Embarcadero's CBuilder. http://www.embarcadero.com/products/cbuilder You can create either console (CLI) apps or GUI apps. Not sure was else is out there for Windows C++ GUI programming (don't use C++ ...


1

In most programming languages, GUI toolkits are not part of the core programming language but rather external libraries. A tutorial for a specific programming language is usually expected to explain the syntax of that language only. Using external libraries is usually considered inappropriate in that context. However, there are usually specific tutorials ...


0

I'm going to quote your question and add some code to it (it's easier to speak about it afterwards): In this program exists a form. The form contains several subforms. As it is right now, some of the subforms have their own classes, and some of the subforms are just controlled completely from the class of the main form. struct subform { virtual bool ...


1

A browser is a desktop application, its very easy to pack your war with and embebed server (with jetty its really easy), this way you can run your app in a stand-alone machine. If you want two versions, web and desktop, its because one of this versions gives things to your users that the other versions cannot give, if you are thinking in a "automatic" way ...


4

MVC is a good pattern for this, but its the V part "View" that isn't reusable from platform to platform. The code for modifying the document of a webpage on the clientside without postback is javascript, that is non-negotiable. The code for modifying controls in a native/jvm form application for example, is not javascript. So for the presentation part the ...


5

The simplest way would be to implement it using web technologies (eg HTML controls) so that it can be displayed as a web page easily, and then create a desktop app that uses the same html pages only wrapped as a 'executable'. To create a desktop application you can either view the web page in an embedded browser in an application that exists solely to show ...


0

It's possible through RAP with a single code base to develop a Web application which can be also installed as a Desktop application. Here is the link - http://eclipse.org/rap/


0

What I would do is output what you want into an osstream and with this osstream i can use it to display the output on whatever front end i want, be it console or window message, etc.


3

cout always writes to the standard output stream (stdout). If you want the output to be redirected elsewhere (e.g. a graphical window) you will have to pipe the output to another program or thread responsible for handling the graphical interface. There are many ways this can be done but it depends on the operating system somewhat. By default, on Linux you ...



Top 50 recent answers are included