I'm Getting This Annoying Errors Again&Again?

And Here is The Source Code File >>:

You have ; at the end of every function/if block:

1 Like

Line 47 should be = not ==. It’s relying on implicit coversions.

if (AThing* Thing = Cast<AThing>(OtherThing))

Is assigning Thing and then checking if Thing is nullptr i.e. if the cast was successful.

1 Like

Thanks @DanM

Thanks @Munsa For Helping this is not a problem but this is a good programming practice

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms