473,508 Members | 2,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to creat a web browser

now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?

plz. help

Nov 14 '05 #1
18 2208
On 17 May 2005 19:03:14 -0700, bl***************@yahoo.com wrote in
comp.lang.c:
now i have problem i.e how 2 creat a web browser ?
You can't make a web browser with standard C, since the language does
not have any built-in networking support. So the question is
off-topic here.
can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?

plz. help


Programming languages require very precise input. If you can't use
proper spelling, capitalization, and punctuation in English, how can
you possibly hope to write programs?

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Nov 14 '05 #2

"Programming languages require very precise input. If you can't use
proper spelling, capitalization, and punctuation in English, how can
you possibly hope to write programs?" ?????

That was --while true-- a harsh gesture. As it is off-topic too! Last
time I checked standard C it didn't include "written language critique"

Nov 14 '05 #3
On 17 May 2005 19:03:14 -0700, bl***************@yahoo.com wrote:
now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?

plz. help


The first language you need is English. Then you can find an
appropriate newsgroup to post in. This is not it.

--
Al Balmer
Balmer Consulting
re************************@att.net
Nov 14 '05 #4
In article <11*********************@g14g2000cwa.googlegroups. com>,
<bl***************@yahoo.com> wrote:
now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?


You can download the source code for firefox and see how they did it:

http://www.mozilla.org/download-mozilla.html

You may find the complexity intimidating, but if you want to write
anything more than a toylike browser, you'll need to come to grips with
the reality of the situation. In fact, it might be just as rewarding to
contribute to their project rather than trying to go it alone.

Good luck, and just because you don't write perfectly standard English
at all times doesn't mean you can't handle programming. I've met
and worked with a few borderline dyslexic programmers who were top-notch.
I was glad to fix their occasional spelling mistakes or poor word choice
for them so that they could concentrate on developing cool software.
Nov 14 '05 #5
Alan Balmer wrote:
On 17 May 2005 19:03:14 -0700, bl***************@yahoo.com wrote:

now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?

plz. help

The first language you need is English. Then you can find an
appropriate newsgroup to post in. This is not it.


To translate... What these people are saying is that generally, one
needs to learn to crawl before they learn to walk.

Writting a web browser is generally considered to be one of the hardest
things to write, and I know of no project that was started from scratch
in this decade.
The newest project I know of that attempts just this is Dillo (And it
happens to be extremely fast and written in C), however even they appear
to use an existing, although very old and small renderer as a basis
(From what I can see).
Dillo has alot of problems, however, as the simple fact of the matter
is that very few websites are correctly written, and the primary job of
a modern web browser is to be able to render acceptably websites that
may not be "correct". Slashdot is one particularly nasty website for
Dillo, for instance.
Nov 14 '05 #6
> Programming languages require very precise input. If you can't use
proper spelling, capitalization, and punctuation in English, how can
you possibly hope to write programs?


Apropos, I recently had a co-worker; a programmer, who was a dyslectic.
Because of that, he had to double-check and sometimes triple-check his
writings. When verifying the code, he more than occasionally discovered bugs
and optimization-opportunities. His code never contained error related to
variable-names.

--

Regards,
Ronny Mandal
Nov 14 '05 #7
<bl***************@yahoo.com> wrote

now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?

Do you want to create a web browser from scratch, or do you want to call
someone else's code so that you can incorporate a browser into your own
application?

Browsers are inherently graphical. Do you want to write the graphics
routines from scratch, or do you want to call someone else's library?

(You cannot do graphical output in ANSI C, and need a third party library
for window maagement and the like, but this will be the least of your
problems.)
Nov 14 '05 #8
Arafangion wrote:
Alan Balmer wrote:
bl***************@yahoo.com wrote:
now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to
make a web browser ?


The first language you need is English. Then you can find an
appropriate newsgroup to post in. This is not it.


To translate... What these people are saying is that generally,
one needs to learn to crawl before they learn to walk.

Writting a web browser is generally considered to be one of the
hardest things to write, and I know of no project that was
started from scratch in this decade.

... snip ...

Besides which a request using silly abbreviations, lower case i, 2
in place of two, etc. is fundamentally offensive to the reader and
demonstrates ignorance, rather than a language barrier. The
conclusion may be wrong, but the subject is off-topic here anyhow.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #9
On Thu, 19 May 2005 04:40:47 +1000, Arafangion
<Ar********@invalid.email.address.com> wrote:
Alan Balmer wrote:
On 17 May 2005 19:03:14 -0700, bl***************@yahoo.com wrote:

now i have problem i.e how 2 creat a web browser ?

can any1 help me on this
which languge i need 2 know what other things i need 2 know to make a
web browser ?

plz. help

The first language you need is English. Then you can find an
appropriate newsgroup to post in. This is not it.


To translate... What these people are saying is that generally, one
needs to learn to crawl before they learn to walk.

I'm not surprised that you think the OP needs a translator, but what I
was saying was:

1. Leet speak may be appropriate when discoursing with other children
about favorite rock stars (translation:
l3E7 $p33|< ma% |3E aPPr0PR|A+E \/\/HEN disKu55][Ng |=4V0|2|tE
r0xxx0R 574|2$ W][tH 07]-[Er (H][1|)r3]\[

but it's not appropriate when discussing technical matters with
professionals, and sloppy language in general is a bad sign in a
would-be programmer.

2. How to create a web browser is not topical in this newsgroup.

--
Al Balmer
Balmer Consulting
re************************@att.net
Nov 14 '05 #10
Malcolm wrote:

<snip>
Browsers are inherently graphical.
<OT>
Strange that I have several time succeeded in using a text only web
browser. I've even used text only web browsers on http://www.microsoft.com/
</OT>
Do you want to write the graphics
routines from scratch, or do you want to call someone else's library?

(You cannot do graphical output in ANSI C, and need a third party library
for window maagement and the like, but this will be the least of your
problems.)


Yes, that is true.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #11
Ronny Mandal wrote:
Programming languages require very precise input. If you can't use
proper spelling, capitalization, and punctuation in English, how can
you possibly hope to write programs?

Apropos, I recently had a co-worker; a programmer, who was a dyslectic.
Because of that, he had to double-check and sometimes triple-check his
writings. When verifying the code, he more than occasionally discovered bugs
and optimization-opportunities. His code never contained error related to
variable-names.


I'm also dyslexic, but I get computers to do most of my checking. One of
my old sigs is...

Mark Gordon
Dyslexic Programmer.
At least the compiler ensures I spell variable names consistently wrong.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #12
"Malcolm" <re*******@btinternet.com> wrote:

# Browsers are inherently graphical.

You mean like lynx?

--
SM Ryan http://www.rawbw.com/~wyrmwif/
JUSTICE!
Justice is dead.
Nov 14 '05 #13
On Wed, 18 May 2005 23:12:27 +0200, Ronny Mandal
<ro*****@math.uio.no> wrote:
Programming languages require very precise input. If you can't use
proper spelling, capitalization, and punctuation in English, how can
you possibly hope to write programs?


Apropos, I recently had a co-worker; a programmer, who was a dyslectic.
Because of that, he had to double-check and sometimes triple-check his
writings. When verifying the code, he more than occasionally discovered bugs
and optimization-opportunities. His code never contained error related to
variable-names.


That's similar to my superstition that if code compiles first time it's
bound to have nasty bugs. It's based on the same thing -- if you are
forced to look at the code many times -- whether by dyslexia, typing
errors which need to be corrected, formal code reviews or whatever --
then it's more likely that you'll find more subtle bugs when reviewing
it.

In the days when we wrote everything on coding sheets, which were given
to girls to type onto punched cards, and the results came back several
days later, we were /really/ careful to get it right the first time.
When the programmer has an editor and just presses one button to compile
it's really tempting to let the compiler find the mistakes (and of
course it misses the important ones)...

Chris C
Nov 14 '05 #14
Chris Croughton wrote:
.... snip ... When the programmer has an editor and just presses one button to
compile it's really tempting to let the compiler find the mistakes
(and of course it misses the important ones)...


No, I think it is important to acknowledge the temptation and
usage, and develop the habit of writing code in such a manner that
the compiler can find the problems. This means, to me, such things
as "if (CONST == expression)", short single purpose functions,
observing the rule of 7, careful formatting, and who knows what
else. It also means lint early and often.

I tend to compile after about two lines of revised code. Maybe
less.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #15
In article <d6**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com>,
Malcolm <re*******@btinternet.com> wrote:

(You cannot do graphical output in ANSI C, and need a third party library
for window maagement and the like, but this will be the least of your
problems.)


Here are the graphical results of my informal poll on the subject:

55% ###########################
31% ###############
21% #############
12% #####
07% ###
Nov 14 '05 #16
On Thu, 19 May 2005 17:51:02 GMT, CBFalconer
<cb********@yahoo.com> wrote:
Chris Croughton wrote:
... snip ...
When the programmer has an editor and just presses one button to
compile it's really tempting to let the compiler find the mistakes
(and of course it misses the important ones)...


No, I think it is important to acknowledge the temptation and
usage, and develop the habit of writing code in such a manner that
the compiler can find the problems. This means, to me, such things
as "if (CONST == expression)", short single purpose functions,
observing the rule of 7, careful formatting, and who knows what
else. It also means lint early and often.


No, that won't do it. I'm talking about bugs in the algorithm (or in
the translation of it into C), where the compiler can't catch them
because what you write is syntactically valid, it just doesn't make
sense for what you are trying to do.

char *my_strcpy(char *dest, const char *source)
{
while (*source)
*dest++ = *source;
return dest;
}

Compile and lint might find typos, but only looking at it (or running it
and finding that it fails, probably catastrophically) can find the
actual error. If there were a typo in it which caused it to fail
compilation then /at least/ it would mean that the programmer looked at
it again and is thus more likely to spot the bug.
I tend to compile after about two lines of revised code. Maybe
less.


Well, that's pretty useless when writing the code initially, the code is
very unlikely to compile at all. Or if the code being revised is in s
common header file so that it causes the whole project to be recompiled
each time. Although that would be a nice job if that were company
policy -- change two lines, recompile which takes half an hour, come
back and chance another two lines, have another half hour break while it
recompiles everything again...

Chris C
Nov 14 '05 #17
Chris Croughton wrote:
<cb********@yahoo.com> wrote:
.... snip ...
I tend to compile after about two lines of revised code. Maybe
less.


Well, that's pretty useless when writing the code initially, the
code is very unlikely to compile at all. Or if the code being
revised is in s common header file so that it causes the whole
project to be recompiled each time. Although that would be a
nice job if that were company policy -- change two lines,
recompile which takes half an hour, come back and chance another
two lines, have another half hour break while it recompiles
everything again...


Yah, sure. I didn't say run. I didn't say link. Intervals for
those may be a smidgeon longer. Besides, I don't believe in half
hour compiles. Even on a 486, a half-minute is unusual.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson

Nov 14 '05 #18
On Fri, 20 May 2005 01:35:45 GMT, CBFalconer
<cb********@yahoo.com> wrote:
Chris Croughton wrote:
<cb********@yahoo.com> wrote:

... snip ...
I tend to compile after about two lines of revised code. Maybe
less.


Well, that's pretty useless when writing the code initially, the
code is very unlikely to compile at all. Or if the code being
revised is in s common header file so that it causes the whole
project to be recompiled each time. Although that would be a
nice job if that were company policy -- change two lines,
recompile which takes half an hour, come back and chance another
two lines, have another half hour break while it recompiles
everything again...


Yah, sure. I didn't say run. I didn't say link. Intervals for
those may be a smidgeon longer. Besides, I don't believe in half
hour compiles. Even on a 486, a half-minute is unusual.


As I said, if it's a header file being changed you need to recompile
everything which depends on it to make sure that nothing is broken by
your change (compiling a header file on its own is unlikely to do
anything useful).

I don't believe that compiling after "two lines of revised code" will
work much anyway, unless the 'revisions' are so trivial that they are
easier checked by hand. Most 'revisions' will need a lot more lines to
be changed to even make it compile, because the 'revised' code will be
incompatible with the rest.

Even half a minute every minute reduces the productivity by a third...

Chris C
Nov 14 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
4702
by: Rock | last post by:
Hi, I want to create this.. A 2 col table with 3 rows down. In the 1st col I want three thumb size images, 1 in each row When an image is rolled on, the larger image shows up in col 2
3
1393
by: ironpythonster | last post by:
Hi everyone,there is a simply question puzzle me: Under the CPP,where can use the char* to creat a string class for use,but under the .NET Framework? How to use C# to creat a string class as the...
0
1145
by: dhanuka | last post by:
please i need u are help ! i would like to creat programe can not be affect in end task as we creat program in vb in that program can be remove through end task program so i need the program to...
0
993
by: dhanuka | last post by:
plese!dhanuka@gmail.com i need your help i hop to creat artificial intaligon program dut i have not good in vb i want to creat programe but it is hase to be easy and can be undestand well need...
1
2763
by: dhanuka | last post by:
hai i hop to creat a program in vb, it must be a registration form through the program we have to add some details for this program Ex - we have to add some persons details i can creat that...
1
1044
by: yogesha | last post by:
i want to creat a control with dual buttons in C#.net. which can be used to move back or font as like in web browser. it should also contain a arrow button as in combobox to show the list. please...
3
9517
akashazad
by: akashazad | last post by:
Hi guys in my application (VB6.0). I want to creat a folder in to which i want to creat a text file . so is there any one who can give me code for that . ...
0
976
by: Mark Rae [MVP] | last post by:
"George" <gvarelas@casinorio.grwrote in message news:2B7510D2-FC06-4252-8DF8-C97AB2497DF7@microsoft.com... You have no other choice - all the server can do is create markup and render it to...
0
1439
by: Jason7899 | last post by:
hi, i use the crystal report for creat reports and print all that i want in vb or vb.net now i looking for a such like crystal report for use in php or html all data is retrieve from a mysql...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.