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 ...
- 05-09-2009 #1Just 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!
- 05-09-2009 #2Just 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.
- 05-10-2009 #3Linux Guru
- 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!


Reply With Quote