Command Palette

Search for a command to run...

Page Inspect

https://cplusplus.com/
Internal Links
31
External Links
0
Images
0
Headings
5

Page Content

Title:
Description:
HTML Size:16 KB
Markdown Size:4 KB
Fetched At:November 17, 2025

Page Structure

h3C++
h1Tutorials
h1Reference
h1Articles
h1Latest forum activity:

Markdown Content

cplusplus.com

- TUTORIALS
- REFERENCE
- ARTICLES
- FORUM

### **C++**

- Tutorials
- Reference
- Articles
- Forum

- home

# Tutorials
- C++ Language: Learn this versatile and powerful programming language. Includes detailed explanations of pointers, functions, classes and templates, among others...

# Reference
Description of the most important classes, functions and objects of the Standard Language Library, with descriptive fully-functional short programs as examples.
Browse the **C++ Reference**

# Articles
User-contributed articles, organized into different categories.
You can contribute your own articles!
Browse **Articles**

# Latest forum activity:

by semsemdiver

**sorting an integer array**   \[General C++ Programming\]

hello everyone, im new here trying to learn c++, i wrote a code to sort array but the out put always be like this \[10, 1, 2, 3, 4, 5, 6, 7, 8, 9\] i can't move 1...

2025-11-17T09:25:48.000Z

\[14 replies\] Last: I use VS 2022 (not code). If you're getting an error with std::size t... (by seeplus)

by ElusiveTau

**Winsock2: Upon partial transmission, does nonblocking send() retry until success or abandon?**   \[Windows Programming\]

I'm using send() with nonblocking sockets and wanted to know how to interpret its return value. According to , the return value is the number of bytes already ...

2025-10-31T09:35:01.000Z

\[2 replies\] Last: If the return value is not SOCKET\_ERROR, then only the returned number... (by seeplus)

by Hawlong

**convert a std::string to const char\***   \[General C++ Programming\]

i use this code working good const char\* SPattern{ "\\x55\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x57" }; const char\* SMask{ "x???????x"}; char\* geta...

2025-10-16T14:23:19.000Z

\[6 replies\] Last: I'm not working off complete information since I don't know what memor... (by Ganado)

by ElusiveTau

**Winsock2: How to unblock from a blocking 'connect' call?**   \[Windows Programming\]

I'm developing a C++ app that uses a company "Socket" library (call it XSocket). XSocket uses Winsock2 underneath the hood and the API only allows use of a bloc...

2025-10-12T17:32:41.000Z

\[4 replies\] Last: I've decided not to use my company's library, which just wraps Winsock... (by ElusiveTau)

by L67GS

**Return RMS volume of an mp3?**   \[UNIX/Linux Programming\]

I've been looking for this for 2 days, and found a few command line tools to retrieve the level of an mp3, but nothing I can easily return a value from. I'm sta...

2025-10-10T10:19:01.000Z

\[5 replies\] Last: Instead of using a temporary file, you may want to have a look at pop... (by kigar64551)

by Duthomhas

**He’s dead, jim.** (1,2)   \[Lounge\]

\[sup\]So very sad. I really enjoyed this forum.\[/sup\]\[/sub\]

2025-09-26T20:44:25.000Z

\[23 replies\] Last: There is a place for sure. That isn't the issue. This one won't let ... (by jonnin)

by Cyclone

**Increasing Size of Vector** (1,2)   \[General C++ Programming\]

HI, I need to increase the size of my vector. However the program crashes. How do I increase the size and prevent it from crashing. Below is the vector in ques...

2025-09-18T08:36:37.000Z

\[29 replies\] Last: 2) "make them static or move their definition to be before main()." \[... (by seeplus)

by Ganado

**Pretend my unique\_ptr is a reference?**   \[Beginners\]

I have code that looks like this: std::unique\_ptr<Foobar> pFoobar = FoobarFactory(); Foobar& foobar = \*pFoobar; // fix'd! foobar.Adjuvant(); foobar.Acutance()...

2025-09-15T12:21:23.000Z

\[4 replies\] Last: LOL, this made my day. Bless you little LisaBot. (by Duthomhas)

by Ganado

**vscode adds UTF-16 BOM to stdout \[Windows\]**   \[Lounge\]

Posting in lounge since this isn't directly a C++ issue. Google and GPT-whatever have failed me. In Visual Studio Code, I am attempting to run the .exe I just ...

2025-08-14T23:45:06.000Z

\[3 replies\] Last: Try the above with and without the \_setmode() command, and you'll kno... (by Ganado)

by Ganado

**Access specifiers in nested class**   \[Beginners\]

This is probably a really basic question, but I'm confused by why this code compiles class Foo { public: Foo() : value(100) { } private: class...

2025-08-14T13:47:13.000Z

\[2 replies\] Last: Thanks Peter. (by Ganado)

Home page | Privacy policy
© cplusplus.com, 2000-2025 - All rights reserved - *v3.3.4s*
Spotted an error? contact us