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-26 18:52 ID:siosVzdr

>>22
Shitty strings and type system are two big reasons. And I was talking about the ones affecting this program alone, not everything that sucks about C.

>>24
What is wrong with the standard string handling?
Not again... Murk loar.

elaborate
Python, lol

>>29
Yes, that's *EXACTLY* the problem.

>>30
Whoa.. actually wanting a library for C that does not depend from null terminator.. you're a fucking PHP programmer aren't you?
No, you're the fag. Also, binary unsafe strings aren't the only bad thing about C strings. Others are lack of Unicode (wchar_t? mbstombwhatever? That's a joke!), O(n) strlen (an important caveat) and other operations, shitty quality functions such as strcpy, strtok, etc., what else do you want? Pretty much every bit of C strings is made of shitty and failure, and part of it is spiced with a "rape my stack" flavour.

Because having a huge standard library is awesome am i right?
Yes, exactly. It makes things useful and portable.

Because C does not stand for Cool. C stands for hardCoded.
C also stands for "hard coded", as well as crappy, cumbersome and crude. I wish it stood for Cudder instead.

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