|
-
October 13th, 2004, 10:01 AM
#1
Senior Member
interested in C Programming
can you help me out guys
im interested in C programming. I really want to learn so i can pursue my knowledge.
Any suggestions guys, if i will buy a book, or enroll in a good school , or just find a good tutorials sites or free books online.
The truth is this is my first time to program help me out guys i want to learn.
Can you give me somem tips and anything under the sun that can help me out..
I have already a background in electronics, I want to know more about Programming...
THANKS GUYS..
GOD BLESS YOU ALL
-
October 13th, 2004, 11:46 AM
#2
well, i've just started programming about 4,5 months ago, and i started with C.
you can visit my site for examples of the programs i have written, and the tutorials i have used (self-study) can mostly be found on www.freeprogrammingresources.com.
i use dev-cpp as compiler, it's free, and it's easy to use..
hope this helps,
ps:
your first tutorial:
Code:
#include <stdio.h> //needed for the input/output functions
#include<stdlib.h> // needed for the EXIT_SUCCESS value.
int main(void) //the main function without (void) any arguments but with (int) a return value.
{
printf("Hello world!"); //print a line to standard output (monitor)
return EXIT_SUCCESS; //return the exit status back to the operating system
}
the main function is the function which is always there in C code. this is your first program, when you copy the above code to the C compiler of your choice, save it as hello.c and compile it, it will print Hello World! to the screen.
everything in the code behind the double slashes // is comment, this is for the author only, the compiler doesn't do anything with these text.
regards,
scorpius
-
October 15th, 2004, 09:28 AM
#3
Hey jin C language is the easy to learn language.
ok u can visit sites like :
www.cprogramming.com
www.codeguru.com
www.1001tutorials.com
and ofcourse www.google.com
u will find tons of free tuts on C programming.
also try using some basic compilers initially like Borland C or Turbo C that will be easy than u can go to Dev C++ and VC++ editors/compilers.
Well some initial help from my side also :
printf("This is a test line") --> will print the line on the console.
scanf("%d", &a) --> will accept an integer from the keyboard.
note : %d will accept an integer.
%c will accept a character.
sample code :
void main()
{
int no;
printf("Enter a no : ");
scanf("%d", &no);
printf("The no is : %d\n", no);
}
this program will promt the user to accept a no. and than it will print the same on the console.
Happy programming.. ..
In.
A laptop, internet connection and beer.
-
October 15th, 2004, 10:13 AM
#4
Hi
There are a lot of good tutorials available on the net.
However, I cannot give you a link, since during the
years I looked for specific information, and stumpled
across fine writings. And since the time passed by, the
memory faded away. Who was that, Prof.Dr.Dr.Ebbinghaus? 
Anyway, I can recommend two books by Deitel and Deitel.
C[1] and C++[2].
Of course, there are many quite nice books, but Deitel and Deitel
give you additional hints, if you are interested in side-areas, like
optimising code, software engineering and thelike.
Good luck.
[1] http://www.amazon.com/exec/obidos/tg...glance&s=books
[2] http://www.amazon.com/exec/obidos/tg...glance&s=books
/edit: They also have CBTs (computer based trainings), if I remember correctly.
Depending on the company you work for, they might buy it for you.
If the only tool you have is a hammer, you tend to see every problem as a nail.
(Abraham Maslow, Psychologist, 1908-70)
-
October 15th, 2004, 03:37 PM
#5
Well, if you are just beginning in the C programming world, I would suggest that you skip C and go to C++. C++ has a more object oriented approach to programming and will not limit you as much as C may do in the future.
As for a book I would highly reccomend
"Problem Solving with C++: The Object of Programming" 5th Edition by Walter Savitch
ISBN: 0-321-26865-2
It really puts the c++ language into perspective in an easy to use reading layout.
xmaddness
Planet Maddness Industries
http://www.planetmaddness.com
-
October 15th, 2004, 03:59 PM
#6
Here are the lecture notes for my C class http://www.cs.utsa.edu/~mmaltrud/CS2...res/index.html
We don't really use a book so all our info is from those lectures.
http://www.cs.utsa.edu/~mmaltrud/CS2213/ is the main page. If you are interested in trying the assignments, I can get you the base code which he has us copy from a directory you can only access if you have an account. Just pm me if interested in the assignments.
-
October 15th, 2004, 05:27 PM
#7
hi all ,
i think jin has just started with C and everybody is giving him tips for C++ hehehe 
if he got scared of C++ he will never ever come near to C also hehhee. 
just kidding. 
In.
A laptop, internet connection and beer.
-
October 18th, 2004, 04:55 AM
#8
Senior Member
thanks guys
for the tips
im really trying my best in this...
Pray For Me so I'll be a good programmer someday!!!
Thanks guys
God Bless You all!!
-
October 18th, 2004, 05:07 AM
#9
Senior Member
OHH I ALMOST FORGOT
I ALREADY PURCHASED A VISUAL C COMPILER AND BORLAND C COMPILER
ILL TRY THIS TWO GUYS.
IM GONNA TRY WHAT'S THE DIFFERENCE OF THE TWO..
THANKS GUYS ....
-
October 21st, 2004, 06:33 AM
#10
Hi
The difference between them is that the visual compiler lets u create windows based applications easily while the borland compiler creates dos based applications.
A very good book " Let Us C " by an indian author Yashwant Kanitkar can be helpful or any basic C title by famous author Robert Lafore is good for a start.
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|