using
来自「一个字符串处理库,一个字符串处理库,一个字符串处理库」· 代码 · 共 26 行
TXT
26 行
this document describes how to use estring with your own programsfirst you have to install it, to do so check the INSTALL filenext step is writing a sourcecould be something like this:#include<stdio.h>#include<estring.h>int main(){ estring x; x=es_init(); //allocates memory for keeping the string es_set(x,"hejsan"); puts(es_get(x)); es_free(x);}to compile use:gcc mysource.c -o myprog -lestringfor a list of all functions in estring, check estring.hreal documenation will be in the future.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?