| |

VerySource

 Forgot password?
 Register
Search
View: 617|Reply: 3

How do custom data types act as parameters? Wait online.

[Copy link]

3

Threads

8

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-3-18 13:30:01
| Show all posts |Read mode
Multi-document program, defined in the view header file
typedef struct _NODE {
float X;
float Y;
float Z;
} NODE;
NODE data type and then define it in MainFrame
afx_msg void view_down (NODE * dudu);
Why are the symbols not recognized?
Reply

Use magic Report

0

Threads

15

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

Post time: 2020-6-21 00:00:01
| Show all posts
Include View's .h file in MainFrm.h
#include "....View.h"
Reply

Use magic Report

3

Threads

8

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

 Author| Post time: 2020-6-22 09:00:01
| Show all posts
I have included it, and still can't recognize it.
Reply

Use magic Report

1

Threads

27

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-6-24 23:00:01
| Show all posts
I tried it in the Doc class, no problem
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