4011 views|8 replies

3252

Posts

0

Resources
The OP
 

In Keil, there must be one project file (target) corresponding to one source group, and one source group corresponding to one C file? [Copy link]

In Keil, there must be one project file (target) corresponding to one source group, and one source group corresponding to one C file?

Latest reply

Of course. Only when I first learned C language, I always used one C file and wrote a bunch of things. When you actually do a project, there are always a lot of C files, but a project can only have one main function.   Details Published on 2019-7-22 15:46
 
 

44

Posts

0

Resources
2
 

This is because of the error in your first line.

Comments

Forehead  Details Published on 2019-7-22 15:33
 
 
 

6040

Posts

204

Resources
3
 

There is no such thing as source groups, that's just a directory organization of source files.

Your mistake is that there is an incomplete comment left over on the first line.

Comments

OK, thanks  Details Published on 2019-7-22 15:32
 
 
 

2146

Posts

8

Resources
4
 

no,

The first line of code is wrong, the comment is missing the left half.

Comments

Can a project file have multiple C?  Details Published on 2019-7-22 15:32
Personal signature坐而言不如起而行
 
 
 

3252

Posts

0

Resources
5
 
lcofjp posted on 2019-7-22 09:13 There is no such thing as source group, it is just the directory organization of the source files. Your mistake is that there is an incomplete comment left in the first line

OK, thanks

 
 
 

3252

Posts

0

Resources
6
 
wsmysyn posted on 2019-7-22 10:00 No, the first line of the code is wrong, the comment is missing the left half.

Can a project file have multiple C?

Comments

Of course. When I first learned C language, I always used one C file and wrote a lot of functions. When I really did a project, there were many C files, but there can only be one main function in a project.  Details Published on 2019-7-23 13:33
Of course. When I first learned C language, I always used one C file and wrote a lot of functions. When I really did a project, there were many C files, but there can only be one main function in a project.  Details Published on 2019-7-22 15:46
 
 
 

3252

Posts

0

Resources
7
 
gyp1 posted on 2019-7-22 09:12 This is because of the error in your first line

Forehead

 
 
 

2146

Posts

8

Resources
8
 
QWE4562009 posted on 2019-7-22 15:32 Can a project file have multiple C?

Of course.

Only when I first learned C language, I always used one C file and wrote a bunch of things.

When you actually do a project, there are always a lot of C files, but a project can only have one main function.

Personal signature坐而言不如起而行
 
 
 

3252

Posts

0

Resources
9
 
QWE4562009 posted on 2019-7-22 15:32 Can a project file have multiple C?

Are you Mr. Zhou?

 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list