linux code

2020-07-08 Thread Andre Coelho
Hey, i had an idea to implement functions as "raw" and not use libs...for instance strcpy(); (instead of calling the function, write the instructions on the source code) what do you think of this? I would like to get messages and comments (cc) Thanks -- André Albergaria Coelho andreal

new binary algorithm

2020-07-05 Thread Andre Coelho
hey, for those who read my email, i upgraded tjhe algorithm here it is #include  // The algorithm works by first getting a base of , and change one bit at a time (0001,0010,etc); // Then it uess a base of and change one bit at a time (1110,1101,etc...) int main() {     char ze

fast binary calculator

2020-07-04 Thread Andre Coelho
ey Ive made a program, that uses bit flips to quickly represent binary numbers for instance, if i use a 128bit number than the algorithm uses 128+128+128 (and not 128*128) for each bit. Basically, it assigns slots to bits, so for instance pos 1    pos 2 pos 3 0        0   0 1