15,498,820 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: how do I verify - "all the ducks in the row "? Richard MacCutchan25-Mar-22 23:53 Richard MacCutchan 25-Mar-22 23:53
 Re: how do I verify - "all the ducks in the row "? trønderen25-Mar-22 13:58 trønderen 25-Mar-22 13:58
 Re: how do I verify - "all the ducks in the row "? k505426-Mar-22 6:07 k5054 26-Mar-22 6:07
 Re: how do I verify - "all the ducks in the row "? Richard MacCutchan25-Mar-22 23:51 Richard MacCutchan 25-Mar-22 23:51
 Re: how do I verify - "all the ducks in the row "? Member 1496877128-Mar-22 15:44 Member 14968771 28-Mar-22 15:44
 Re: how do I verify - "all the ducks in the row "? Member 1496877129-Mar-22 7:05 Member 14968771 29-Mar-22 7:05
 Re: how do I verify - "all the ducks in the row "? k505429-Mar-22 7:55 k5054 29-Mar-22 7:55
 Help with calculating percentage in C ForNow20-Mar-22 6:37 ForNow 20-Mar-22 6:37
 Hope no one screams at me but if they do I guess its okay this question is simple its ridiculous but here goes my total number in decimal is 1,621,270,208 the number I am trying to figure out the percent is from is 1,604,667,016 I did this calculation on the web and it came out to 98% the two number the first being total is a int the second unalloc is also a int. the variable percent is a double or float I thought mistaking that percent = unalloc / total woudgive me 0000.98 in percent but I realize that since the quotient is zero percent is 000.000 doing percent = unalloc % total would give the reminder in percent and thus a value of 1604665335.000 I have searched the web I know this is real simple to some of you wonder if you could help thanks in advance
 Re: Help with calculating percentage in C k505420-Mar-22 6:54 k5054 20-Mar-22 6:54
 Re: Help with calculating percentage in C ForNow20-Mar-22 7:47 ForNow 20-Mar-22 7:47
 Re: Help with calculating percentage in C Calin Negru20-Mar-22 9:41 Calin Negru 20-Mar-22 9:41
 Re: Help with calculating percentage in C RedDk21-Mar-22 8:16 RedDk 21-Mar-22 8:16
 Re: Help with calculating percentage in C Victor Nijegorodov20-Mar-22 8:42 Victor Nijegorodov 20-Mar-22 8:42
 Re: Help with calculating percentage in C ForNow20-Mar-22 10:02 ForNow 20-Mar-22 10:02
 How to pass pointers and process them using ellipsis ? Member 1496877118-Mar-22 16:23 Member 14968771 18-Mar-22 16:23
 Re: How to pass pointers and process them using ellipsis ? Richard MacCutchan19-Mar-22 0:08 Richard MacCutchan 19-Mar-22 0:08
 Re: How to pass pointers and process them using ellipsis ? Member 1496877119-Mar-22 5:06 Member 14968771 19-Mar-22 5:06
 Re: How to pass pointers and process them using ellipsis ? k505419-Mar-22 6:01 k5054 19-Mar-22 6:01
 Re: How to pass pointers and process them using ellipsis ? Member 1496877119-Mar-22 9:44 Member 14968771 19-Mar-22 9:44
 Re: How to pass pointers and process them using ellipsis ? k505419-Mar-22 13:00 k5054 19-Mar-22 13:00
 Re: How to pass pointers and process them using ellipsis ? Richard MacCutchan19-Mar-22 7:11 Richard MacCutchan 19-Mar-22 7:11
 working with pointers Calin Negru17-Mar-22 22:48 Calin Negru 17-Mar-22 22:48
 Re: working with pointers Victor Nijegorodov18-Mar-22 0:16 Victor Nijegorodov 18-Mar-22 0:16
 Re: working with pointers Calin Negru18-Mar-22 1:12 Calin Negru 18-Mar-22 1:12
 Re: working with pointers Victor Nijegorodov18-Mar-22 2:39 Victor Nijegorodov 18-Mar-22 2:39
 Last Visit: 31-Dec-99 19:00     Last Update: 26-Nov-22 9:48 Refresh ᐊ Prev1...25262728293031323334 Next ᐅ