Tạo file thực thi:
$ g++ file_name.cpp -o file_name
Chạy file:
$ ./file_name
Debug trong terminal: sử dụng gdb. Khi biên dịch file file_name.cpp bạn phải dùng:
$ g++ -g file_name.cpp -o file_name
Và debug:
$ gdb file_name
- Để chạy chương trình gõ r
- Đặt breakpoint tại dòng thứ i gõ b i
- Đặt breakpoint tại hàm tên func gõ b func
- Xem file n dòng đầu gõ l n
- Compile dòng tiếp theo gõ n
- Xem giá trị 1 biến x gõ p x
This is the place where I leave my scripts, my useful files, glad to have your suggestions. If you want to make discuss, please contact me at YM id bornbygoogle or my mail bornbygoogle@yahoo.com or simply let ur mail. I'll try to contact as soon as possible :) Nice to see you :D
Friday, February 22, 2008
Subscribe to:
Post Comments (Atom)
Convert Megaupload links to Rapidshare links !
If someone want to convert Megaupload to Rapidshare links, please let me know, I'll do it for you ! ( for free, all ). If you want, please send those links to me, with the mail title : Convert to Rapidshare !. My mail is bornbygoogle@yahoo.com. Or YM ID : bornbygoogle.
Nice to help you ! :)
Nice to help you ! :)
No comments:
Post a Comment