C++でテキストファイルを読みたい
これがテキストファイルの例です
(item(name 256) (Index 1)(Image "Wea001") (specialty (aspeed 700) (Hit 20)))
(item (name 257) (desc 520) (Index 2) (Image "Wea002")(specialty(Attack 16 24)))
私は次のような出力が欲しい
name : 256
Index : 1
Image : Wea001
Specialty > aspeed : 700
Specialty > hit : 20
Name : 257
Desc : 520
Index : 2
Image : Wea002
Speciality > Attack : 16 24
それは可能ですか?