Post
Topic
Board Service Discussion
Re: GAW Miners Paybase Paycoin unofficial uncensored discussion.ALWAYS MAKE MONEY :)
by
paycum
on 13/02/2015, 23:11:24 UTC
So, if I find a PR164d that receives "nFee" then that would show they haven't been destroyed?

No, what I'm saying is that PRI64d is just a placeholder in the string for any integer.

So if I had printf("The Number Is %"PRI64d" In Case You Care\n", 4);

I'd get

"The Number Is 4 In Case You Care"


Indeed the line of code is just an output, used for testing purposes or something like that to see what the results of the output is. its impossible to exactly say what value PRI64d is based on by just showing us these 2 lines of code.


https://github.com/GAWMiners/paycoin/search?utf8=%E2%9C%93&q=pri64d

Please read.

It says its defined as I64d or lld which basically means its a long long decimal. So the output is a number.

But what number depends on the code its been used for as you can use it for any reason you want. So for example if you want to calculate amount of users the PRI64d would be the amount of users. If you calculate keys then PRI64d will be the amount of keys and so on..

So nFees=%"PRI64d" is probably giving nFees the amount of fees
  

It's a print statement,  nFees is not being "given" anything, it's merely saying that the value of nFees is the value held in some variable that is a lld data type, which in this case is the variable nFees.   This line is literally telling the computer to print "nFees=0.0011233" on your screen where the value 0.0011233 is held in a variable called nFees and is of PRI64d data type.

Yeah exactly, thats what i tried to say in normal words hehe. Its used so its formatted/outputted correctly in a decimal number. The contents can be anything.

Should have said: So nFees=%"PRI64d" is probably giving nFees the amount of fees in decimal format Smiley