Florence Griffith Joyner, who was nicknamed FloJo, has held the women's world record at 100 meters since July 16, 1988. That day she clocked a time of 10.49 seconds. Joyner â¦past away in 1998. Current the fastest women on the planet is Carmelita Jeter. She might pass Joyner with in the coming years.
1 String input = stdin.readLine(); // from console input example above. 2  Use the Integer class to parse the string of characters into an integer. 3  int number = Integer.parseInt(input); // converts a String into an int value. 4  In our case, we needed to convert a String into an int value. In our case, we needed to convert a String into an int value. 2  The parseInt method of the Integer class performs this action. 3  Be sure to review the Integer class javadoc for more information about this and other methods of the Integer class.
You need to create the array, because sizeof(int) is (almost surely) different from sizeof(char)==1. Have a loop in which you do char_example[i] = example[i] . If what you want is to convert an integer into a string you could just sum your integer to '0' but only if you're sure that your integer is between 0 and 9, otherwise you'll need to use some more sophisticated like sprintf. share | improve this answer. answered Jan 17 '11 at 11:59. peoro.