Thread: Help please

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    39

    Lightbulb Help please

    i want to learn to to make a program download stuff from the net on it's own and check for updates of software i already have installed.
    I just need an algorithm and i can try to figure out the rest on my own.

    Ps: I have no knowledge of web programming.
    Pps: Is what i asked even possible?
    Ppps: I'm always new to programming?

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Not at your level it's not. Why do programmer newbies always think that the first program they are going to write is going to control a space rocket to the international space station? Start with Hello World, and work your way up.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    39
    @claudiu: I'm way past 'Hello World' and i'm looking for new things to learn.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > and i'm looking for new things to learn.
    Ok...

    > Ps: I have no knowledge of web programming.
    How about web programming then.

    Maybe read some stuff in here -> Networking/Device Communication
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Mar 2011
    Posts
    546

Popular pages Recent additions subscribe to a feed