• 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 top...
[no replies]
by frek
My simple vector, myVec (1,2)
Hi guys, Please take a look at my simple vector below. I have got two questions: 1) Is the code cor...
[25 replies] Last: re L176 error. Why are you declaring the copy constructor as explicit?... (by seeplus)
by frek
Is it reasonable to abandon raw pointer in favor of smart pointers in modern cpp for all programs
Hi people, I think with presence of good features, smart pointers deliver to us it's time to aban...
[4 replies] Last: Pointers remain useful in cases where the component holding the pointe... (by mbozzi)
Is there methodology for cache-efficient algorithms and data structure?
Dear experts I am interested in high performance computing. Sometimes I wonder if in-depth performa...
[6 replies] Last: I know some of linked data structure can be represented as contiguous... (by helios)
I somewhat of an idea on what I'm am doing, but could use some help. I do have a few questions, but ...
[4 replies] Last: Not sure what your output should be, but consider: #include <iostre... (by seeplus)
Convert a 4-Bytes binary file 1024x1024 (.dat) to a matrix floating (.txt)
Hello Everyone! I am in my master degree starting in image processing. I have a .dat 4-bytes 1024x...
[9 replies] Last: You right. Done! (by DanielDeChamps)
How to draw 3d polygon maps without an editor?
Hey, I am working on a game engine and I am at the point of needing to understand how to draw 3D map...
[no replies]
problem in C++ program
hey guys ! i am having a problem to write C++ program plz help me to solve it. Write a program t...
[2 replies] Last: or use your previous knowledge Break out your algebra book and find ... (by dhayden)
C++20 volatile warning
Good day! :3 I am using GCC 10.2.0 from MSYS2 on Windows. Recently I moved one C++ project from C++...
[5 replies] Last: Note in C++20, some previous uses of volatile have been deprecated. Se... (by seeplus)
Compiling a shared library
Dear Community! Concerning a topic that deals with the compilation of a program written in C++ i ...
[no replies]
Converting string to int for switch manipulator
The question is this that I have to ask the user a month and according to the month I have to set a ...
[6 replies] Last: As was suggested by gaxio, why not just a simple map? As an example, c... (by seeplus)
by Alimaz
How to open an excel file and save it as a text file
Hi everyone! I just want to open an excel file and save it as a text file. I think it would be simp...
[5 replies] Last: You can open an excel file as an object in c++ and then use the automa... (by seeplus)
Method for injecting code into application?
I'm wanting an example showing how to use injection to inject function code into a exe that holds a ...
[1 reply] : This is what I came up with any thoughts on it would be helpful. // P... (by mecacool)
Finding number that 1-20 will divide evenly into
what sounds like a simple problem is giving me just that... problems within a couple of second I ca...
[9 replies] Last: Okay...........Thanks, I guess?? (by adam2016)
overload operator '='
I have this: class foo { public: foo(){}; ~foo(){}; void* operator= (foo& f){retur...
[4 replies] Last: That is exactly what I need. It will make using this class much cleane... (by daytooner)
“Module was built without symbols” Error occurred when tried to opening a sample project
I am new to visual studio, I am trying to run a sample CPP code from a company which connects to DCA...
[3 replies] Last: The point of user4581301's comment on the Stack Overflow page was to f... (by Ganado)
String to Long Number Back To String
Hello! I was just asked a question that I need some help with. The question was given two strings...
[8 replies] Last: I have it done would be the best way to go about it? That's a goo... (by seeplus)
Multithreading Programming Problem
Hi guys ; I'm trying to solve as much as possible multithreading problems in regard of getting a ...
[1 reply] : Also here -> https://cboard.cprogramming.com/c-programming/179981-thre... (by salem c)
which function is better calloc or malloc ?
It depends on what you want. calloc(...) additionally sets the memory to 0. See: https://www.cplusp...
[2 replies] Last: For C++? Neither, you should be using new. For C? Probably calloc sin... (by gaxio)
WriteProcessMemory function issue
I am trying to write to 2 memory addresses. This one "0x7def70" is for the 640 resolution value Thi...
[5 replies] Last: I'm pretty sure Windows has address space layout randomization. This c... (by gaxio)
Pages: 123... 10
  Archived months: [nov2020]