Categories
C Programming

របៀបបំបែក Class File ជាមួយ CodeBlocks នៅក្នុងភាសារ C++ Programming

  1. បង្កើត project ក្នុង CodeBlocks
  1. បង្កើត class ថ្មី
  • ចូលទៅកាន់ File -> New -> Class…

វានឹងបង្ហាញផ្ទាំងដូចខាងក្រោម

យើងទទួលបាន

ចូលទៅកាន់ ClassA.cpp ដើម្បីសរសេរកូដបន្ថែមសម្រាប់ display

ដើម្បីដំណើរការកូដក្នុង ClassA បានលុះត្រាតែយើងធ្វើការ import វាចូលទៅក្នុង main() function

3. ដំណើរការកម្មវិធី

By sysomeho

Ho Sysome obtains B.S. degree in Computer Science from Phnom Penh Internation University (PPIU) in 2013 and currently studying Master of Science in IT (MSIT) at Asia Euro University (AEU). He worked as an IT Officer at Microfinance Institute and Bank in Phnom Penh. He is familar in programming language such as VB.NET, Java (Java2EE, Spring), Codeigniter, Laravel, mysql, sql server and so on. He enjoys sharing knowledges, learns from other, and develop himself.
Find him on Facebook: Spy Ro, Linkedin: Sysome HO.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.