| Author |
Message |
vicky.pace
Joined: 05 May 2008 Posts: 33
|
02 Aug 2008 6:43 ccs embedded ethernet exercise book |
|
|
|
|
Dear All,
I want to learn C. Please tell me how I shoud start. Presently I am doing with assembly.
Thanks
|
|
| Back to top |
|
 |
jigisha
Joined: 04 Mar 2008 Posts: 118 Helped: 13
|
02 Aug 2008 7:35 ansi c balagurusamy link:rapidshare.com/files |
|
|
|
|
hello...its nice to learn c...i like it....
well u can start with ANSI C by E. balagurusami...
and few other book are there....like
Let Us C by. Yashwant karnetkar...
other book i will give u by link....
Added after 5 minutes:
http://rapidshare.com/files/122473274/Let_Us_C.rar
link for let us c
|
|
| Back to top |
|
 |
are
Joined: 16 Nov 2004 Posts: 81 Helped: 5 Location: Balen (Belgie)
|
06 Aug 2008 15:03 karnetkar |
|
|
|
|
When you are using PIC and CCS C this is a good starter.
http://www.edaboard.com/viewtopic.php?p=463114#463114
|
|
| Back to top |
|
 |
Google AdSense

|
06 Aug 2008 15:03 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
madicalphy
Joined: 22 Jul 2007 Posts: 68 Helped: 3
|
07 Aug 2008 6:54 learn c on a pc |
|
|
|
|
To learn C in short time, a comprehensive book is being presented here.
Try this please.
|
|
| Back to top |
|
 |
coshkun
Joined: 27 Aug 2005 Posts: 150 Helped: 8
|
08 Aug 2008 9:16 darnell margolis software rapidshare |
|
|
|
|
You can exercise C on PC.Find a free C compiler and install it on your PC. Learn the basics : Loops, data types... etc. Write simple programs.
Then transfer your skills to PIC. Learn how to control registers by C. There's no difference between writing-reading registers in assembly or in C.
ASM
movlw 0x00,w
movwf PORTB,F
C
PORTB = 0x00;
|
|
| Back to top |
|
 |
FL_KNV
Joined: 09 Aug 2008 Posts: 13
|
09 Aug 2008 22:53 learn c on the pic |
|
|
|
|
First learn the C basics, u can refer Let us C by yashwant kanitkar and Programming in C by K&R. For programming the embedded systems you need to learn the C internals; refer the web, there are many useful articles which describes efficient ways of C coding especially for 8 bit microcontrollers.
Best of luck and if u face any difficulties feel free to ask for help
FL_KNV
|
|
| Back to top |
|
 |
N_Arm
Joined: 27 Feb 2009 Posts: 27
|
16 Mar 2009 8:48 letus learn c |
|
|
|
|
| The best practice is to read and try to solve the problems in ANSI C book which is written by Brian W. Kernighan and Dennis M. Ritchie
|
|
| Back to top |
|
 |
etmabreu
Joined: 13 Mar 2009 Posts: 15
|
16 Mar 2009 15:41 programming in c k&r rapidshare |
|
|
|
|
I really like this book. It has a very comprehensive text.
C: A Software Engineering Approach
by Peter A. Darnell and Philip E. Margolis
|
|
| Back to top |
|
 |
Enlightenment
Joined: 26 Jul 2006 Posts: 47 Helped: 2 Location: 3rd Rock From Sun
|
16 Mar 2009 15:58 more:. |
|
|
|
|
Free or Limited-Editions of C and C++ Compilers:
http://www.thefreecountry.com/compilers/cpp.shtml
Added after 1 minutes:
Free Online C / C++ Tutorials and Documentation:
http://www.thefreecountry.com/documentation/onlinecpp.shtml
|
|
| Back to top |
|
 |
eltonjohn
Joined: 22 Feb 2002 Posts: 1758 Helped: 28
|
16 Mar 2009 17:52 c++ e balagurusamy .rar |
|
|
|
|
C is a very easy language to LEARN
The basic features of the language are just the control program structures .
The IOs dont't belong to the program and are in form of libraries they can be learn later little bt little .But because of that you shoul start writing code real quick .
Onle one thing need particuliar attention "THE POINTERS" .Here is where all the power of the C language is concentrated .But if you program in assembler this should be easy for you . People are afrad of pointers but the truth is that they are simple too. Is just a varibale that contains the address of another variable .. That's it you know pointers NOW. Imagine a train with 100 wagons .you want to kee track of the wagon that carries shoes,well let's say is wagon 34 .. you will store that value in a variable called shoewagon and it will contain the address of the train wagon with the shoes ; shoewagon=34
|
|
| Back to top |
|
 |
sn_burki
Joined: 18 Feb 2003 Posts: 230 Helped: 4 Location: Pakistan
|
16 Mar 2009 20:44 calculate ethernet frame-check-sequence |
|
|
|
|
| its ok but can we use this for 8051 too? I mean to say that can we have same coding for PIC as well as 8051?
|
|
| Back to top |
|
 |
Aya2002
Joined: 12 Dec 2006 Posts: 1501 Helped: 257 Location: Iraq
|
17 Mar 2009 0:56 Learn C |
|
|
|
|
do you have a good compiler for c under dos and how can i use it inside vista
regards
|
|
| Back to top |
|
 |
alex2703
Joined: 10 Jan 2006 Posts: 21 Helped: 1
|
17 Mar 2009 8:52 Re: Learn C |
|
|
|
|
| jigisha wrote: |
hello...its nice to learn c...i like it....
well u can start with ANSI C by E. balagurusami...
and few other book are there....like
Let Us C by. Yashwant karnetkar...
other book i will give u by link....
Added after 5 minutes:
http://rapidshare.com/files/122473274/Let_Us_C.rar
link for let us c |
bad reference
|
|
| Back to top |
|
 |
LiuKang
Joined: 21 Jun 2006 Posts: 10 Location: Turkey
|
17 Mar 2009 11:15 Re: Learn C |
|
|
|
|
| Anyone should better learn it with Borland Turbo C/C++ in real or protected mode, but not under Windows or alike system. You should find a good book, which also intends on PC's internal structure. Because you need to do experiments with PC environment in a low level for learning it well.
|
|
| Back to top |
|
 |
pini_1
Joined: 18 Jun 2007 Posts: 320 Helped: 20
|
18 Mar 2009 10:38 Re: Learn C |
|
|
|
|
When you come to : looking at examples
FCS c code for calculating CRC for ETHERNET-
h---://bknpk.no-ip.biz/crc_eth/crc_eth_c.html
|
|
| Back to top |
|
 |