Difference between revisions of "User:Jaburton1"

From CDOT Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
<tr>
 
<tr>
 
<th style="padding: 0.2em 1em 0.2em 0.2em; background: transparent none repeat scroll 0% 0%; line-height: 1.2em; text-align: left; font-size: 90%;vertical-align: top;">IRC</th>
 
<th style="padding: 0.2em 1em 0.2em 0.2em; background: transparent none repeat scroll 0% 0%; line-height: 1.2em; text-align: left; font-size: 90%;vertical-align: top;">IRC</th>
<td class="" style="padding: 0.2em; line-height: 1.3em; vertical-align: middle; font-size: 90%;">Nothing Yet</td>
+
<td class="" style="padding: 0.2em; line-height: 1.3em; vertical-align: middle; font-size: 90%;">jaburton1</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 24: Line 24:
 
<tr>
 
<tr>
 
<th style="padding: 0.2em 1em 0.2em 0.2em; background: transparent none repeat scroll 0% 0%; line-height: 1.2em; text-align: left; font-size: 90%;vertical-align: top;">Blog</th>
 
<th style="padding: 0.2em 1em 0.2em 0.2em; background: transparent none repeat scroll 0% 0%; line-height: 1.2em; text-align: left; font-size: 90%;vertical-align: top;">Blog</th>
<td class="" style="padding: 0.2em; line-height: 1.3em; vertical-align: middle; font-size: 90%;">Nothing Yet</td>
+
<td class="" style="padding: 0.2em; line-height: 1.3em; vertical-align: middle; font-size: 90%;">http://invinciblyignorant.wordpress.com</td>
 
</tr>
 
</tr>
  
Line 37: Line 37:
  
 
====OOP344====
 
====OOP344====
====DBS301====
 
====INT322====
 
====SYS366====
 
====EAC397====
 
 
 
 
Notes for the first class:
 
 
In Visual Studio: Click on Projects - Other Languages, Visual C++ win32 and win32 console application
 
 
Application settings - console application and empty project
 
 
There are two types of variables: integers and floating points
 
 
Integers: long - 4 bytes, short 2, int 4 (or 2 or 8), char 1, long long - 8,  pointer 4
 
 
Floating Points: double, float, long double
 
 
Floating points have precision, which means they are not precise. NEVER compare two floating points for equality. It won't work. THe way to do that is deduct one from the other. If it is 0, they are equal.
 
 
operators: assign and return a value, so j= k+2 is the same as writing j = 2; the statement k+2 returns a value of 2 to the variable j.
 
 
conditions: !j (turns the variable j into a condition) if j is 0 it will be true (or 1) else it will be false (or 0).
 
  
question at end: answer n+= !a[i]; he wanted inside a for loop to only assign the 0's to variable n.
+
[[Class Notes]]

Latest revision as of 13:37, 10 June 2010

Jason Burton
Jason.jpg
Team ICANHAZCODE?
Email jaburton1@learn.senecac.on.ca
IRC jaburton1
Home Page Nothing Yet
Blog http://invinciblyignorant.wordpress.com

Jason Burton is a student at Seneca College. He is studying computer programming.

Course Information

OOP344

Class Notes