Welcome to the OzoneAsylum FaqWiki
Frequently Asked Questions
Stupid Mistakes

Application Programming Pages that link to <a href="https://ozoneasylum.com/backlink?for=5277" title="Pages that link to Application Programming" rel="nofollow" >Application Programming\

Add your application programming stupid mistakes here:

------------------------------------

[C]
All of the lines in a C program deserve semi-colons after them. Yup, all of them. Java also except for while () or for() or do

"i = 0" means that 'i' IS EQUAL TO '0' while 'i == 0' actually checks if 'i' equals '0'- No matter how many times you've commited the exact same error. Java also

[Java]
ArrayOutOfBoundsException() usually means your array is declared with x number of cells, numbered from 0 to x-1, and you tried to call ArrayName[x]

{ and } Make sure you have the same number of {'s as you do }'s in each class/method/loop. Compilers generally don't like unmatched braces.

____________________________
Emperor


(Added by: Emperor on Fri 06-Sep-2002)

(Edited by: Lord_Fukutoku on Sun 08-Sep-2002)

(Edited by: Lord_Fukutoku on Sun 08-Sep-2002)

« BackwardsOnwards »

Show Forum Drop Down Menu