Search:

Type: Posts; User: Jas11

Search: Search took 0.01 seconds.

  1. Thread: Loop question

    by Jas11
    Replies
    31
    Views
    3,950

    Loop question

    I have a program that reads in different text files, with random numbers of lines of text.

    How do i setup a loop to stop the program reading in lines of text when it gets to the end of the text...
  2. Replies
    3
    Views
    1,171

    Character counting

    Hey guys... Just wondering if you could give me a hand here... im trying to work out how to count how many characters there are in a string that is read from a text file... it basically reads in some...
  3. Thanks alot guys... that has been a huge help :)

    Thanks alot guys... that has been a huge help :)
  4. Largest prime factor and number of prime factors for a number

    Hi guys... i need some help getting the following code to display how many prime factors there are for a number (in this case the number is represented by a) and also the largest prime factor of that...
  5. Replies
    4
    Views
    2,277

    Would it be possible to use the cin.get function...

    Would it be possible to use the cin.get function to do this as well ?
  6. Replies
    4
    Views
    2,277

    Thanks alot guys...

    Thanks alot guys...
  7. Replies
    4
    Views
    2,277

    Split int variable

    Im VERY new to C++ and programming in general.. so if this is all very simple... sorry.

    Im having trouble trying to divide a number into 2 parts, basically, you have to enter a 7 digit number, and...
Results 1 to 7 of 7