• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any topic related to programming in the C++ language that does not ...
[no replies]
BCA KCP Pekalipan Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Pekalipan No.111, Pekalipan, Kec. Pekalipan, Kota Cirebon, Jawa Barat 45117
[no replies]
BCA KCP Plered Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Otto Iskandardinata No.19D, Tegalwangi, Kec. Weru, Kabupaten Cirebon, Jawa Barat 45154
[no replies]
BCA KCP Cipto Mangunkusumo Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. DR. Cipto Mangunkusumo No.4E, Pekiringan, Kec. Kesambi, Kota Cirebon, Jawa Barat 45131
[no replies]
BCA KCU CIREBON Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Yos Sudarso No.27, Lemahwungkuk, Kec. Lemahwungkuk, Kota Cirebon, Jawa Barat 45111
[no replies]
BCA KCP Banjar Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Letjen Suwarto No.1A B-C, Hegarsari, Kec. Pataruman, Kota Banjar, Jawa Barat 46322
[no replies]
BCA KCP A. Yani Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Ahmad Yani No.176, Ciwalen, Kec. Garut Kota, Kabupaten Garut, Jawa Barat 44115
[no replies]
BCA KCU GARUT Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Ciledug No.162, Kota Kulon, Kec. Garut Kota, Kabupaten Garut, Jawa Barat 44112
[no replies]
BCA KCP Pasar Wage Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Jend. Sudirman No.719, Purwokerto Wetan, Kec. Purwokerto Tim., Kabupaten Banyumas, Jawa Tengah 53111
[no replies]
BCA KCU PURWOKERTO Telpon☎️ 08388331767
 
WhatsApp 08388331767 Jl. Jend. Sudirman No.391 A, Brubahan, Purwanegara, Kec. Purwokerto Tim., Kabupaten Banyumas, Jawa Tengah 53116
[no replies]
by Ganado
Avoid redundant construction/destruction of vector elements
 
I am wondering if I'm doing it right, with regard to which constructors I need to define to prevent redundant constructions/destructions of objects. Obviously, ...
[5 replies] Last: In this case, since Derived has a non-explicit constructor taking just... (by mbozzi)
by Ganado
Why must base class be constructed before derived members?
 
I ran into this problem when trying to encapsulate behavior into an existing, rigid structure of a project I'm working on. See both the DerivedBad and Derive...
[6 replies] Last: I just made a benign, but similar initialization-order mistake and it ... (by Ganado)
Proposal for explict keyword for non constructor functions
 
So we have the explicit specifier for constructors, would it be better if we could have explicit for any type of callable functions as well. At the moment w...
[9 replies] Last: I have been a fan of cpp2, since Herb started it; I like the whole ide... (by TheIdeasMan)
by hmoein
Newest C++ DataFrame release with a bump in major release number.
 
Release 4.0.0 of C++ DataFrame (https://github.com/hosseinmoein/DataFrame) contains many new analytical constructs/routines. But the big news that justifies the...
[no replies]
by kitfox
Will my compiler automatically reuse the return value of this method?
 
I'm wondering if my compiler will be smart enough to realize that the determinant() of this matrix has already been calculated and will reuse the value that was...
[4 replies] Last: I wasn't being very clear, yes you put it in much better terms than I ... (by Ganado)
by kitfox
What's the proper way to set a std::vector to another std::vector?
 
I'm trying to figure out the optimal way to do this assignment. Right now I'm just doing a simple assignment, but was wondering if using std::swap() would be b...
[5 replies] Last: The outermost loop is what bothers me most. Assuming that there is at ... (by newbieg)
Implementation of headers
 
I've recently been learning about command-line commands and how all that stuff works and I have gotten curious, for various of the standard headers in C++ (such...
[3 replies] Last: I see! thank you for the sources and stuff, I will have to check them ... (by Heyyo53)
Pure virtual calls not resolving
 
Using VS 2022 Version 17.14.25 Having trouble getting pure virtual calls to link. I have a solution with a main project and several DLLs. The main class inher...
[2 replies] Last: Got it. Thanks. (by AbstractionAnon)
by kitfox
Why can I not link?
 
I'm putting together a small project to generate tetrahedralizations of 3D meshes: https://github.com/blackears/cyclops_tetrahedralizer This is the first time ...
[2 replies] Last: Your issue looks like it comes down to object lifetime and how memory ... (by LisaBedard)
by kitfox
Can I make this a constexpr?
 
I have small array that I'm using to store some directional data. I'm trying to adapt this to be a member of a class: class BVHTree { static const...
[2 replies] Last: On GCC, it doesn't compile with -std=c++17 , but will compile with -... (by Ganado)
  Archived months: [mar2026]