For faster navigation, this Iframe is preloading the Wikiwand page for سی‌پلاس‌پلاس ۰۳.

سی‌پلاس‌پلاس ۰۳

C++03 نسخه‌ای از استاندارد ISO/IEC 14882 برای زبان برنامه‌نویسی سی‌پلاس‌پلاس است که توسط دو سازمان استانداردسازی، یعنی سازمان بین‌المللی استاندارد (ISO) و کمیسیون بین‌المللی الکتروتکنیک(IEC)، در استاندارد ISO/IEC 14882:2003 تعریف شده‌است.

C++03 جایگزین نسخه قبلی استاندارد سی‌پلاس‌پلاس به نام C++98 شد و خود نیز بعداً با C++11 جایگزین شد. C++03 در مرتبه اول، صرفاً یک نسخه رفع اشکال برای پیاده‌کننده‌ها بود تا از سازگاری و حمل‌پذیری بیشتر اطمینان حاصل کند.[۱] این ویرایش به ۹۲ گزارش نقص اصلی زبان[۲]و ۱۲۵ گزارش نقص کتابخانه[۳] پرداخته و تنها یک ویژگی جدید را شامل می‌شود: مقداردهی اولیه.[۴]

از جمله مشکلاتی قابل‌توجهی که توسط C++03 به آن پرداخته شد، گزارش نقص کتابخانه ۶۹ بود،[۵] که این نیاز را اضافه کرد که عناصر در یک بردار به‌طور پیوسته ذخیره شوند. این مورد، این انتظار را کدگذاری می‌کند که یک شیء از std::vector از Layout حافظه مشابه یک آرایه استفاده می‌کند. درحالیکه اکثر پیاده‌سازی‌ها این انتظار را برآورده می‌کردند، C++98 (خود استاندارد)، در ظاهر نیازی به آن نداشت.

جستارهای وابسته

[ویرایش]

منابع

[ویرایش]
  1. "Bjarne Stroustrup's FAQ – What is the difference between C++98 and C++03?". Bjarne Stroustrup's homepage. Archived from the original on February 6, 2016.
  2. "C++ Standard Core Language Issue Index by Status: Issues with "TC1" Status". open-std.org.
  3. C++ Standard Library Issues List: TC1 (125 issues)
  4. "Value initialization", C++ reference (wiki)
  5. C++ Standard Library Defect Report List: 69. Must elements of a vector be contiguous?
{{bottomLinkPreText}} {{bottomLinkText}}
سی‌پلاس‌پلاس ۰۳
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?