Re: Accessing web with a C program
- From: "Lew Pitcher" <lpitcher@xxxxxxxxxxxx>
- Date: 8 Feb 2007 12:34:57 -0800
On Feb 8, 3:22 pm, "Neo" <bvasund...@xxxxxxxxx> wrote:
Hi,
I want to write a program that essentially connects to web,
access some web page and pass some parameters and fetch the return
values and print
like LWP in Perl Context.
Can some one suggest me what are the headers I might require and
directions to such a documentation.
Given the proper compliant implementation, you should only need
#include <stdio.h>
You /should/ be able to
FILE *web = fopen("http://google.com/","r");
and have a valid read connection to the named web page.
However, few (if any) compliant C implementations provide this sort of
interpretation of the filename string. If you find that yours does
not, then you'll have to look for a compiler that does. Otherwise, you
are stuck with non-standard (as far as CLC goes) libraries that you
will have to discuss in the appropriate newsgroup (but not here).
HTH
--
Lew
.
- Follow-Ups:
- Re: Accessing web with a C program
- From: Clever Monkey
- Re: Accessing web with a C program
- From: Christopher Benson-Manica
- Re: Accessing web with a C program
- References:
- Accessing web with a C program
- From: Neo
- Accessing web with a C program
- Prev by Date: Re: Accessing web with a C program
- Next by Date: Re: Accessing web with a C program
- Previous by thread: Re: Accessing web with a C program
- Next by thread: Re: Accessing web with a C program
- Index(es):