Click here to Skip to main content
11,496,012 members (57,528 online)
Rate this: bad
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.

Posted 6-Feb-13 19:29pm
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...
Rate this: bad
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.
Rate this: bad
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 - it's available under the GNU LGPL.

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

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 CHill60 318
2 RyanDev 230
3 Sascha Lefèvre 205
4 OriginalGriff 186
0 Sergey Alexandrovich Kryukov 10,372
1 OriginalGriff 8,871
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600

Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 7 Feb 2013
Copyright © CodeProject, 1999-2015
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