User profile: LB

User info
User name:LB
Email:LB@LB-Stuff.com
Location:Richardson, Texas, North America
Website:http://www.LB-Stuff.com/
Bio:Call me "LB", pronounced 'el bee'. No, not pound, that is "lb". Remember, C++ is case sensitive!
Statistical data
Birthdate:May 11, 1995
Gender:Male
Occupation:Programmer
Skills:C
PHP
C++
Assembly
Java
LISP
C#
Javascript
Python
Fusion 2.5 Developer
Scheme
MIPS
History
Joined:
Number of posts:12708
Latest posts:

10001 prime number code
Check your while loop condition. Think: which prime number will the loop stop for?

Bitwise AND in a condition
When a numeric type is given as the condition, you could imagine that there is an implicit [code] !=...

10001 prime number code
Your program is running, it is just taking a long time ;)

A question about <stdlib.h>
See the second post in the thread that is stickied to the top of this forum: http://www.cplusplus.co...

getline is reading in ALL white spaces until endl
Yes, but you need to know when that string ends though. What does your input file look like?