Allocating an array of function pointers with new in C++?

  • Thread starter Thread starter StackMasher
  • Start date Start date
  • Views Views 1,080
  • Replies Replies 2

StackMasher

Well-Known Member
Member
Joined
Nov 29, 2016
Messages
136
Reaction score
65
Trophies
0
Age
23
XP
410
Country
Code:
new void(*)()[]
new void(*fp)()[]
I've tried both of those but the compiler throws an error. Kind of annoying that I can't just use void* pointers instead of this crappy syntax
 
Last edited by StackMasher,

Site & Scene News

Popular threads in this forum