2006å¹´06æ24æ¥20:30 ã«ãã´ãªLightweight Languagesä¸æ¥ä¸è¡éé C - tailã¨queue ã©ãããªããããå°ãæ½°ããããããã«æ¸ãã¦ã¿ãã ã¯ãã¹ã«ã£ã# - Cè¨èªã§tailã£ã½ããã®ãæ¸ã ã¾ãï¼ææ¥å¦ç§ã®Cè¨èªã®ãã¹ããããï¼Cè¨èªãªãæ®æ®µã¾ã£ãã使ããªãããã ããï¼æãåºããã°ï¼ã¦ãã¨ã§ï¼10è¡åºå®çtailãæ¸ãã¦ã¿ãï¼ä»¥ä¸ã®ã½ã¼ã¹ï¼ã¾ãã¯ãmain()ã®æ¹ãããåçºæã ãã§ã¯è¸ãç¡ãã®ã§ãè¡æ°ããªãã·ã§ã³ã¨ãã¦æå®ã§ããããã«ãã¦ã¿ãã tail.c #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_CHARS_IN_LINE 1024 #include "queue.h" char *new_string(const char *str){ cha
{{#tags}}- {{label}}
{{/tags}}