473,836 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help me learn C

hi everybody am new to this group and help me to learn C

Apr 29 '06 #1
85 4173
ed
On 29 Apr 2006 12:29:17 -0700
"abhi" <he************ **@gmail.com> wrote:
hi everybody am new to this group and help me to learn C


Have a look at this hello world program, make changes to it, make it
read some input, have a play :)

#include <stdio.h>

int main() {
printf( "Hello world\n" );
return(0);
}

--
Regards, Ed :: http://www.linuxwarez.co.uk
just another python hacker
:%s/Open Source/Free Software/g :: Free DNS available

Apr 29 '06 #2
well abhi

go to the site

http://accu.org/index.php/book_reviews?ur l=search.xqy?fi eld=subject&ter m=beginner's+c

and identify recommended C books(not C++), then try to get hard copy of
these books and start working on it

Apr 29 '06 #3
aa*****@gmail.c om wrote:
well abhi

go to the site

http://accu.org/index.php/book_reviews?ur l=search.xqy?fi eld=subject&ter m=beginner's+c

and identify recommended C books(not C++), then try to get hard copy of
these books and start working on it

Please quote your context. There are dire consequences I've been told to
stop exaggerating if you don't.

--
"Every prime number in a series as a joke
Made all the patterns clear when I took that final toke"
- - Andrew Poelstra <http://www.wpsoftware. net/blog>
Apr 29 '06 #4
Help you learn C eh? That's quite the boon to ask. The C language is
extremely large containing numerous standard features and even more
nonstandard ones. One of the best C tutorials that I know of can be
found free online at:

http://www.cs.cf.ac.uk/Dave/C/CE.html

It assumes that you are using some sort of *nix system however all of
the information presented is still relevant (okay nearly all of it once
you get near the end some OS specific stuff is presented but its easy
enough to ignore this).
I read most of this tutorial and it help me to lean the basics and more
intermediate concepts of C. If you want to learn the really advanced
stuff the only way to really do it is to buy a book. Some online
tutorials present advanced information however it is often OS specific.
What's wrong with book anyway?
Nori

Apr 29 '06 #5
[snip]
Please quote your context. There are dire consequences I've been told to
stop exaggerating if you don't.

--
"Every prime number in a series as a joke
Made all the patterns clear when I took that final toke"
- - Andrew Poelstra <http://www.wpsoftware. net/blog>


If anyone had thought the question serious, then the answer might have
appeared before your shameless, self-promoting, commercial hyperlink. To
the extent that you think primes are are joke, it's on you. Joe
Apr 29 '06 #6
no*********@gma il.com wrote:

Provide context please. There is no guarantee that people can see the
post you are replying to. See the bits about posting from Google here
http://clc-wiki.net/wiki/Intro_to_clc
Help you learn C eh? That's quite the boon to ask. The C language is
extremely large containing numerous standard features and even more
nonstandard ones. One of the best C tutorials that I know of can be
found free online at:

http://www.cs.cf.ac.uk/Dave/C/CE.html
I can see a few problems just from looking at the page about basics. The
specification of the sizeof of integer types is wrong, an example
program calling printf without having first included stdlib (printf
*required* a prototype in scope because it takes a variable number of
parameters), it uses implicit int in examples which is a bad idea.
It assumes that you are using some sort of *nix system however all of
the information presented is still relevant (okay nearly all of it once
you get near the end some OS specific stuff is presented but its easy
enough to ignore this).
A lot of the information seems to be incorrect.
I read most of this tutorial and it help me to lean the basics and more
intermediate concepts of C.
In that case you will probably have to unlearn a number of things.
If you want to learn the really advanced
stuff the only way to really do it is to buy a book. Some online
tutorials present advanced information however it is often OS specific.
What's wrong with book anyway?


I would recommend reading the comp.lang.c FAQ and buying a copy of K&R2
(see the bibliography of the comp.lang.c FAQ).
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc

Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php
Apr 30 '06 #7
In article <11************ **********@u72g 2000cwu.googleg roups.com>,
no*********@gma il.com <no*********@gm ail.com> writes
Help you learn C eh? That's quite the boon to ask.


I can help you to use Usenet.

1 don't use the broken google interface to Usenet.

2 if you really muse use the broken google interface then set the reply
to quote the message you are replying to otherwise the vast majority of
Usenet users who use real newsreaders can not see what the hell you are
replying to.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Apr 30 '06 #8
abhi said:
hi everybody am new to this group and help me to learn C


*THE* C book is:

The C Programming Language, 2nd Ed. Kernighan & Ritchie. Prentice Hall,
1988. ISBN 0-13-110362-8 (paperback), or 0-13-110370-9 (hardback).
http://c-faq.com/resources/index.html should be your first stop on the Net.
I hope you will also find this page useful:

http://www.cpax.org.uk/prg/portable/c/resources.php

It lists good books, Web tutorials, and other C resources that you should
find helpful in your quest to learn C.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Apr 30 '06 #9
In article <L5************ *************** ***@bt.com>, Richard Heathfield
<in*****@invali d.invalid> writes
abhi said:
hi everybody am new to this group and help me to learn C


*THE* C book is:

The C Programming Language, 2nd Ed. Kernighan & Ritchie. Prentice Hall,
1988. ISBN 0-13-110362-8 (paperback), or 0-13-110370-9 (hardback).


It is over 18 years old now. The language has moved on a long way since
then. The current C standard is about twice the size of the 1990 version

Also K&R is a language definition Much like a dictionary. Yiu do not use
a dictionary to learn to write novels or business reports.

Try the book review section at http://www.accu.org
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Apr 30 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2855
by: Tomislav Lepusic | last post by:
Hello, I don't know if this is the right group (I'm more in Perl, know nothing about Python), so if you can help me thanks, if not, sorry to bother you. I'm working on my student project and I'm totally lost and don't have any idea how to continue, and the deadline is 1.9.2004. Please help, 'couse i'm loosing myself in this XML/SOAP/RPC/WSDL things......
10
2123
by: atlanta | last post by:
this is a simple C++ program to write. "Write a complete and functioning structured program that successfully compiles on Visual C++ 6, that uses two-dimensional array (5x5) that stores numbers. Read in the numbers, print them forward and backward." i dont know How to write C++.
5
2199
by: John Flynn | last post by:
hi all i'm going to be quick i have an assignment due which i have no idea how to do. i work full time so i dont have the time to learn it and its due date has crept up on me .. As follows: Objectives The purpose of this assignment is to have you practice the design of object-oriented classes, including one or more of the following concepts
4
1639
by: Weasel | last post by:
Hey everyone, My names John and i just recently joined this googl group, and I joined because i need some help. I'm currently a Sophomore in High school and i'm really interested in computer programming well i have been for about 8 years... My brother graduated last year from UCR majoring Computer science and he now works for a buisness programming... well anyways i want to start programming, my brother gave me a c++ book he used but i...
2
3948
by: BT Openworld | last post by:
I have just had to upgrade to Access 2003 as Access 97 EMail (SendObject) doesn't work when loaded on Windows XP. I'm finding my way around Access 2003 but my biggest problem is getting information. When I bought Access 1.0 many years ago, I got a paper manual and an excellent help file with all you needed to know. With Access 97 the manual came as a 'Building Applications' document on the CD and I still had the excellent help. With Access...
5
2152
by: Rated R1 | last post by:
I wrote this before in the NGs, so I am going to paste the responses that I got and see if someone can please help me. Email me and we can set something up as Id even be willing to pay for your time to get me to learn this procedure: MY ORIGINAL POST: I am trying to create a database for my small business. I have typed a bunch of information in a table in 5 columns (style, mm, karat, quantity, labor cost). We have different labor...
21
2642
by: Corey Dyke | last post by:
k here's the deal. im in desperate need of help with C#. i'm taking a course at DeVry now and we're doing C#. i've done C++ last semester, so i know i should be able to catch on to this stuff. but i can't seem to get a grasp on it at all. i don't know how C# really works. and i have a program due on tuesday. here's what it is.. we have to write a program to as the user to enter a choice to display a multiplication table for numbers...
11
1369
by: Jim Madsen | last post by:
Hi all-- Two years ago I bought a copy of vbdotnet2003 and the book "Learn MS VBDotNet 2003 in 21 Days", published by Sams. I started working through the book, but lost interest. This Christmas, I decided I would continue trying to learn this language. I am not a programmer, and am trying to learn this as a matter of personal interest and increasing my career potential. I have many questions, that aren't up to the types of...
3
477
by: Fireseeker | last post by:
Hello. I am very new to Visual C++. I ussually program using Visual Basic 6.0 (i have Visual Studio 6.0 Enterprise Edition) but i really like games, so i tried to make one on Visual Basic but i cant make a 2d side scrolling game using VB6 . So i want to learn Visual C++ So I can make 2D Side Scrolling Games and 3D Games in the future. But I have no Idea what to do. I want to learn the Basics first, like creating a text box and a button and...
0
9668
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10588
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6978
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5647
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5823
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3112
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.