class BO2Offsets
{
public:
struct Prestige
{
u32 Offset { 0x000000 };
char One { 0x01 },
Two { 0x02 },
Three { 0x03 },
Four { 0x04 },
Five { 0x05 },
Six { 0x06 },
Seven { 0x07 },
Eight { 0x08 },
Nine { 0x09 },
Ten { 0x0A },
MasterPrestige { 0x0B },
CheatedPrestige { 0x0C };
};
};
BO2Offsets BO2;
main.cのC++ - エラー: 'BO 3' はこのスコープで宣言されていなかった
BO2 *BO3;
私はBO2として新しい要素を作成していますが、それは私にエラーを返します:
error: 'BO3' was not declared in this scope
どうすれば解決できますか?
編集:私はそのようBO3を宣言すると は:
BO2Offsets *BO3;
私はこのようなBO3を使用します。
BO3->Prestige->Offset
そして、私はエラーを取得しています。エラー:「構造体BO2Offsetsの使用は無効です::プレステージ '|
今すぐ完全な最小の例を完了してください。 – gsamaras