Find the answer to your Linux question:
Results 1 to 3 of 3
So my school uses an online service which lets you check grades. I want to create something that would automatically log on and then interpret the web page so you ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    3

    C/C++ Question: how to connect to a website and enter a password

    So my school uses an online service which lets you check grades. I want to create something that would automatically log on and then interpret the web page so you could view your grades without actually going to the website, know when your grade has been changed, etc. It will be out of the way and just give notifications much like when you receive an instant message in pidgin. I just need to know how to do the internet part in C++ or C. Thanks for any help!

  2. #2
    Just Joined!
    Join Date
    Apr 2009
    Posts
    3
    I need to know how to download the source from a website then save it to a string which will be analyzed to find the numbers i need(grades) like if you chose view source in firefox.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    You can use the wget system call to read a web page and save it to a file. Then you can analyze that file to your little heart's content.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...