Author Topic: Beginner in C programming  (Read 2404 times)

0 Members and 1 Guest are viewing this topic.

Offline beachboy612Topic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Beginner in C programming
« on: July 13, 2012, 11:11:31 PM »
I am beginning to learn C and have purchased The C Programming Language book.  Which program should I download to practice this language and where can i find the download?

Offline ahmed eshra

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Re: Beginner in C programming
« Reply #1 on: July 14, 2012, 04:57:38 AM »
download c-free-5 at http://www.programarts.com/cfree_en/download.htm and if you cannot use feel free to e-mail me [email protected] and don't worry about the word "compilers" down the page.
« Last Edit: July 14, 2012, 05:10:58 AM by ahmed eshra »

Offline beachboy612Topic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: Beginner in C programming
« Reply #2 on: July 14, 2012, 09:13:52 AM »
Thank you very much.  I am about to test out the program.  So what does compiler refer to anyway?  I see that word a lot and never know what it means.  Also, when I was looking at the source code for the $50 robot and trying to understand it,  I noticed it had function calls that I did not read about in my C programming book.  Is it because they are specific to AVR Programmers and does every programmer have its own new set of function calls?  Sorry for alll the questions.  I am completely new at this.

Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
Re: Beginner in C programming
« Reply #3 on: July 15, 2012, 07:45:48 AM »
I am beginning to learn C and have purchased The C Programming Language book.  Which program should I download to practice this language and where can i find the download?
Why not to go with microcontrollers straight away? Programming microcontroller is a bit different than writing software for PC, as different sets of language features are used. There are very good tutorials online that helped me to learn programming AVR microcontrollers.

Also, when I was looking at the source code for the $50 robot and trying to understand it,  I noticed it had function calls that I did not read about in my C programming book.
Function calls You saw was most likely to functions defined  in header files and other c-source files written by Admin. When You what to achieve more advanced functionality and make software development faster, You have to write Your own functions so they can be reused many times later.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

Offline beachboy612Topic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: Beginner in C programming
« Reply #4 on: July 15, 2012, 07:40:06 PM »
@newinrobotics

Thanks for the info.  sounds like exactly what I need.  do you have any links to these tutorials?  do not really understand what you mean by header files.  I have seen them in my c programming software, but i still do not understand how they differentiate from source files and other files.

Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
Re: Beginner in C programming
« Reply #5 on: July 26, 2012, 06:54:34 AM »
Hi  :)

do you have any links to these tutorials?
Here's the link to forum page containing many links ;) http://www.societyofrobots.com/robotforum/index.php?topic=14947.msg109175#msg109175

do not really understand what you mean by header files.  I have seen them in my c programming software, but i still do not understand how they differentiate from source files and other files.
Header files are used to declare everything: variables, functions, classes, etc. I started understanding headers after doing some programming in C++ and Qt. I've followed these tutorials --> Qt4 tutorial
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

Offline greywanderer012345

  • Robot Overlord
  • ****
  • Posts: 133
  • Helpful? 2
Re: Beginner in C programming
« Reply #6 on: July 27, 2012, 12:26:19 PM »
Microsoft has a free version of Visual C++ now.

http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

This has very useful features. You can also program C with it.

 


Get Your Ad Here

data_list