Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ HTML Project
i have college project of c++ banking interface. i want to design form where I can create new account, deposit money and withdraw money. I want to use c++ for this. How can I achieve this. i know all basics of c++ and html.
 
thanks
Posted 6-Feb-13 18:29pm
Comments
Sergey Alexandrovich Kryukov at 7-Feb-13 0:33am
   
Too vague question. Nothing to discuss seriously. But first of all, you cannot work with real money with just HTML...
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I believe you have problem with your concept. You want to create user interface with HTML and your application with C++. Which is achievable.
 
option 1: HTML and C++ code resides in client side-
 
You can achieve this with MFC. Here is an mfc example for doing this . Other than MFC you will end up nowhere while trying to develop an HTML parser.
 
Option 2: Using HTTP,
 
You can install Apache server in linux os and configure and enable cgi, through which you can process user request and all transactions. In this case your C++ application will run at server and HTML will run at client side.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You can actually create web applications in C++ using a toolkit called Wt (similar API to Qt). There is a standalone browser as well as a module for Apache. This way you can use C++ as your programming language the same way you would C# with ASP.NET, and thus you can also use your existing C++ code. It's not really elegant though.
 
I'd actually recommend you learn Qt and write the whole application on top of it. It's incredibly portable and has an extensive API for just about everything - it's an application framework; GTK+ does just the UI, and in C, although the GTKmm wrapper for C++ is nice. Check it out at http://qt.nokia.com - it's available under the GNU LGPL.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 545
1 CPallini 490
2 George Jonsson 297
3 OriginalGriff 250
4 Suvabrata Roy 209
0 OriginalGriff 4,873
1 CPallini 3,900
2 Sergey Alexandrovich Kryukov 3,474
3 George Jonsson 2,646
4 Gihan Liyanage 2,236


Advertise | Privacy | Mobile
Web04 | 2.8.140905.1 | Last Updated 7 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100