I am trying to produce a c program that downloads a web page using sockets, however when i compile i get a warning message:
webclient.c: In function `main':
webclient.c:61: warning: passing arg 2...
Type: Posts; User: robsmith
I am trying to produce a c program that downloads a web page using sockets, however when i compile i get a warning message:
webclient.c: In function `main':
webclient.c:61: warning: passing arg 2...
OK thank you
Changed that, but i now get this error:
stonkin:4> gcc -lsocket -lnsl tcp.c
tcp.c: In function `main':
tcp.c:89: warning: passing arg 1 of `strlen' makes pointer from integer...
Hi thanks alot for your help,
I changed the code but got these errors:
tcp.c: In function `main':
tcp.c:78: parse error before `char'
tcp.c:88: `Their' undeclared (first use in this function)...
No, tried that, it didnt work :(
I am trying to create a c program that downloads a htmlo file & saves it to disk. Here is the code, each time i compile it gives this error:
c:30 Storage size of 'Their' isn't known
Please...
Hi.
I would like to make a c program that will be able to download a webpage, then save it the the harddisk, through using sockets.
For example, it will download a webpage onto the disk as an...
Hi I am a new C programmer and have produced a program which reads in a file and prints it out. I now need to produce a dynamically built binary tree data structure to hold results.
The program...
Thankyou for all your help, its all done and working now :p xxx :)
Many thanks for your help, you were right.
The program is now working effectively and outputting the weight converted back into stones, pounds and ounces.
Now I'm trying to work out how to...
I am new to C, and have defined a structure to hold data for a competitor in a fishing competition.
The program allows a user to input data like this:
Please enter number of competitors:
1
...
Hi I am new to C programming and I have to produce a C program which holds data for competitors in a competition. The structure must have 5 fields, one to hold the competitor's name, one to hold a...