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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Luckygold6

  1. Luckygold6

    How Do Combinations of ¦¦ and && Work?

    Wow... thank guys. I never knew parentheses could be used in those areas of th code!
  2. Luckygold6

    How Do Combinations of ¦¦ and && Work?

    What order do they work in. For example, if I entered the following code, how will it execute? if (arArray[iC][1] == 0 || arArray[1][iB] == 0 && iC < 5 && iB < 5) When it reads the code, does it read it as: 1. arArray[iC][1] == 0 or arArray[1][iB] == 0 must hold true and iC < 5 and iC < 5...
  3. Luckygold6

    Use Continue Statement in If?

    Good idea. Thanks.
  4. Luckygold6

    Use Continue Statement in If?

    I was wondering if I could use continue in a nested if statement to rerun the statement if something is held true. Ex. if (iC = 0) { } else if (iC = 1) { } else if (iC = 2) { continue } Could I use the continue to reloop the entire if statement?
  5. Luckygold6

    problems with random_shuffle() in &lt;algorithm&gt;

    This is because when the computer is unable to literally randomize. When the computer randomizes, it prints from a sequence of numbers. As a result, everytime the program is run, it selects from the same list so the same sequence is given. When using the rand() % number(or variable); command...
  6. Luckygold6

    How do I Send Double Arrays from One Funciont to Another- Please Help

    Sorry about the typo. Funciont = Function
  7. Luckygold6

    How do I Send Double Arrays from One Funciont to Another- Please Help

    I'm trying to send a dourble array to another function, but I can't figure out how. ex. How would I send an array named Array[5][5] to another function? Thanks in advance.
  8. Luckygold6

    Changing Colors of Text in MS-Dos Output Syntax- Please Help

    I'm looking for the syntax to change the color of text in MS-Dos. For example: cout << &quot;Example&quot; << endl; How could I output it in color? Thanks in advance.
  9. Luckygold6

    Colors in MS-Dos Window- Please Help

    Interesting... Can you elaborate on how I could do so? Thanks in advance.
  10. Luckygold6

    Batch of Questions- Please Help!

    Thanks!
  11. Luckygold6

    Colors in MS-Dos Window- Please Help

    If anyone would also like to help elaborate it, please do so! Thanks in advance and thanks to jennyy.
  12. Luckygold6

    Colors in MS-Dos Window- Please Help

    Thanks!
  13. Luckygold6

    C++ How Does Sleep Work?

    Thanks!
  14. Luckygold6

    Colors in MS-Dos Window- Please Help

    Can you please explain the code listed on that page? Thanks in advance.

Part and Inventory Search

Back
Top