View Single Post
Old 01-01-2017, 08:04 PM   #2958 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Looks good so far motorulf. Just a couple fixes. In C, = is assignment, and == is a test. For example you would do:

if (x == 1) {
Wow! I can't believe it! x is one!
}

y = 1;

// y now contains the value of 1
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
motorulf (01-02-2017)