Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic related to C++ for non-expert audiences. Feel free to participate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the console/cmd closes down instantly. If you tell me why it is clos...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
BCA KCU SEMARANG
 
BCA KCU SEMARANG Wa Resmi 083800180099 Jl. Pemuda No.90-92, Kembangsari, Kec. Semarang Tengah, Kota Semarang, Jawa Tengah 50133
[no replies]
BCA KCU GANG TENGAH
 
BCA KCU GANG TENGAH Wa Resmi 083800180099 Gg. Tengah No.88, Kranggan, Kec. Semarang Tengah, Kota Semarang, Jawa Tengah 50137
[no replies]
BCA KCU MAGELANG Wa Resmi 083800180099
 
BCA KCU MAGELANG Wa Resmi 083800180099 Jl. Ahmad Yani No.1, Magelang, Kec. Magelang Tengah, Kota Magelang, Jawa Tengah 56117
[no replies]
BCA KCU KUDUSWa Resmi 083800180099
 
BCA KCU KUDUS Wa Resmi 083800180099 Jl. Jend. Ahmad Yani No.91, Magersari, Panjunan, Kec. Kota Kudus, Kabupaten Kudus, Jawa Tengah 59317
[no replies]
BCA KCU SEMARANG Wa Resmi 083800180099
 
BCA KCU SEMARANG Wa Resmi 083800180099 Jl. Pemuda No.90-92, Kembangsari, Kec. Semarang Tengah, Kota Semarang, Jawa Tengah 50133
[no replies]
Cs Flip id hubungi 0816532325
 
Cs Flip id hubungi 0816532325 Nomor Telepon Customer Service Flip Id yang tersedia 24 jam adalah: 0816532325 Layanan ini beroperasi 24 jam sehari, 7 hari se...
[no replies]
Call Center Tiktok Shop 08153500889
 
Call Center flip id Hubungi 08153500889 Nomor Telepon Customer Service (CS) Tiktok Shop yang tersedia 24 jam adalah: *08153500889*. Layanan ini beroperasi 24...
[no replies]
BCA KCP Sudirman Telpon☎️ 0838-8331-767
 
WhatsApp 08388331767 Jl. Panglima Sudirman No.27, Kesatrian, Kec. Blimbing, Kota Malang, Jawa Timur 65111
[no replies]
BCA KCP Dinoyo Telpon☎️ 0838-8331-767
 
WhatsApp 08388331767 Jl. Mayjen Haryono No.160, Dinoyo, Kec. Lowokwaru, Kota Malang, Jawa Timur 65114
[no replies]
BCA KCU MALANG Telpon☎️ 0838-8331-767
 
WhatsApp 08388331767 Jl. Jenderal Basuki Rahmat No.70-74, Klojen, Kec. Klojen, Kota Malang, Jawa Timur 65111
[no replies]
Interacting with a vector of objects derived from base class
 
I am currently trying to wrap my head around how to actually work with derived / inherited classes, how to set up a little "tree" of such classes and how to sto...
[7 replies] Last: Like for a game where the player can have different types of items in... (by seeplus)
Visual Studio 2022, How to find my breakpoint
 
How can I find the module where the breakpoint is active. I am working on a moderately complex project. There are several breakpoints set, some inside an if...
[2 replies] Last: I think something is a bit odd on my system. Open View -> Output and ... (by bkelly13)
by Ganado
Pretend my unique_ptr is a reference?
 
I have code that looks like this: std::unique_ptr<Foobar> pFoobar = FoobarFactory(); Foobar& foobar = *pFoobar; // fix'd! foobar.Adjuvant(); foobar.Acutance()...
[4 replies] Last: LOL, this made my day. Bless you little LisaBot. (by Duthomhas)
by Ganado
Access specifiers in nested class
 
This is probably a really basic question, but I'm confused by why this code compiles class Foo { public: Foo() : value(100) { } private: class...
[2 replies] Last: Thanks Peter. (by Ganado)
by Mif
C programming. "Using #include inside array initialization"
 
Hello again.. I just want to know if the syntax bellow is valid.. I tried to initialize an array with a file instead where are defined some assets, but I get an...
[16 replies] Last: Yup.. it is. Okay this being said.. I'll pass over and mark this as so... (by Mif)
Logging Wrong Line Number
 
I'm working with C++17 or prior. I'm writing a custom logger class (I don't have access to a logging library) and have an issue with the following use case. ...
[5 replies] Last: [quote=kigar64551]#ifdef CUSTOM_LOGGER #ifdef CUSTOM_LOGGER # define ... (by ElusiveTau)
by Ch1156
Is my understanding of pointers correct?
 
So I've been studying pointers and really trying to learn how to use them and how they work, and I feel like I completely understand their use cases now. I...
[19 replies] Last: I have just discovered that [ ] can be applied to type constructors ... (by TheIdeasMan)
Getter for enum member returns a copy of enum?
 
I came across something non-intuitive, found a solution, but don't fully understand why the solution works. #include <iostream> using namespace std; enum ...
[11 replies] Last: My view with regard to interface and not needing setters and maybe nee... (by TheIdeasMan)
  Archived months: [mar2026]