Thread: Accessing Internet And stuff

  1. #1
    Registered User
    Join Date
    Dec 2014
    Posts
    2

    Accessing Internet And stuff

    Guys i would like to know how to access the internet with c++. Well i am an 12th grader and am supposed to work on a project now. I thought of lots of ideas but the problem is time. My c++ knowledge is basic and would like to work on a short but good project. I got this idea. Why not create a C++ coding which when run would pull out top 100 discounted items from flipkart. I do understand that i'll require some knowledge in this topic and am ready to learn. Or if you guys can think of an other simple but good projects please let me know. My c++ knowledge is limited so do remember that. I know everything in Sumita Aurora class 12 book.Or if someone has the coding i'll be very very grateful to them.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    There is no support for network programming in the standard library, but libraries are available elsewhere. For example, you might take the approach taught in Beej's Guide to Network Programming, or you might use a library like Boost.Asio (or some other: there are many available out there).

    A quick check shows that Flipcart might provide you with an API, so you should look into that.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    For anything web related, I'd recommend Casablanca (search c++ rest).
    For parsing html pages, I've used htmlcxx in the past. It doesn't support unicode and it can be a little tricky to use to parse html, but I don't know of anything better. If you do find something, do tell.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. accessing protected stuff
    By lord in forum C++ Programming
    Replies: 15
    Last Post: 10-19-2008, 10:43 PM
  2. Replies: 3
    Last Post: 12-23-2006, 06:57 PM
  3. accessing the internet
    By kris.c in forum Linux Programming
    Replies: 3
    Last Post: 12-12-2006, 06:29 AM
  4. Your stuff
    By smog890 in forum C Programming
    Replies: 6
    Last Post: 06-13-2002, 11:50 PM