Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
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
Updated 25-Sep-20 2:44am
Comments
Sergey Alexandrovich Kryukov 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

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.
 
Share this answer
 
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?
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900