r*string);\r~DEstringà?.NEtextheight()æd"9:;IJµç}??,\r4é_¹¸(¿ÀE5Æ2<¨d"ê(¹¸12<¨d"ë¾(¹¸V5\rìNE6l(mnWgraphics.h\ropV~op¹¸¿ÀE5\rsJt\nE(¹¸~\r#include<graphics.h>\rvoidmain()\rintdriver,mode;\rdriver=0;\rmode=0;\rinitgraph(&driver,&mode,"")Ó\rprintf(height:%d",textheight("8n));\rgetch();\rrestorecrtmode();\r93.textwidth()·¸NE\r~NEtextwidth5op(·¸5\rP~inttextwidth(char*string);\r~DEstringà?5NEtextwidth5æd"9:;IJµç}??\r4é_·¸(¿ÀE5Æí2<¨ê(·¸î2<¨ë¾(·¸±²ïð¨\rë¾(·¸V5\rƾNE6l(mn¨graphics.h\ropV~op·¸¿ÀE5\rsJt\nhello(·¸~\r#include<graphics.h>\rvoidmain()\rintdriver,mode;\rdriver=DETECT;\rmode=0;\rinitgraph(&driver,&mode,\rprintf("width:%d”textwidth(nhello"));\rgetch();\rrestorecrtmode();\rñò~http://www.pcppc.cn/kaifa/Cyuyan/kaifa_3202_4.html