Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

know me the secrets of programming?

Name: Anonymous 2016-06-05 9:30

No comment.

Name: Anonymous 2016-06-05 9:42

I know how to swap two numbers without using a third one.

a := a + b
b := a - b
a := a - b

Name: Anonymous 2016-06-05 9:45

>>2
I know better: a^=b^=a^=b;

Name: Anonymous 2016-06-05 9:50

I know how to replace division by a multiplication and a bitwise shift.

Name: Anonymous 2016-06-05 9:55

I know how to reverse string in place.
void strrev(char *p)
{
char *q = p;
while(q && *q) ++q;
for(--q; p < q; ++p, --q)
*p = *p ^ *q,
*q = *p ^ *q,
*p = *p ^ *q;
}

Name: Cudder !cXCudderUE 2016-06-05 19:35

>>2
b = b - a;
a = 2*a + b;

Name: Anonymous 2016-06-05 19:39

>>6
This isn't swapping, your b doesn't hold a, and your a holds (a + b) instead of b.

Name: Cudder !cXCudderUE 2016-06-05 20:06

Name: Anonymous 2016-06-05 23:35

>>6,8
Fuck off, you sub-nigger.

Name: Anonymous 2016-06-05 23:40

>>6
Good job, IHBT
a = 10 b = 7

b = 7 - 10
b = -3
a = 20 + -3
a = 17

Name: Anonymous 2016-06-05 23:49

>>9,10
have taken your pills today? YHBT

Name: Anonymous 2016-06-06 1:04

>>6
a = 0
b = 0

Name: Anonymous 2016-06-06 1:17

>>12
You should be ashamed of getting trolled by Cudder.

Name: Anonymous 2016-06-06 12:27

>>1
The greatest secret in programming:
Bloat adds are a layer of memory that can be corrupted but will not affect the program, and the inefficient code - lower speed preserves the CPU from threats of electromigration/overheating damage.

Name: Anonymous 2016-06-15 4:11

>>2
What programming language is this?

Name: Anonymous 2016-06-15 11:01

>>15
Pascal

Name: Anonymous 2016-06-16 7:15

Check em

Name: Anonymous 2016-06-16 8:51

>>14
lower speed preserves the CPU from threats of electromigration/overheating damage.

It's the opposite actually. Lower speed = more CPU cycles burned = more power consumption.

Name: Anonymous 2016-06-16 13:34

>>18
How do different clock speeds change the number of cycles for an opcode?

Name: Anonymous 2016-06-17 18:10

I know how to reconstruct call stack without frame pointer.

Name: Anonymous 2016-06-17 18:34

What programming language is this?

Name: Anonymous 2016-06-18 0:26

>>21
DubScript

Don't change these.
Name: Email:
Entire Thread Thread List