c++初涉
s_tatic_
hfnu,shiep
展开
-
关于c++包含空格的字符串输入
#include using namespace std;int main(){char a[50];coutcin.getline(a,50);coutreturn 0;}原创 2016-04-26 16:59:07 · 319 阅读 · 0 评论 -
家庭仿真机器人之任务场景截取
#include "class.h"void dealwithtask(string task);int main(){string task1="(:task (open X) (:cond (sort X microwave)))", task2="(:task (takeout X Y) (:cond (sort X cup) (color X red) (sort Y原创 2016-05-17 22:22:56 · 350 阅读 · 0 评论 -
家庭仿真之任务场景截取改进
#include "class.h"void dealwithtask(string task);int main(){string task1="(:task (open X) (:cond (sort X microwave)))", task2="(:task (takeout X Y) (:cond (sort X cup) (color X red) (sort Y原创 2016-05-17 23:01:58 · 256 阅读 · 0 评论