amk pitt

Greenhorn
+ Follow
since Sep 12, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by amk pitt

Bear Bibeault wrote:"On the web" is pretty broad. Exactly where do intend to get the information from? A web service? Screen-scraping a web page? Other?

Part of learning to program is learning how to specify problems. You'll need to be much more complete.



Ok I see. I guess I would use a Screen-scraping method. I guess thats one place i should start. Thanks Bear.
7 years ago
I figured since all the user was inputting was his email and product name, that I would have to have my program search for the product's lowest price on the web, and then alert the user once that product is available somewhere on the web for 20% less. Perhaps that is more than the assignment is asking, but assuming I wanted to do this, I would have to access the web. Assume this is the type of problem I want to be able to tackle.
7 years ago
Hey guys,

This is my first post here. I am currently a student who is studying cs. I have a good handle on java and am learning C, but still have plenty more to learn. One thing I am interested in learning is how to write a program that interacts with information on the web. Take this as an example:


Write a small application that lets a user input their email and a desired product (productId or productName) and sends them an email when the price hits at least 20% off the original price.


I have no experience with writing code that can extract information from the web. I have only done things that either read in user input or read information from a text file. I essentially have no idea how I would go about interacting with the web. I was wondering if anyone who knows how to do this could give me a good starting point for learning how to do this. I understand thats a broad question, but I'm really ignorant on the subject. Can I use Java? Do you have any links for tutorials that would be useful? Any advice would be greatly appreciated.

Thanks.
7 years ago