Go Down

Topic: Advice to those of us learning to program in C/C++ (Read 1 time) previous topic - next topic

retrolefty

Oct 25, 2010, 05:27 am Last Edit: Oct 25, 2010, 05:36 am by retrolefty Reason: 1
Saw this comment on the slashdot site:

Quote
"Compilers are like boyfriends, you miss a period and they go crazy on you."

;D

Lefty

mowcius

#1
Oct 25, 2010, 10:08 am Last Edit: Oct 25, 2010, 10:08 am by mowcius Reason: 1
;D


more often a semicolon with c/c++ though  ;)

simon.monk

#2
Oct 25, 2010, 10:30 am Last Edit: Oct 25, 2010, 10:31 am by simon.monk Reason: 1
Compilers are the ultimate pedants.

I used to use a Pascal compiler that would say something like 'semi-colon missing after final end'.

To which I would reply: 'if you know its missing, why the **** can't you put it in yourself'
--
I write books about Arduino and Electronics: http://simonmonk.org

mowcius

Quote
To which I would reply: 'if you know its missing, why the **** can't you put it in yourself'

Haha - could have a coding auto-correct system but then everyone would get lazy...

Osgeld

#4
Oct 25, 2010, 03:25 pm Last Edit: Oct 25, 2010, 03:25 pm by Osgeld Reason: 1

Quote
Haha - could have a coding auto-correct system but then everyone would get lazy...


insert jab at Microsoft here
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

UltraMagnus

Quote
I used to use a Pascal compiler that would say something like 'semi-colon missing after final end'.

Oh, that is nothing, the haskell compiler will spew out garbage at you if you miss a tab.

retrolefty

Quote
Oh, that is nothing, the haskell compiler will spew out garbage at you if you miss a tab.


I knew a bartender just like that.

SteampunkProfessor

Pointers, pointers, pointers. Once you get past the really simple stuff, these will haunt you for the rest of your life. They make quantum mechanics look simple and I should know, I got my degree in physics  :)

westfw

Learning an assembly language is useful for understanding higher-level languages.  Especially for understanding C pointers...

Go Up