home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18941 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  2.3 KB

  1. Path: sparky!uunet!gatech!prism!gt6758b
  2. From: gt6758b@prism.gatech.EDU (Michael Maverick Kopack)
  3. Newsgroups: comp.lang.c
  4. Subject: Moving from Pascal to C, Help please!!!!!!
  5. Message-ID: <78858@hydra.gatech.EDU>
  6. Date: 28 Dec 92 19:22:19 GMT
  7. Organization: Georgia Institute of Technology
  8. Lines: 37
  9.  
  10. Could somebody please tell me how I should go about trying to learn C? I've
  11. gotten SAS/C 6.1, but really don't understand what I'm doing with it. My
  12. programming experience has been limited to PASCAL and BASIC and LISP. Heck,
  13. they don't even teach C here at GT!  I co-op with a government research center
  14. and they have taught me a little, but I'm having a really big problem 
  15. understanding the stuff with pointers.
  16.  
  17. I have been reading through a book called "C as a second language for PASCAL
  18. programmers" and have the most recent copy of the CManual disks in the Fish
  19. collection printed out. Are there any resources I could use that would give
  20. me a good, solid understanding of C.... I don't care about being able to do all
  21. the wiz-bang graphics and such yet, I just want to be able to write a few
  22. useful programs in C for my Amiga!
  23.  
  24. There are a lot of things about C that I find very frustrating after comming
  25. from a decent course in Pascal. For one is the way that Arrays are handled.
  26. I like being able to do stuff like    array [6..26] of int whereas in C you
  27. get forced into calling the indeces 0-19. I also HATE that there are no true 
  28. pass by reference parameters! 
  29.  
  30. It seems that C pretty much took Pascal and threw all the rules out the window!
  31. I can't imbed functions so other procedures can't see them (scoping rules),
  32. I have to use global variables a lot (taught as a no-no at GT) and it just
  33. seems like C is TOO flexible! How do you guys get anything done when there are
  34. about 500 different ways to do it?
  35.  
  36. Please, open my mind to C! I'd hate to have to try to do everything for my 
  37. Amiga in Pascal, considering how much of the Amiga software is written in 
  38. and documented for C......
  39.  
  40. Thanks a million,
  41. Mike Kopack
  42. -- 
  43. Michael Maverick Kopack                | Sex, drugs, rock and roll  
  44. Internet: gt6758b@prism.gatech.edu     |and my Amiga, what else could
  45.           kopack@vortex.erda.rl.af.mil |one ever want?     
  46.           kopackm@lonex.rl.af.mil      \---------------------------------------
  47.