CG Technical Area > Programming

Basic C programming

(1/1)

DBag:
So I am taking Basic C so any questions anyone has It would be nice for the people that know how to program to help us out with this. I know I will be posting questions about it here soon

Burgers-13:
actually ima do the same on this thread,, since we share majors

so far i just started with dream weaver, its for web design but i try to use it for coding to see how things looks. tho i would try to learn html 5 since technically it seem to be moving that direction.. umm yeah

DBag:
So something you may need to know is that this EX: if (statement);
That semicolon is a no no.                                           else

Correct way.

if (statement)
   else;

Never use a semicolon after an if statement. you can after else only because it is declaring what to do in the event that the if statement is false, or does not meet all the criteria that has been assigned to the statement.

And question to someone who may know this. for the life of me I cannot remember what the % sign represents. I know what to do with it but if someone could remind me what is means that would be helpful.

Navigation

[0] Message Index

Go to full version