Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AceRimmer

    Ampersand character in strings to be concatenated

    The problem is probably due to the size of the char array s1 not being large enough to contain the concatenated strings. The ampersand has no special meaning inside a string, its just like any other character. Try out the following code: #include <stdio.h> #include <string.h> int main() {...
  2. AceRimmer

    true randomInt

    You should use the Random class within the java.util package. The method nextInt() can be used to generate a new random number as shown in the following code : import java.util.Random; class RandomNumbers { public static void main(String [] args) { int generatedNumber, i...
  3. AceRimmer

    true randomInt

    You should use the Random class within the java.util package. The method nextInt() can be used to generate a new random number as shown in the following code : import java.util.Random; class RandomNumbers { public static void main(String [] args) { int generatedNumber, i...

Part and Inventory Search

Back
Top