| | |
C++ Web Browser
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2007
Posts: 4
Reputation:
Solved Threads: 0
I'm not sure how to do this, but i'm making a small shell in C++ in command line, with a few external scripts and executables being called. What I want to do is either make a simple web browser or a way to show web pages in C++, or if anyone can make one, or use a prebuilt small simple one file browser and figure a way to make it open pages. I just don't want to use the users default browser, as well as i want to be able to bundle it with the other files when i want to finish the project... what do you all suggest to go about doing this????
•
•
Join Date: Jun 2007
Posts: 4
Reputation:
Solved Threads: 0
Well... i'm really new to c++ though so i don't quite understand what to do. I've tried to make the code example into a displayhtml.exe , but i don't have that htmlwindow.h that it calls to... and don't know where to get it. uggh. its frusterating. i need more of a simple little walk through just for getting a simple browser running, or something. sorry.
If you are still interested a few things you could do / should do.
get an XML Parser and treat all pages like XML, since HTML follows a strict coding format (or at least properly built pages do) you could easily build a parser using an XML tool.
Secondly since it is going to be command line i am assuming no reason for graphics, so again it's just a matter of parsing the text and other style/placements
but then you get into the issue of the Styles.
because the grounds on how each browser displays is so poorly implimented by each side (microsoft,firefox,safari...etc) it would be in your best interest to look up the DOM (document object model) as well as http://www.w3.org/ as they are the people that set forth the guidlines.
get an XML Parser and treat all pages like XML, since HTML follows a strict coding format (or at least properly built pages do) you could easily build a parser using an XML tool.
Secondly since it is going to be command line i am assuming no reason for graphics, so again it's just a matter of parsing the text and other style/placements
but then you get into the issue of the Styles.
because the grounds on how each browser displays is so poorly implimented by each side (microsoft,firefox,safari...etc) it would be in your best interest to look up the DOM (document object model) as well as http://www.w3.org/ as they are the people that set forth the guidlines.
Dont forget to spread the reputation to those that deserve!
•
•
•
•
I want to make a Web browser with c++ within two days. How should i make it
If you use VC++ 6.0 compiler it has CHTMLView that is a web browser which you can implement in just a few minutes. Not sure if VC++ 2005 has it or not, but I suspect it does.
Otherwise -- read the previous posts to this thead and the links they contain!
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- Showing up crystal report in a web browser (PHP)
- developing a plugin in c++ on linux platformfor a web browser eg. konqueror/ mozilla (C++)
- Web Browser control with Tabcontrol (VB.NET)
- Pictures not showing up in any web browser!!! (Web Browsers)
- help!..VerySimple web browser(display source code of web pages) (JSP)
- Pc web browser hijacker (Viruses, Spyware and other Nasties)
- Running X apps within a web browser (Darwin, X11 and BSD)
- The best Web Browser Ever (Mac Software)
Other Threads in the C++ Forum
- Previous Thread: Parse or Tokenize String
- Next Thread: C++ I/o
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






