#includeusing namespace std; using std::cout; class Cat { public: int itsAge; int itsWeight; }; int main() { Cat Frisky; Frisky.itsAge = 5; cout <<"Frsiky is a cat who is"; cout << Frisky.itsAge<<"years old.\n"; return 0; }
'Technote' 카테고리의 다른 글
Mix 08 CynthiaShelleyAccessibility (0) | 2008.08.09 |
---|---|
Expression Blend (0) | 2008.06.26 |
asahiyamazoo 동물원 WPF/E (0) | 2008.06.23 |
Contoso 사의 health Care system (0) | 2008.06.23 |
Lafornera Hacking Firmware (0) | 2008.06.22 |