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...
Type: Posts; User: Jas11
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...
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...
Thanks alot guys... that has been a huge help :)
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...
Would it be possible to use the cin.get function to do this as well ?
Thanks alot guys...
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...