Learn C Programming

lesson ৪ / ৯ · Structure, union আর enum

Module ১২ · Structure, union আর enum

typedef, nested struct আর program গুছিয়ে রাখা

Account থাকলেই freeপড়া

Amara-র স্কুলের record রাখার program-টা শুরু হয়েছিল চল্লিশ লাইনে। এখন সেটা দুইশো লাইন, আর ও লেখার চেয়ে scroll করে বেশি। যেখানেই student-এর কথা, সেখানেই লেখা struct student। Function-গুলো বসে আছে ঠিক যে ক্রমে ও লিখেছিল, সেই ক্রমে।

পড়তে login করুন

Lesson টা free, শুধু account লাগবে

Account খুলতে কিছু লাগে না, আর এই track এর Pro লেখা নেই এমন প্রতিটা lesson খুলে যায়, যে device এ পড়ুন না কেন।

typedef, nested struct আর program গুছিয়ে রাখা এর ভেতরে কী আছে

  1. Typedef: একটা type-এর দ্বিতীয় নাম
  2. Struct-এর ভেতরে struct
  3. Function-এর নাম type_verb ধাঁচে
  4. ভাগে ভাগে সাজানো program
  5. Header file-এ কী থাকত