So I bought c++ for dummies two years ago and found this site. I have been writting a good amount of code per day for about the past year after getting a grip on programming. For about six months now the code has been very good and I moved onto visual c++ to implement it.
Now this will come off as part question part advertising and part thank you to those here.
The question:
How do I use visual c++ forms in a website?
The advertisement:
My program is going to be called Mutucal and be on a website with that name or close to it. All it does is allow the users to build and solve math stuff and save it and share it with other users.
The thank you:
I would like to personally thank every contributor here that helped me because without the wonderful additude and helpful advise of this forum I would have never gotten past the more advanced issues I ran into in building my applications.
Also, I have moved into some hardware programming with an electrical engineering friend of mine which I find vastly different and just as entertaining as application programming. If anyone has any running projects I would like to help out with for the experience and portfolio building.
Final also, I was recently hired by a software firm as a programmer and I extend that thanks out as well. I wish they would let me program as I have learned all there is to know about SQL since starting but its a JOB so I am not going to complain.
Final also, I was recently hired by a software firm as a programmer and I extend that thanks out as well. I wish they would let me program as I have learned all there is to know about SQL since starting but its a JOB so I am not going to complain.
Congratulations on the job!
Also make sure to post a link to the site you setup for it(it being your program).
C is... er... not necessarily the best language to try and make web pages with. I'd recommend using HTML and embedded JavaScript or (if necessary) HTML and Java applets.
C++ is... er... not necessarily the best language to try and make web pages with. I'd recommend using HTML and embedded JavaScript or (if necessary) HTML and Java applets.
Laziness was a motivator in not changing the language due to the extensive math and algorithm libraries I already know for c++.
But the website doesn't have to be in c++. As long as I can pull a few functions I wrote in c++ out of a dll or an equivalent I can make it work I just need to know how to do it cause in Visual studio there are ~40 billion different project types.
Edit- its in html, just need some forms or something to run the main gui for the app.
You can do cgi in some popular scripting languages with ease, while in c++ it feels like hacking code together...
If laziness is the motivator, then maybe you should consider a change of motivation =)
I guess I mislead, the website is in html. I am trying to add Visual studio controls to it. My final decision is to make the controls in c# and use my program (c++ code) from an imported dll.
The main reason for "needing" it in this way is primarily the boost math library. It was this pre-built god of stuff I didn't have to reinvent. That and eerything is already written in c++ (except the html design).
One day I will learn a language outside of C/C++/C# but it won't be today....
If it's embedded then using C++ for the job would require that you write some server-side code to handle your own custom tags where the equations would be contained within them. Otherwise you get to have fun making your own plug-in with C++, which isn't as exhilarating as it sounds. Even if you do use the server-side system, C++ wouldn't be the best language for the job since there are better languages out there for string parsing.
eh, I'll figure something out and show you what I mean. Its an interesting feeling; I spent a long time making the code very readable and easy to understand (I learned first hand that not doing that can even make you not understand what your code is doing) but I don't get to show it off. Its like I spent months polishing the engine of my car but when people look at the paint job on the outside they'd say "look at that old clunker".
On an off note, for those who have worked on larger projects, how many people would go into a project of size and for how long. Examples:
I'd say to a person using C++ for making a web application the same thing I say to someone trying to do their own dentistry. Sure, it's technically possible and has been done in the past; but please post a video of yourself doing it to youtube for our amusement :).
(you can type in expressions as (x_1+x_2)^{10} and get them expanded; you can do more useful stuff too but this is too much related to my work).
So, the main question to ask is: which side will be performing the computation - the server side, or the client side? I.e. which of the two machines will be doing the "number crunching"?
Next question: will you have a demon running on the server, listening to ports, or will you use a standard web server and something like cgi (or any other format you wish) to send/receive html from the browser?
Another note: currently, a very powerful mathematical software already exists, called SAGE (just google it). At the moment, it can be run as a stand-alone web server (i.e. it does do what you described in your original post).
The main thing that is missing from the SAGE project is the social aspect, and also commercial support (anyone can install a server, but I don't know of any company that has decided to make a business out of it).