搜索
编程论坛
→
开发语言
→
C++论坛
→
『 C++教室 』
→ string类
标题:
string类
取消只看楼主
bibingyan
来 自:湖南长沙
等 级:
新手上路
帖 子:123
专家分:0
注 册:2008-3-16
楼主
问题点数:0 回复次数:0
string类
#include <iostream>
#include <string>
using namespace std;
void title(string &str);
void main()
{
string dsf;
cin>>dsf;
title(dsf);
}
void title(string &str) //这个函数很好啊
{
cout <<str <<endl;
}
为什么不能编译啊~~~~~
搜索更多相关主题的帖子:
string
void
title
dsf
include
2008-04-01 21:50
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-206633-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 2.037170 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved