CPLUSPLUSnospread

Posts 46–55 of 55 · Page 4 of 4
Quote Originally Posted by Kyouko View Post
no consistency for the 'if' statements, looks like paste
-rep
You don't have to use brackets for a one line if statement?
Code:
there's no difference between

if (sVars.aimbot_shitnospread) {
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or

if (sVars.aimbot_shitnospread)
{
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or
if (sVars.aimbot_shitnospread)
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
Quote Originally Posted by c0deine View Post
You don't have to use brackets for a one line if statement?
Code:
there's no difference between

if (sVars.aimbot_shitnospread) {
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or

if (sVars.aimbot_shitnospread)
{
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or
if (sVars.aimbot_shitnospread)
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
Use the moddile one if ur a pro kid like me
Quote Originally Posted by c0deine View Post
You don't have to use brackets for a one line if statement?
Code:
there's no difference between

if (sVars.aimbot_shitnospread) {
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or

if (sVars.aimbot_shitnospread)
{
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or
if (sVars.aimbot_shitnospread)
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
irrelevant with what he's saying. it's ugly without the brackets anyways
it's like the difference between doing var = var + 1 or var++, it's just bad coding practice if you don't
Quote Originally Posted by D3M0L1T10N View Post
it's like the difference between doing var = var + 1 or var++, it's just bad coding practice if you don't
you forgot var += 1;
Quote Originally Posted by __Friend View Post
you forgot to credit ph0ne
why the fuck would i credit ph0ne
Quote Originally Posted by DdHashu02 View Post
why the fuck would i credit ph0ne
fvuc king noob

also loling @ a,ll the retards thinking their fabricated styling guidelines they came up with from working on 1 person hobby projects should actually be followed be anyone else
Quote Originally Posted by Azrius View Post
fvuc king noob

also loling @ a,ll the retards thinking their fabricated styling guidelines they came up with from working on 1 person hobby projects should actually be followed be anyone else
what the fuck are you even talking about, in the end it comes down to readability or 'good practice'
nobody thought this, stop.

Quote Originally Posted by c0deine View Post
You don't have to use brackets for a one line if statement?
Code:
there's no difference between

if (sVars.aimbot_shitnospread) {
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or

if (sVars.aimbot_shitnospread)
{
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
}

or
if (sVars.aimbot_shitnospread)
    pCmd->random_seed = MD5_PseudoRandom(142) & 0x7FFFFFFF;
Kyouko was simply pointing out the fact that its inconsistent as fuck ( and it is because its pasted garbage )
please take your coding ego somewhere else, this is basic shit that anyone with an iq higher than room temperature would know.
Posts 46–55 of 55 · Page 4 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?