New to C

H

Hakam Chadhar.

hi..........i am new to C language and i want be expert...please help
me from 1st step..........i will be very thanks
fulll..........................
 
B

baumann@pan

once you know something about C, you may further ask in the group, or
resort to the ansi c standard or the vendor's manual.
 
M

Mark F. Haigh

Hakam said:
hi..........i am new to C language and i want be expert...please help
me from 1st step..........i will be very thanks
fulll..........................


Why do I get the feeling that C isn't the only thing you're new to?



Mark F. Haigh
(e-mail address removed)
 
K

Keith Thompson

Hakam Chadhar. said:
hi..........i am new to C language and i want be expert...please help
me from 1st step..........i will be very thanks
fulll..........................

Kernighan & Ritchie, "The C Programming Language", 2nd Edition.

(And fix your '.' key.)
 
J

jacob navia

Hakam said:
hi..........i am new to C language and i want be expert...please help
me from 1st step..........i will be very thanks
fulll..........................
Well download the tutorial and the compiler from
http://www.cs.virginia.edu/~lcc-win32.

The tutorial tries to explain things from the basics,
you just follow the steps indicated there.

BUT
It supposes:

1) You know how to use the keyboard (specially it supposes a
working keyboard not one with the '.' key stuck)
2) You know what a compiler is, a programming language is,
and in general that you know how your OS (Windows in this
case works). If you do not know what I am talking about
read an introduction to windows FIRST)
 
P

Paul Mesken

read ansi c standard first, and play with it

Like setting it on fire? ;-)

I don't think reading the Standard is a good introduction.

As far as books go, I would read the following in this order :

- "The C Programming Language 2nd Edition" (Kernighan/Ritchie)
- "C Programming FAQs" (Summit)
- "The Standard C Library" (Plauger)
- "C Traps and Pitfalls" (Koenig)
 
E

Emmanuel Delahaye

Hakam Chadhar. wrote on 03/06/05 :
hi..........i am new to C language and i want be expert...please help
me from 1st step..........i will be very thanks
fulll..........................

If you are an absolute beginner in C, you are not in the right place.
(This forum is more for semi-experienced, say 3-6 month, with a hard
skin...)

1 - get a C-book (see other posts)
2 - try by yourself with the help of the book.
3 - ask for help (with code) at with a
[C] tag when you are stuck.

Good luck.

--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html

"There are 10 types of people in the world today;
those that understand binary, and those that dont."
 
M

Malcolm

Hakam Chadhar. said:
hi..........i am new to C language and i want be expert...please help
me from 1st step..........i will be very thanks
fulll..........................
Write "hello world" and run it. This is often quite a hard step. You need to
get your complier installed and working.

Modify "Hello world" to print "Hi world".

Modify the the program to print, "hello, 2 * 2 is [answer] ", and calculate
2 * 2.

Modify the program to take the user's name as a command-line argument, and
print "hello Fred" (or whatever).

Modify the program to take a file name as an argument, open it, and print
"hello world" to the file".

Modify the program to take a file name as an argment, open it, and print the
contents to the screen, printing an error if it doesn't exist.

Modify the program to print "What's your name?", input the name from the
console, and print "hello [name]". Make sure that the user cannot crash your
program by typing in a massively long name, and maybe also check for
gibberish names like "!s54j&&" [ hard ].

Now you're away. You've got your basic input and output working. So you can
start on something more ambitious, such as "twenty questions" or "lunar
lander".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

New to C 1
How to learn C code? 2
How to change background color to fit shape 1
C++ vs Python 3
New Learner 0
Homework in C - Help Needed 1
Beginner at c 0
Hello I'm new to coding 1

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top