Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 21st, 2008, 7:15 AM   #11
badbasser98
Hobbyist Programmer
 
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4 badbasser98 is on a distinguished road
Re: problems with CopyFileEX

hmm, didn't think of that. However, if that was the case then shouldn't the second method (not using the float variable) work?

I'll continue to mess with it and see if I can pull something out...
__________________
Learning to use C++ and loving every minute of it.
badbasser98 is offline   Reply With Quote
Old Mar 21st, 2008, 10:36 PM   #12
Arla
Hobbyist Programmer
 
Join Date: Mar 2005
Posts: 164
Rep Power: 4 Arla is on a distinguished road
Re: problems with CopyFileEX

No, the second method will still have exactly the same problem, because when it's a problem with dividing an integer by another (at least it is in C#) it doesn't matter what you do, the result is an integer, and with the numbers you divide it's going to be either 0 (if transfered is less than total) or 1 (if transfered = total).

At least again, that's my (possibly completely wrong) guess.
Arla is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
std::cout problems rwm C++ 6 Jul 2nd, 2007 2:39 AM
problems loading 2 dlls in Delphi7 nico765 Delphi 0 Jan 7th, 2006 3:03 PM
2 problems on permutations alejandrito Assembly 0 Dec 15th, 2005 3:07 AM
New Switch, FTP Problems ViOLATiON Coder's Corner Lounge 6 Sep 13th, 2005 1:44 PM
C++ and Fortran Compilation problems wallygato11 C++ 0 Jul 8th, 2005 10:44 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC