Below is just an adapted conversation placed in such that it slightly resembles scenarios where I had short chat with some of my friends who were doing programming (Note: It's not specific to any programming language, just an example only).
//'*' refers to a pointer
//int means Integer
//variable in this context means person
/*A or B does not refer to the same person, just indicating it's a person*/
int situation;
Variable A, B, C, me;
switch (situation)
{
Case 1:
A = "YESH I finally gotz a DATE!";
Me = "Really? Who who who?";
A * program_built_that_finally_shows_the_BLOODY_date!;
break;
Case 2:
A = "Can you C?";
B = "I can't see at all! Where?";
A = "Then, you should C++!";
B = "Oh yah! LOL";
Me = "Wtf?! Gimme a break";
break;
Case 3:
A = "When one class inherits another privately, what happens?";
B = "EASY! All parts are private then - Private parts!";
C = "LOL we are all individually divided into 3 parts - public [head],
protected [body] and private [below]";
Me = "ROFL!";
break;
Default: "Error, life not found. Recompile please";break;
base on ur default statement...recompiling
ReplyDeletethe result as below :
error C2134: syntax error: missing ';' before ':'
fatal error C1075 : end of file found before the left brace '{'
error C2447 : '{' ,missing function header (old-style formal list?)
Build log was saved at "http://josm.blogspot.com/"
Speaking with Programmers... - 3 errors, 0 warning(s).
Build : 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Reading this post makes me realized that I've returned my knowledge on programming to my lecturer in foundation! =p
ReplyDelete@gooddell:
ReplyDeletewill visit you soon.. :)
@aunty_alex:
ROFL! wtff.. nice one..
was speechless for one whole minute! but burst in laughter.. :D
@jacquelyn:
*hugs* yeah, im stuck with it for these few semesters.. until i graduate.. O_O