Talk:C++
This is the talk page for discussing improvements to the C++ article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12Auto-archiving period: 60 days |
|
C++ was one of the Engineering and technology good articles, but it has been removed from the list. There are suggestions below for improving the article to meet the good article criteria. Once these issues have been addressed, the article can be renominated. Editors may also seek a reassessment of the decision if they believe there was a mistake. | ||||||||||||||||||||||
|
This level-5 vital article is rated B-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
What is the meaning of C++[edit]
What is the meaning of C++ 37.111.137.145 (talk) 00:16, 6 July 2022 (UTC)
- It's literally written in the article. Have you tried reading it? Fbergo (talk) 04:06, 6 July 2022 (UTC)
New modern example of C++23[edit]
Since July 2022, a bunch of things were added such as standard library modules (P2465R3) and a new formatted output functions (P2093R14). The new "hello world" program uses both fresh core language and standard library features:
import std;
int main()
{
std::println("Hello, world!");
}
This concise snippet of code conforms to the standard C++23 and thus makes the program well-formed. However, since it's too early, no compilers have supported this as of now. Maybe it's ok to amend the recent changes after the classic hello world code. — Preceding unsigned comment added by Moondezmon (talk • contribs) 11:49, 30 July 2022 (UTC)
- I don't think it's appropriate to include this in the main C++ article yet. But you could put it in the C++23 article. --Zundark (talk) 12:09, 30 July 2022 (UTC)
removal of the statement, that certain infamous companies and/or people have problems with C++ exception handling[edit]
The statement, that there are (still) companies and/or people, with an aversion against C++ exception handling should be removed.
Usage of C++ without exception handling always meant obfuscation due to multi-step initialization and/or acceptance of a crash/abort in case of error.
After a quarter century (1996) of successful exploitation, there is no need to dignify such inaptitude any longer -- if it was ever justified! 139.181.7.34 (talk) 22:04, 8 August 2022 (UTC)
External Links - Add link to tutorial for C++[edit]
How about adding this link https://www.learncpp.com/ to the External Links section for readers to learn how to program in C++? I am learning from it myself and it is a very good resource, I like it alot better than others I have tried, including but not limited to: CodeAcademy, Programiz, w3schools, Microsoft Docs, FreeCodeCamp, and Udemy. 172.56.80.69 (talk) 21:52, 19 September 2022 (UTC)
- It fails on external link guidelines TEDickey (talk) 22:54, 19 September 2022 (UTC)
C++ is not general purpose or high level.[edit]
C++ has system facilities. Any language with low-level facilities should not be use for general-purpose programming. It bakes in dependencies, results in lock in (which C does), and also results in inflexibility.
C++ also has many primitive facilities like pointers and defines which really have no place in general-purpose programming.
Like C based its syntax on BCPL which was a structured language from ALGOL, just adopting structured syntax does not make a language high-level.
C++ adopted objects and inheritance from Simula, but same thing, except in C++ it was a semblance of OO, but in syntax, not in spirit. Other facilities like multiple inheritance and templates (primitive generics) were added from elsewhere.
C++ really should be limited to legacy system software. Ian.joyner (talk) 20:17, 13 May 2023 (UTC)
- Disagree while it provides low-level facilities, C++ allows the developer to choose the level of abstraction they desire. Lightbloom (talk) 02:10, 6 September 2023 (UTC)
- @Lightbloom I think there should be some mention of this somewhere. It seems to be both high and low level. Panamitsu (talk) 02:13, 6 September 2023 (UTC)
- It does already mention in the lead that it provides low-level facilities. If you believe this should be more prominent I have no opinion one way or the other. Lightbloom (talk) 02:19, 6 September 2023 (UTC)
- @Lightbloom I think there should be some mention of this somewhere. It seems to be both high and low level. Panamitsu (talk) 02:13, 6 September 2023 (UTC)
- are you a rustard ? StrikrIO (talk) 16:15, 11 December 2023 (UTC)
- Delisted good articles
- Old requests for peer review
- Former good article nominees
- B-Class vital articles
- Wikipedia level-5 vital articles
- Wikipedia vital articles in Technology
- B-Class level-5 vital articles
- Wikipedia level-5 vital articles in Technology
- B-Class vital articles in Technology
- B-Class C/C++ articles
- Top-importance C/C++ articles
- C++ articles
- WikiProject C/C++ articles
- B-Class Computer science articles
- High-importance Computer science articles
- WikiProject Computer science articles
- B-Class Computing articles
- Top-importance Computing articles
- B-Class software articles
- Top-importance software articles
- B-Class software articles of Top-importance
- All Software articles
- All Computing articles
- B-Class Microsoft articles
- Top-importance Microsoft articles
- WikiProject Microsoft articles