Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Blue Pelican Java Project 11... please help

Name: Anonymous 2007-09-26 1:47 ID:AkvBcXjS

Write a program that will allow a user to input his name. The prompt and input data would look something like this:
Please enter your name. Peter Ustinov

Using a for-loop and the String method, substring(...), produce a printout of the reversal of the name.

For example, the name Peter Ustinov would be:
vonitsu retep

Notice that the printout is in all lower-case. Use the String method, toLowerCase() to accomplish this.

and btw this book can be downloaded here: http://www.bluepelicanjava.com/downloadBook_bpj.htm

Name: Anonymous 2007-09-27 13:16 ID:nT+xKl1i

Any function that checks the length of a string is O(n). it cannot be less.
Wow. That whole section there is a long parade of ignorance. It looks like you have yet to learn addition and subtraction.

Also, if you think C++'s std::string is somehow any good, you're a damn idiot. Definitely no experience. Maybe read comp.lang.c++.moderated a bit, this shit isn't news.

Don't go about array bound checks and null terminator crap, please.
Why not? It's a big problem, stone-age PDP-11 idiots to the contrary. OH SHIT SORRY, C IS PERFECT!!1!

One could claim the concept is shitty, but the functions are perfect.
They're perfect yet str* let buffer overflows happen. Right on, fucker..

Look, brat, I'm so sorry some of us disagree with you. Get a few more years of C under your belt and we'll talk again, okay? You claim to know C, but you don't know about these issues? Right!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List