ਸੀ++
ਸੀ++ (ਉਚਾਰਨ: ਸੀ ਪਲੱਸ-ਪਲੱਸ) ਇੱਕ ਸਥੈਤਿਕ ਟਾਈਪ, ਅਜ਼ਾਦ - ਪ੍ਰਪਤਰ, ਬਹੁ-ਪ੍ਰਤੀਮਾਨ ਸੰਕਲਿਤ[1], ਇੱਕੋ ਜਿਹੀ ਵਰਤੋਂ ਵਾਲੀ ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ। ਇਹ ਇੱਕ ਮੱਧਮ-ਪੱਧਰ ਦੀ ਭਾਸ਼ਾ ਦੇ ਰੂਪ ਵਿੱਚ ਜਾਣੀ ਜਾਂਦੀ ਹੈ, ਕਿਉਂਕਿ ਇਹ ਦੋਨਾਂ ਉੱਚ-ਪੱਧਰ ਅਤੇ ਹੇਠਲੇ-ਪੱਧਰ ਦੀ ਭਾਸ਼ਾ ਸਹੂਲਤਾਂ ਦਾ ਇੱਕ ਸੰਯੋਜਨ ਹੈ। ਇਸਨੂੰ ਬਜਾਰਨੇ ਸਟ੍ਰੋਸਟ੍ਰਪ (Bjarne Stroustrup) ਦੁਆਰਾ ਵਿਕਸਿਤ ਸੀ ਭਾਸ਼ਾ ਦੀ ਵਾਧੇ ਦੇ ਰੂਪ ਵਿੱਚ ਬੈੱਲ ਲੇਬੋਰਟਰੀਜ਼ ਵਿੱਚ 1979 ਵਿੱਚ ਸ਼ੁਰੂ ਕੀਤਾ ਗਿਆ ਸੀ। ਇਸ ਭਾਸ਼ਾ ਦਾ ਮੂਲ ਨਾਮ C With Classes ਸੀ, ਜਿਸਨੂੰ 1983 ਵਿੱਚ ਬਦਲ ਕਰ C++ ਕਰ ਦਿੱਤਾ ਗਿਆ। ਇਹ ਇੱਕ ਵਸਤੂ ਅਧਾਰਿਤ ਭਾਸ਼ਾ (Object Oriented Language) ਹੈ।
ਡਿਜ਼ਾਇਨ
[ਸੋਧੋ]ਜਾਰਨ ਸਟ੍ਰਾਰਸ੍ਰਪ (Bjarne Stroustrup) ਨੇ The Design and Evolution of C++ (1994) ਵਿੱਚ ਸੀ++ ਦੇ ਬਾਰੇ ਵਿੱਚ ਕੁੱਝ ਗੱਲਾਂ ਕੀਤੀਆਂ ਹਨ, ਜੋ ਇਸ ਪ੍ਰਕਾਰ ਹੈ:
- ਸੀ++ ਸਥੈਤੀਕ ਟੰਕਿਤ(Statically typed), ਇੱਕੋ ਜਿਹੇ- ਵਰਤੋਂ ਵਾਲੀ(General-Purpose) ਅਤੇ ਸੀ ਭਾਸ਼ਾ ਦੇ ਸਾਮਾਨ ਹੀ ਦਕਸ਼ ਅਤੇ ਪੋਰਟੇਬਲ ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ।
- ਸੀ++ ਕਈ ਤਰ੍ਹਾਂ ਦੇ ਪ੍ਰੋਗਰਾਮਿੰਗ ਦੀਆਂ ਸ਼ੈਲੀਆਂ (programming styles) ਦਾ ਸਮਰਥਨ ਕਰਨ ਦੇ ਹਿਸਾਬ ਨਾਲ ਰਚੀ ਗਈ ਹੈ। ਇਸ ਵਿੱਚ ਪ੍ਰੋਸੀਜਰਲ ਪ੍ਰੋਗਰਾਮਿੰਗ, ਵਸਤ-ਕੇਂਦਰਿਤ ਪ੍ਰੋਗਰਾਮਿੰਗ (Object Oriented Programming), ਮਾਡਿਉਲਰ ਪ੍ਰੋਗਰਾਮਿੰਗ ਅਤੇ ਜੇਨੇਰਿਕ ਪ੍ਰੋਗਰਾਮਿੰਗ ਸ਼ੈਲੀ ਵਿੱਚੋਂ ਕਿਸੇ ਵੀ ਸ਼ੈਲੀ ਨਾਲ ਪ੍ਰੋਗਰਾਮ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ।
- ਇਸ ਗੱਲ ਦਾ ਧਿਆਨ ਰੱਖਿਆ ਗਿਆ ਹੈ ਕਿ ਸੀ++ ਦਾ ਸੀ ਦੇ ਨਾਲ ਜਿਆਦਾ ਵਲੋਂ ਜਿਆਦਾ ਸਾਮੰਜਸਿਅ ਬਣਾ ਰਹੇ। ਇਸ ਪ੍ਰਕਾਰ ਸੀ ਵਿੱਚ ਲਿਖੇ ਪ੍ਰੋਗਰਾਮ ਬਿਨ੍ਹਾਂ ਕਿਸੇ ਤਬਦੀਲੀ ਦੇ ਸੀ++ ਵਿੱਚ ਚੱਲ ਸਕਦੇ ਹਨ। ਇਸ ਤੋਂ ਸੀ ਦੇ ਜਾਣਕਾਰਾਂ ਨੂੰ ਸੀ++ ਵਿੱਚ ਪ੍ਰਵੇਸ਼ ਕਰਨ ਵਿੱਚ ਕੋਈ ਔਖਿਆਈ ਨਹੀਂ ਹੁੰਦੀ।
- ਸੀ++ ਉਨ੍ਹਾਂ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ਦੇ ਕਾਰਨ ਕੋਈ ਇਲਾਵਾ ਭਾਰ ਨਹੀਂ ਪਾਉਂਦੀ ਜੋ ਪ੍ਰੋਗਰਾਮ ਵਿੱਚ ਜ਼ਰੂਰੀ ਹਨ।
ਹਵਾਲੇ
[ਸੋਧੋ]- ↑ Lua error in ਮੌਡਿਊਲ:Citation/CS1 at line 3162: attempt to call field 'year_check' (a nil value).
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.