标签: c++ arrays
而不是做像
char attach_bytes[4]; attach_bytes[0] = 1; attach_bytes[1] = 2; attach_bytes[2] = 3; attach_bytes[3] = 4; FindPattern(0, 0, attach_bytes, 0);
我想要做类似
FindPattern(0, 0, [ 1, 2, 3, 4 ], 0);
我将如何做到这一点?