题解 1195: 去掉双斜杠注释 摘要:```cpp #include #include #include #include using namespace std; const string flagString="//"; …… 题解列表 2024年05月15日 0 点赞 0 评论 510 浏览 评分:9.9
简单易懂有注释版本(c语言代码) ```c#include#include#defineMAX256intfun(char*a){//检查字符串是否包含字符'/'intlen=0;//初始化字符串长度为0while(a[len]!='\0'){//遍历字符串,直到遇到结束符'\0'if(a[len]=='/'){//如果发现字符'/' 题解列表 2024年09月08日 0 点赞 0 评论 605 浏览 评分:10.0