1,105,546 Community Members

basic commands and syntax in c language

Member Avatar
lizjci
Newbie Poster
1 post since Nov 2004
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

im studying programming fundamentals..I dont know what is the commands and syntax of c language, pls can u give me some definition and information about c language...thnks!!!!!!!!! ;)

Member Avatar
vegaseat
DaniWeb's Hypocrite
6,984 posts since Oct 2004
Reputation Points: 1,544 [?]
Q&As Helped to Solve: 1,872 [?]
Skill Endorsements: 67 [?]
Moderator
 
0
 
Member Avatar
Narue
Bad Cop
12,139 posts since Sep 2004
Reputation Points: 5,693 [?]
Q&As Helped to Solve: 1,537 [?]
Skill Endorsements: 81 [?]
Team Colleague
 
0
 

>im studying programming fundamentals..
Then why are you learning C?

>pls can u give me some definition and information about c language
Get a good book. Online tutorials have a tendency to suck ###. A good tutorial/reference book is The C Programming Language by Kernighan and Ritchie.

Member Avatar
Asif_NSU
Posting Whiz
353 posts since Apr 2004
Reputation Points: 25 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 0 [?]
 
0
 

Online tutorials have a tendency to suck ###. A good tutorial/reference book is The C Programming Language by Kernighan and Ritchie.

>>This book will suck ur brain out.

Member Avatar
jwenting
duckman
8,359 posts since Nov 2004
Reputation Points: 1,399 [?]
Q&As Helped to Solve: 447 [?]
Skill Endorsements: 35 [?]
Infraction Points: 5
Team Colleague
 
0
 

This book will suck ur brain out.

Only if it wasn't properly attached to the common sense.

Member Avatar
serfurj
Light Poster
35 posts since Dec 2004
Reputation Points: 7 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

>pls can u give me some definition and information about c language
Get a good book. Online tutorials have a tendency to suck ###.

not from my experience. every time i buy a programming book, it ends up sitting on the shelf while i find the best documentation online.

Member Avatar
khkwa
Newbie Poster
12 posts since Nov 2004
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

I think the question is how one make use of the information at hand, regardless of the source. In this case, who care whether it is a book or an online tutorial?

Member Avatar
serfurj
Light Poster
35 posts since Dec 2004
Reputation Points: 7 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

books are expensive.

Member Avatar
Sphyenx
Posting Whiz
366 posts since Aug 2004
Reputation Points: 0 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 0 [?]
 
0
 

Well from the basic's C is well one of the most flaxible language's with almost every person in this forum looking at it, almost every day. Well some of us. Now I wouldnt say C is based on commands. But more of what you tell it to do using variable's, interger's, floating points ETC. The # 1 used instruction you will give it is #include <the library you choose.h, which is most likey stdio.h, or stdlib.h. Abbrivation of coarse. Lasy programmers!. stdio means standard input/output, stdlib means standard libary. Tere are a lot of librarys i can not get in to at this moment. Also with C, everything needs a function printf(), main() etc etc. lol. You will learn more of that in class or book's. Heres a basic set up.

#include <stdio.h>
main()
{
printf(hello sexy); /*this is a comment. thjese make a program easier to read when needing edit's. The /, make it so that the program wont read it as a sequence. All programs, and lines of code have to produce and ending sequence. In C that is ;. Other wise C would keep going producing a syntax error, because it is a computer and doesnt know what to do. lol =) */
}

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article