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_28849655_7439.cpp:1:1: error: expected unqualified-id before '<' token
 <code class=" hljs bash">//启动相应Port A的RCC
 ^
0_0_28849655_7439.cpp:3:1: error: 'GPIO_InitTypeDef' does not name a type
 GPIO_InitTypeDef   GPIO_InitStructure;
 ^
0_0_28849655_7439.cpp:4:1: error: 'GPIO_InitStructure' does not name a type
 GPIO_InitStructure.GPIO_Pin=GPIO_Pin_6|GPIO_Pin_7|GPIO_Pin_8|GPIO_Pin_9|GPIO_Pin_10;
 ^
0_0_28849655_7439.cpp:5:1: error: 'GPIO_InitStructure' does not name a type
 GPIO_InitStructure.GPIO_Speed=GPIO_Speed_2MHz;
 ^
0_0_28849655_7439.cpp:6:1: error: 'GPIO_InitStructure' does not name a type
 GPIO_InitStructure.GPIO_Mode=GPIO_Mode_Out_PP;
 ^
0_0_28849655_7439.cpp:7:10: error: expected constructor, destructor, or type conversion before '(' token
 GPIO_Init(GPIOA,&GPIO_InitStructure);//把设置绑定到GPIOA
          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 07:43:19, Gzip enabled