| |

VerySource

 Forgot password?
 Register
Search
View: 837|Reply: 5

beginner

[Copy link]

3

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-22 20:20:01
| Show all posts |Read mode
After the program is compiled, there are undeclared identifiers in View.cpp. Where should I declare them?
Reply

Use magic Report

0

Threads

17

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-2-3 18:30:02
| Show all posts
Can be added with the wizard
Reply

Use magic Report

0

Threads

70

Posts

42.00

Credits

Newbie

Rank: 1

Credits
42.00

 China

Post time: 2020-2-5 16:30:02
| Show all posts
In view.h,
What is the identifier you said?
Reply

Use magic Report

3

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-2-18 07:30:01
| Show all posts
There are several
ImageView.cpp (125): error C2065: 'LocalAllocGHND': undeclared identifier
ImageView.cpp (188): error C2065: 'Palette': undeclared identifier
ImageView.cpp (209): error C2065: 'shareExc': undeclared identifier
I do n’t know too much. When writing a program that reads in images, the error that was prompted at the beginning was that Image.h was not found.
After eliminating the syntax errors, there are still more than a dozen like the above tips, thank you for your help
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-7 12:15:01
| Show all posts
There should be fewer include files. You can use search to find out what these undefined names are, and add the file names.
Reply

Use magic Report

1

Threads

27

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-3-7 19:45:01
| Show all posts
Missing header file
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list