Click here to Skip to main content
12,352,739 members (71,519 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ HTML
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
Edited 13-Jun-16 4:15am
Comments
   
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  
Comments
Member 11899834 10-Aug-15 20:48pm
   
i didnt understand how
Mohibur Rashid 10-Aug-15 21:46pm
   
Its an age old question.... What are you looking for?
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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 13 Jun 2016
Copyright © CodeProject, 1999-2016
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