??????1??????????extern char strstr(char *haystack??char *needle);
?????÷???#include<string.h>
????????????????haystack?????needle????γ????λ?????????????NULL)??????????γ???needleλ???????????????????NULL??
??????2??????????extern float pow(float x?? float y);
?????÷???#include<string.h>
?????????x??????0???????????????
????printf("%f"??pow(3??3));// ???????%f?????%d??????
????printf("%f"??pow(-3??-3));//????????????????????????????????
??????3??????????const char *c_str();
?????????c_str()??????????????????C??????????????
????string s="ssss";
????printf("%s"??s.c_str());
??????4??????????gets??char *str??
???????????stdin???ж????????????????????з??????з????????????????EOF?????????????????????buffer?????????????????С????з?????????????????????????з???????null?????????????????????
int main(){
char str[101];
gets(str);// ???н??в???????
//cout<<str<<" ";?????????????鴛?
printf("%s"??str);
return 0;
}
??????5??????????char * strncpy(char *dest?? char *src??size_tnum);
?????????????src?е????????????????????....????dest???????????num????????????????dest?????
???????????????????????
????????????char *strcpy(char *dest?? char *src);
???????????src?????'