Showing results 1 to 2 of 2
Search took 0.00 seconds.
Posts Made By: samarth
Forum: C++ Mar 12th, 2005
Replies: 2
Views: 2,922
Posted By samarth
Re: prime numbers homework trouble

Hi,

1) The "break" statement after the return does not have any effect
2) I think the logic of the program is incorrect and that may be the reason why the program returns non primes. Can u try the...
Forum: C++ Feb 23rd, 2005
Replies: 1
Views: 9,113
Posted By samarth
C++: ifstream file pointer not getting reset

Hi,

I have the following piece of code. I do the following here

1)open a file.
2) Print the filepointer positon . I get 0
3)Read the file in a while loop till i reach the end
4)close the...
Showing results 1 to 2 of 2

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:47 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC