my demo codes to learn the APUE