C++ Web Browser

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2007
Posts: 4
Reputation: codercpp1 is an unknown quantity at this point 
Solved Threads: 0
codercpp1 codercpp1 is offline Offline
Newbie Poster

C++ Web Browser

 
0
  #1
Jun 29th, 2007
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????
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,406
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1467
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: C++ Web Browser

 
0
  #2
Jun 29th, 2007
Here is one of several examples I found with google.
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 4
Reputation: codercpp1 is an unknown quantity at this point 
Solved Threads: 0
codercpp1 codercpp1 is offline Offline
Newbie Poster

Re: C++ Web Browser

 
1
  #3
Jun 29th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: C++ Web Browser

 
-1
  #4
Jun 29th, 2007
Creating a web browser, especially in c++, is not an exercise newbies should be attempting.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 4
Reputation: codercpp1 is an unknown quantity at this point 
Solved Threads: 0
codercpp1 codercpp1 is offline Offline
Newbie Poster

Re: C++ Web Browser

 
-1
  #5
Jun 29th, 2007
mmk... i found a stand alone version... small app called K-Meleon that i can call to with an extended attribute for the web page i want. thx anyway.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: C++ Web Browser

 
1
  #6
Jun 29th, 2007
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.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1
Reputation: suraj_1470 is an unknown quantity at this point 
Solved Threads: 0
suraj_1470 suraj_1470 is offline Offline
Newbie Poster

Re: C++ Web Browser

 
0
  #7
Jul 21st, 2007
I want to make a Web browser with c++ within two days. How should i make it
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,406
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1467
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: C++ Web Browser

 
0
  #8
Jul 21st, 2007
Originally Posted by suraj_1470 View Post
I want to make a Web browser with c++ within two days. How should i make it
Two Days

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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,179
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 532
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: C++ Web Browser

 
0
  #9
Jul 21st, 2007
it does but im not sure about express (express doesnt do MFC so some of the GUI stuff is iffy)
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC