F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39077007_12654.cpp
0_0_39077007_12654.cpp(5) : error C2146: 语法错误: 缺少“;”(在标识符“std”的前面)
0_0_39077007_12654.cpp(5) : error C2873: “namespsce”: 符号不能用在 using 声明中
0_0_39077007_12654.cpp(5) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_39077007_12654.cpp(5) : error C2365: “std”: 重定义;以前的定义是“命名空间”
0_0_39077007_12654.cpp(8) : error C2146: 语法错误: 缺少“;”(在标识符“brand”的前面)
0_0_39077007_12654.cpp(8) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_39077007_12654.cpp(13) : error C2628: “Product”后面接“int”是非法的(是否忘记了“;”?)
0_0_39077007_12654.cpp(16) : error C2440: “return”: 无法从“bool”转换为“Product”
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_39077007_12654.cpp(17) : error C2440: “return”: 无法从“bool”转换为“Product”
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_39077007_12654.cpp(22) : error C2065: “cin”: 未声明的标识符
0_0_39077007_12654.cpp(23) : error C2065: “string”: 未声明的标识符
0_0_39077007_12654.cpp(23) : error C2146: 语法错误: 缺少“;”(在标识符“a”的前面)
0_0_39077007_12654.cpp(26) : error C2065: “vector”: 未声明的标识符
0_0_39077007_12654.cpp(26) : error C2275: “Product”: 将此类型用作表达式非法
        0_0_39077007_12654.cpp(7) : 参见“Product”的声明
0_0_39077007_12654.cpp(29) : error C2065: “cin”: 未声明的标识符
0_0_39077007_12654.cpp(29) : error C2039: “brand”: 不是“Product”的成员
        0_0_39077007_12654.cpp(7) : 参见“Product”的声明
0_0_39077007_12654.cpp(34) : error C2228: “.push_back”的左边必须有类/结构/联合
        类型是“int”
0_0_39077007_12654.cpp(36) : error C2228: “.begin”的左边必须有类/结构/联合
        类型是“int”
0_0_39077007_12654.cpp(36) : error C2228: “.end”的左边必须有类/结构/联合
        类型是“int”
0_0_39077007_12654.cpp(36) : error C3861: “sort”:  找不到标识符
0_0_39077007_12654.cpp(38) : error C2065: “count”: 未声明的标识符
0_0_39077007_12654.cpp(38) : error C2109: 下标要求数组或指针类型
0_0_39077007_12654.cpp(38) : error C2228: “.brand”的左边必须有类/结构/联合
0_0_39077007_12654.cpp(38) : error C2065: “endl”: 未声明的标识符


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-06-29 08:23:28, Gzip enabled