Thread: Help!

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    3

    Help!

    I'm in an Intro to Programming class. My professor isn't very good at teaching the material. I need some suggestions on books/websites that I can look at for further guidance. Like a dummies book that will explain every little thing and show an example of what it will look like.
    Thanks in advance!

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    There are plenty of books suggested in a separate sticky thread at the top of this forum. If there is something in particular that you need help with feel free to ask.
    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 rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    for dummies? C++ for dummines is pretty good there will certainly be a C for dummies also i imagine, i think they even have dummies for dummies in that range now, they do everything innit.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

Popular pages Recent additions subscribe to a feed