全文预览

C函数大全S

上传者:叶子黄了 |  格式:pdf  |  页数:67 |  大小:4034KB

文档介绍
er);\rreturn 0;\r??@strupr\r@\r??\r 0@char *strupr(char *str);\rP`p@\r#include\r#include\rint main(void)\r(\rchar .string = "abcdefghijklmnopqrstuvwxyzH, *ptr;\r/* converts string to upper case characters */\rptr = strupr(string);\rprinlf("s\n"ptr);\rreturn 0;\r??@swab\r@\r 0@void swab (char *from, char *to, int nbytes);\rP`p@.\r#include\r#include\r#include\rchar source[15] = MrFna koBlrna d";\rchar target! 15];\rint main(void)\r(\rswab(source, target, strlen(source));\rprintf("This is target: %s\n'\ target);\rreturn 0;\r??@system\r@DOS !\r 0@int system(char *command);\rP`p@\r#include\r#include\rint main(void)\rprintf(HAbout to spawn command.com and run a DOS command\nM);\rsystem(”dir");\rreturn 0;

收藏

分享

举报
下载此文档