# Thread: C Lessons

1. ## C Lessons

I started wrting c lessons for absoulute begginers to advanced users, I think material can be considered quality, and my students learn programming with this stuff. If you wish feel free to start reading it here:

www.visualcmaniac.com

its only 5 lessons for now so maybe could be easier for you to start following it now in the beginning. Hope I helped..materials will be published on daily base. Enjoy now, or later when I reach more advanced topics...

2. Some critique for you..

1.The black background is hard to read- Not the most user friendly for tutorials.

lesson 5:

To avoid this kind of unwanted results, its smart to use given transformation of data types mentioned in Lesson 4 (its enough to use it only once on one operand) or to set constants so at least one operand is real type:

a = (float) 1 / 2; or

a = 1. / 2; or

a = 1 / 2.;

Important:

First case shows us way of using given transformation (it could also be used on second operand), and second and third example shows us possibility of adding spot, which declares constant as real number. This makes our result to be processed in real domain.
You call it a transformation- but why don't you call it what is commonly called in the majority of books- an explicit cast...(you could say both)

b) 9 % 4

Result: 1 (% means leftover form division of whole numbers: 9 : 4 = 2 + leftover 1)
Same thing here- it is typically called the remainder not "leftover"

mounting the variables content by 2 (x2), while repositioning one place right is the same as dividing content with 2 (/2).
What is mounting? The majority of you viewer sprobably have no clue what it means though it could be infered- multiplying sounds better (and its once again typically called.

Also, what about right shift and machine dependency...

Lesson 4

Good lesson on transformations- you mention implicit and explicit

but call it what it is- Casting!!!- once again I at least think you should mention the word- even if insist on using transformation

Lesson 3

The use of octet- I think of chemistry not binary numbers- except in networking..use a more common term

Minor nitpicks- but I think you should use terminology that is commonly used as well as your terms...

JC

3. thnks you very much!! since neglish is not my native language, sometimes I can't remember the real term and put wrong one! really appreciated mr.! thank you very much!

gonna edit it, feel free to post more errors you find if you use my site..

thats the thing i want my readers to help me

4. what should i write instead of octal system and octet ? thnks!

5. i took a quick look at that and the word you are looking for is
byte (which i had guessed from the posts here before looking,
but that's beside the point). an octet of bits is always called a
byte, and while we are on it, half of that octet (4 bits) is called
a nibble/nybble (depends on your taste in spelling). this is a less
common term but just so you are aware.

edit: the octal system (i.e. a number system whose base is 8) is
fine, thats the common term

6. thnks will repair that!

7. Conditioning Operator (?
It's usually called the conditional operator.

You might want to make comments a different colour or font style to help distinguish them from regular code. Some of your comments wrap and it's hard to tell they're still comment.

8. Code:
`char [-128, 127]`
Actually, a char can be signed or unsigned, depending on the platform/compiler flags. You should put this instead:

signed char [-128, 127]
char [signed char or unsigned char]

9. doing changes right now! many thanks... really appreciate effort you do!

tomorrow I'll try to fix all the comments...

Popular pages Recent additions