string4.m

来自「linux下编程用 编译软件」· M 代码 · 共 18 行

M
18
字号
/* Based on a test case contributed by Nicola Pero.  */#include <string.h>#include <stdlib.h>#ifdef __NEXT_RUNTIME__#include "next_mapping.h"#else#include <objc/NXConstStr.h>#endifint main(int argc, void **args){  if ([@"this is a string" length] != strlen ("this is a string"))    abort ();  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?