• ⚠️ UK Access Block Notice: Beginning July 1, 2025, this site will no longer be accessible from the United Kingdom. This is a voluntary decision made by the site's administrators. We were not forced or ordered to implement this block. If you're located in the UK, we recommend using a VPN to maintain access.

141592653

141592653

TW She/Her
Aug 9, 2020
119
Hey !
I'll have acces to the soon. Somebody has already tried it? It is initially used to boost horses for races. Just wanna have some feedback before trying ;)
 
  • Like
Reactions: puppy9
almost_dead

almost_dead

Arcanist
Aug 7, 2020
465
Code:
#include "stdio.h"

int main () {

int i_array[] = {1,2,3,4,0,0,0,0,0,0} ;
int n_array[] = {0,0,0,0,0,0,0,0,0,0} ;

int *i = &i_array[0] ;
int *n = &n_array[0] ;

printf ( "before 'while' :\t arrays are :\n" );
printf ( " i_array[]\t{%d,%d,%d,%d,.....}\n",i_array[0],i_array[1],i_array[2],i_array[3] );
printf ( " n_array[]\t{%d,%d,%d,%d,.....}\n",n_array[0],n_array[1],n_array[2],n_array[3] );

while (*n++=*i++) printf("%d\t%d\n",i,n);

printf ( "after 'while' :\t arrays are :\n" );
printf ( " i_array[]\t{%d,%d,%d,.....}\n",i_array[0],i_array[1],i_array[2],i_array[3] );
printf ( " n_array[]\t{%d,%d,%d,.....}\n",n_array[0],n_array[1],n_array[2],n_array[3] );

}
 
  • Love
Reactions: I_love_to_bake and 141592653
141592653

141592653

TW She/Her
Aug 9, 2020
119
This is a quick way to copy to arrays. It's clever and beautiful though, I don't see the link with Vincamine ^^
 

Similar threads

F
Replies
7
Views
773
Suicide Discussion
opheliaoveragain
opheliaoveragain
jewelxxet
Replies
0
Views
189
Suicide Discussion
jewelxxet
jewelxxet
Unbearable Mr. Bear
Replies
11
Views
697
Recovery
Unbearable Mr. Bear
Unbearable Mr. Bear
M
Replies
6
Views
434
Recovery
UnrulyNightmare
UnrulyNightmare