]> 4ch.mooo.com Git - 16.git/blobdiff - src/palllist.c
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / palllist.c
index 3e8bb2f7df57404aa6939feb49c131ca98ad9501..eb428c1d6b9ba81ea78a72755601e29ea6f0828c 100755 (executable)
  * i am going to work on a really big area of code it will be on the refresh system, the walking/scrolling system, things that use showpage, adding disableing 8087 functions if no 8087 detected, and a bunch of other things i cannot remember off the top of my head because i am BURNT. I need a small break~ -- -- -- -- update! i am working on this i made ZC_WALK and i am going to move to VRL/VRS soon! .\r
  * ==== PRE SHOWPAGE TO SHOWMV CONVERSION ==== i am going to work on a really big area of code it will be on the refresh system, the walking/scrolling system, things that use showpage, adding disableing 8087 functions if no 8087 detected, and a bunch of other things i cannot remember off the top of my head because i am BURNT. I need a small break~ -- -- -- -- update! i am working on this i made ZC_WALK and i am going to move to VRL/VRS soon!\r
  */\r
-#include <stdio.h>\r
+#include "src/lib/ll.h"\r
 \r
 void\r
 main(int argc, char *argv[])\r
 {\r
-//TOO TIREDWWWW\r
+       int i;\r
+       node_t * head = NULL;           node_t * heao = NULL;\r
+       head = malloc(sizeof(node_t));  heao = malloc(sizeof(node_t));\r
+       head->val = 0;                  heao->val = 9;\r
+       head->next=NULL;                heao->next=NULL;\r
+       head->id=0;                             heao->id=0;\r
+\r
+       for(i=1; i<\r
+               //PAL_SIZE\r
+               7\r
+               ; i++)\r
+       {\r
+               if(!(i%3)) printf("\n   ");\r
+               printf("%d,", i);\r
+               pushe(head, i);\r
+       }\r
+\r
+       printf("\n");\r
+\r
+       for(i=8; i>0; i--)\r
+       {\r
+               if(!(i%3)) printf("\n   ");\r
+               printf("%d,", i);\r
+               pushe(heao, i);\r
+       }\r
+       print_list(head);\r
+       printf("\n");\r
+       print_list(heao);\r
+       free(head);\r
+       free(heao);\r
 }\r