Thread: Library that can download a HTML page?

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Library that can download a HTML page?

    Is there a library that works with Dev C++(MingW) and can download a HTML page?

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    You might look at the WinInet API if you are programming for windows. Otherwise, there are almost certainly cross-platform libraries, but I don't know about them.
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    2
    Is there a .h for WinInet?

  4. #4
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    You can also open the DevPak download manager and download/install cURLib or something.
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. html object library
    By joeyzt in forum C++ Programming
    Replies: 1
    Last Post: 01-21-2006, 04:20 PM
  2. Replies: 4
    Last Post: 09-30-2005, 02:51 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. MSDN library download
    By Garfield in forum Windows Programming
    Replies: 11
    Last Post: 01-17-2002, 05:34 AM