Thread: Web Browser

  1. #16
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    but I have some code for some cool things in a web browser, but there for c++ and i dont know how to make the general things, like back foward stop, etc
    Which you don't know how to use. I don't know if you are understanding but C++ is about ten million times more complex and powerful than VB6 and you can't just cut and paste your way to a web browser. If you want to mix VB6 and C code without .NET then good luck because it's not fun. It's possible, but not fun.

    And besides if you don't understand how C/C++ stores variables, acts on variables, or uses them then how can you hope to mix the two. You need way more knowledge than just cutting and pasting.

    And the whole I have code for cool things but they are for C++ sounds suspiciously like you stole them which is obvious since you don't know how to use them, don't know exactly what they do since you don't know C++, etc., etc.

    So what do these cool things do? How do you know if you don't understand C++. Your argument is very circular. Go cut and paste your way to another forum if you don't like what we have to say about true C/C++ programming.
    Last edited by VirtualAce; 01-01-2006 at 07:10 PM.

  2. #17
    Registered User
    Join Date
    Jan 2006
    Posts
    7
    come on, anyone, pwweeeeeeeezzeee
    Last edited by kwake40; 01-01-2006 at 07:42 PM.

  3. #18
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    It's actually simple to decode the HTML to create a page if you know HTML, which I gather you may or may not. But as for downloading from FTPs, HTTPs, uploading, streaming, etc, etc. A web browser is not a good first C++ project and since web browsers are like butholes, everyone seems to have one yet in some way they all stink, I would venture to say it's a waste of time.
    WHAT?? Care to rephrase that?

  4. #19
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    To create an HTML parser would not be that difficult. Although I hate programming any type of parser it still would not be that hard. Everything in HTML is the <> </> variety and so it would be easy to see where one block starts and one ends. All you would do is get an HTML book and see what each command or keyword does specifcially and all options that can be associated with it and begin coding your parser. Doesn't sound like fun, but it can be done.

    A recursive descent parser could do the trick for the most basic web pages. It's no different than creating a utility that allows you to create a web page in a GUI and then creates the HTML for it. Same process just the reverse.

    But it's not good for a first time C++ project nor a fiftieth project. It would take a lot of time and effort. But it's no different than coding say an assembler or disassembler, just a different language and different codes.

    Besides most games have more scripting ability than HTML and they code that type of stuff everyday in the games industry. Games rely on scripts to make the game what it is. So let's not overstate the task here, but it's obvious that the OP is not ready to take on this task.

  5. #20
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    It's not the parsing that is hard, it's the rendering. A HTML rendering engine is one of the more complex programs that exist.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Web browser based program
    By Lauris in forum C++ Programming
    Replies: 3
    Last Post: 11-14-2007, 05:01 PM
  2. HTTP Response from web browser
    By zort15 in forum C# Programming
    Replies: 0
    Last Post: 06-25-2007, 08:35 AM
  3. Socket web browser
    By digitaltsai in forum Networking/Device Communication
    Replies: 17
    Last Post: 10-09-2005, 08:20 AM
  4. Amaya web browser
    By dwks in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-10-2005, 08:17 PM