Software Engineer by Birth

  • Thread starter Thread starter manu1991
  • Start date Start date
  • Replies Replies 13
  • Views Views 2,522

manu1991

Ancient Philospher
Messages
8,696
Location
London
ISP
Hyperoptic
The Teacher asked the student to write an imposition for 500 times that

" I Will Not Throw Paper Airplanes in the Class ".


This is what the student wrote on board....

http://img524.imageshack.us/img524/445/swtj3.jpg
 
lol smart kid! :rofl:
 
^ einstien didnt know C++ 😛
So it doesnt mean that his son cant know 😛😛
 


Even faster in perl. hehe!print "I will not throw paper airplanes in class.\n" for (1..500);oh and btw its in C not C++
 
Its C++ since declarations are required in C++, not in Cmain(){for(i=0;i
 
^ was gonna say that just now.looks like its a mixture.😛
 
Well there is noting like "cout" in pure c++ or "printf" in pure c.Both of these are library functions. You can have your own implementation of cout if you wish, just change the lirary that is used by linker.
 
I don't mean to nitpick but I say its C not C++ because in C you would normally do #include whereas in C++ you would normally do #include
 
Code will compile and work in either C/C++ compilation....Point is, Code that is C but not C++ is an ecxeption since by design C++ is supposed to be superset of C.
 
i think the code will not complie.....coz its written on a blackborad 😛dont kill the joke guys !!
 

Top