Thread: So Confused?

  1. #1
    Registered User
    Join Date
    Mar 2012
    Location
    US
    Posts
    49

    Unhappy So Confused?

    Im very new to this C Programming language and most of it confuses the heck outta me. Thank goodness Im switching my major because I just cant do any of this, but I really need some hints and tricks as to how to reinforce the use of loops, how to read information from files, how to use arrays to store and retrieve data. I have a assignment that I have no idea how to start or anything because I been sick for two weeks and missed alot of class. If any one can send me a message and help me that would be very helpful Thanks Guys.

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Well, I suggest you start reading the Tutorials on this site for starters. Then, ask questions if you run into problems. This is the kind of work that requires active doing, not just skimming through the material. You need to pop up your editor and try to run the code examples in the tutorials, mess around with them to see if you understand what is going on.

    C Tutorial - Learn C - Cprogramming.com
    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
    Sep 2006
    Posts
    8,868
    We don't do what you're asking for, I'm afraid. It's up to YOU to start the program and state what the problems are - THEN we try and help.

    Before that, it's all up to you.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Sounds like it's time to withdraw from the class.

  5. #5
    Registered User
    Join Date
    Mar 2012
    Location
    US
    Posts
    49
    Lol well I have one more month left so I have to stick with it..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. confused
    By alexbcg in forum C Programming
    Replies: 2
    Last Post: 12-07-2010, 05:42 AM
  2. I'm confused!
    By Newbeee in forum C++ Programming
    Replies: 5
    Last Post: 06-12-2006, 01:59 AM
  3. Little Confused..?
    By ikidd in forum C Programming
    Replies: 7
    Last Post: 12-09-2004, 06:44 PM
  4. im so confused???
    By Flim Flam in forum C Programming
    Replies: 7
    Last Post: 07-01-2003, 07:35 AM
  5. confused
    By luckyboy23 in forum C++ Programming
    Replies: 10
    Last Post: 04-30-2003, 06:09 AM