Home > Back-end >  LNK1169 find one or more of the definition of multiple symbols
LNK1169 find one or more of the definition of multiple symbols

Time:12-04


I want to ask VS can establish multiple in a file in the C language program, I use in the 4 _4, after again write 4 _5, there shows the conflict, should how to avoid this kind of mistake, before I was to write a program that will remove a program, this is too much trouble, I want to help the is there a quick way, thank you!

CodePudding user response:

The main function to change a name on other project mian1, main2 what

A project can have only one main function

CodePudding user response:

The
reference 1 floor? Victor.?? Response:
mian1 change my other project the main function of a name, what main2

A project can have only one main function


Other files in the project of the main function to change a name mian1, main2 what

CodePudding user response:

The
reference 1 floor? Victor.?? Response:
mian1 change my other project the main function of a name, what main2

A project can have only one main function

After I changed according to your method, display can't identify characters,

CodePudding user response:

Do you have any in dot h files first
statement function?

CodePudding user response:

In don't need to right-click on the file, choose "out of the project", will not affect the source file now,
Exclusion is not removed from the disk, when need to add back can (right-click on the project name, choose "add" - "existing items"),

CodePudding user response:

Packaged into other functions do you want to write programs, it is good to call in the main, connector allows only one main function
  • Related