Author Topic: About C language.  (Read 2437 times)

Well, I'm studying C at my school this year, and making an ASCII logo with printf is loving boring.
Anyone here learned\learns C and maybe he can give me some tips?

So they offer C coding language classes at your school? That's awesome. Where do I find these classes?

Depends on what you want to know?

General tips would be to keep your variable names clean and meaningful, proper indentation and spacing, as well as keeping those things consistant throughout your code.

Anything more specific?

A basic command list please.


C# or C++?
C you dumbforget.
I would of wrote c# or c++ if I wanted those.

So they offer C coding language classes at your school? That's awesome. Where do I find these classes?
Its a part of our electronics program.

C you dumbforget.
I would of wrote c# or c++ if I wanted those.
U mad?
Way to rage at a person that didn't know.

U mad?
Way to rage at a person that didn't know.
Sorry, kind of raging today.
Excuse me.

Another tip for you: Remember to comment your code.
Code: [Select]
int lolwut(){
 /* this is
a multi-line
comment
-------------------
THIS

IS

SPARTA!
*/
 killbadguize(43,10); //this kills bad guy 43 for reason number 10
}
:cookieMonster:

On a serious note, it is best to keep your code with comments, so that you know what it does after months working on it.

On a serious note, it is best to keep your code with comments, so that you know what it does after months working on it.
That's the different side of me. I can read code like it's a book written in English.
Problem is, that because of this, I do not write comments. When people look at my code, they have no idea what I did.

You should always keep a habit of writing comments on parts of code. My friends Old school that he used to goto required the student to completely explain what every bit of code did, basically they'd code something then have to completely translate it to plain English. Consider notes being the easier thing to do :D

Again, thanks for the tips, but I would be glad for some basic commands to use with C.

For example, what the forget does void main() mean?

For example, what the forget does void main() mean?

:|

That goes at the beginning of everything you do.

:|

That goes at the beginning of everything you do.
Okay.

I guess I'm not being clear enough.
I want just a list of commands and use please.
For exapmle:
Command- use
Command - use
etc.