| |

VerySource

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

NEW

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-23 09:30:01
| Show all posts |Read mode
CString * pnCount = new CString [pcColumn-> RowNum] [1000];
Is this correct? How to change?
Reply

Use magic Report

0

Threads

55

Posts

44.00

Credits

Newbie

Rank: 1

Credits
44.00

 Invalid IP Address

Post time: 2020-5-7 20:30:01
| Show all posts
If the compilation fails, it is wrong.
You can cout << typeid (new CString [pcColumn-> RowNum] [1000]). Name () and
      cout << typeid (pnCount) .name () comparison.
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-5-8 11:45:02
| Show all posts
Can't compile, how should I change it? ?
Reply

Use magic Report

0

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-5-9 07:00:03
| Show all posts
CString * pnCount = new CString [pcColumn-> RowNum * 1000];
or
CString (* pnCount) [1000] = new CString [pcColumn-> RowNum] [1000];
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