标题:为什么出现这个错误 ld returned 1 exit status 请大家帮帮忙
取消只看楼主
哟嚯嚯
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2014-11-29
 问题点数:0 回复次数:0 
为什么出现这个错误 ld returned 1 exit status 请大家帮帮忙
#include <iostream>
#include <string>
#include <cctype>
#include <vector>
#include <cstring>
#include <stdexcept>
using namespace std;
   
char daxiao(string a1){
    char c='N';
    for(auto b1:a1)
        if(isupper(b1)){
            c='Y';
            break;
        }
    return c;
}


int main(){

    string a;
    char b;
    cout<<"shuru"<<endl;
    cin>>a;
    b=daxiao(a);
    cout<<b<<endl;
    return 0;
}
搜索更多相关主题的帖子: include daxiao status return 
2014-11-29 16:12



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-439342-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.067201 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved