(riddle) Students have to much time at hand...
-
When I still was a student, I posted this in response to an "do my homework quick" question:
The following snippet does Part a) of your question, for appropriate #defines of i,c,sl,tu, and msg.
i cr(c*s){
i d,o,x,l=sl(s);s+=l;
for(i j=l-l;jNow I don't even have the time to translate it back... However, there's at least one "obvious" error - can you figure out? I guess this help Paul to appreciate the clarity and beauty of C++ (edited) whoopsie - dear chris, would you please disable some HTML and/or emoticon features in < pre > if possible???
-
When I still was a student, I posted this in response to an "do my homework quick" question:
The following snippet does Part a) of your question, for appropriate #defines of i,c,sl,tu, and msg.
i cr(c*s){
i d,o,x,l=sl(s);s+=l;
for(i j=l-l;jNow I don't even have the time to translate it back... However, there's at least one "obvious" error - can you figure out? I guess this help Paul to appreciate the clarity and beauty of C++ (edited) whoopsie - dear chris, would you please disable some HTML and/or emoticon features in < pre > if possible???
-
peterchen wrote: *grrr* stupid emoticons LOL put a space as in ; ) Nish It's seven o'clock On the dot I'm in my drop top Cruisin' the streets - Oh yeah I got a real pretty, pretty little thing that's waiting for me
-
When I still was a student, I posted this in response to an "do my homework quick" question:
The following snippet does Part a) of your question, for appropriate #defines of i,c,sl,tu, and msg.
i cr(c*s){
i d,o,x,l=sl(s);s+=l;
for(i j=l-l;jNow I don't even have the time to translate it back... However, there's at least one "obvious" error - can you figure out? I guess this help Paul to appreciate the clarity and beauty of C++ (edited) whoopsie - dear chris, would you please disable some HTML and/or emoticon features in < pre > if possible???
peterchen wrote: for(i j=l-l;j c rd = tu(*s--); the "j c rd" is invalid. j is a variable, c a type, and rd a variable with no punctuation between them. Joel Lucsy (jjlucsy@ameritech.net)