944,150 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 43955
  • C RSS
Nov 13th, 2004
0

basic commands and syntax in c language

Expand Post »
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!!!!!!!!!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lizjci is offline Offline
1 posts
since Nov 2004
Nov 13th, 2004
0

Re: basic commands and syntax in c language

Moderator
Reputation Points: 1333
Solved Threads: 1404
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004
Nov 13th, 2004
0

Re: basic commands and syntax in c language

>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 ass. A good tutorial/reference book is The C Programming Language by Kernighan and Ritchie.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Nov 14th, 2004
0

Re: basic commands and syntax in c language

Quote ...
Online tutorials have a tendency to suck ass. A good tutorial/reference book is The C Programming Language by Kernighan and Ritchie.
>>This book will suck ur brain out.
Reputation Points: 113
Solved Threads: 3
Posting Whiz
Asif_NSU is offline Offline
353 posts
since Apr 2004
Nov 14th, 2004
0

Re: basic commands and syntax in c language

Quote ...
This book will suck ur brain out.
Only if it wasn't properly attached to the common sense.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Dec 7th, 2004
0

Re: basic commands and syntax in c language

Quote originally posted by Narue ...
>pls can u give me some definition and information about c language
Get a good book. Online tutorials have a tendency to suck ass.
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.
Reputation Points: 32
Solved Threads: 2
Light Poster
serfurj is offline Offline
35 posts
since Dec 2004
Dec 7th, 2004
0

Re: basic commands and syntax in c language

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?
Reputation Points: 10
Solved Threads: 1
Newbie Poster
khkwa is offline Offline
12 posts
since Nov 2004
Dec 7th, 2004
0

Re: basic commands and syntax in c language

books are expensive.
Reputation Points: 32
Solved Threads: 2
Light Poster
serfurj is offline Offline
35 posts
since Dec 2004
Dec 7th, 2004
0

Re: basic commands and syntax in c language

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 =) */
}
Reputation Points: 13
Solved Threads: 3
Posting Whiz
Sphyenx is offline Offline
366 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: C code help, please define this use of -> in my code
Next Thread in C Forum Timeline: will someone please help me.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC