• 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]
recursive (1,2)
 
could someone explain how to do the recursive portion on this #include <iostream> #include <iom...
[28 replies] Last: thank you all for those explanations can anyone review my code and le... (by ocKiNOsIi)
Assigning local lambda makes for dangling reference?
 
Hi, I have a local lambda that is assigned to a field of an object called storage. This lambda will...
[no replies]
using classes for calendar helper (1,2)
 
looking for help on this code I have no idea how to continue from this point #include <iostream> #i...
[21 replies] Last: Line 48 and line 68 must match. L64 has noexcept , line 48 does not.... (by AbstractionAnon)
memory mapping
 
i am trying to map an exe file in memory than write to its text section and than write it back to di...
[9 replies] Last: thought mapping a PE will sort of emulate how a PE looks in memory ... (by kigar64551)
Metis for finite element triangular mesh partitioning
 
I am trying to use Metis to partition a finite element mesh. however, In the metis manual I read som...
[6 replies] Last: When I obtain eptr and eind according to what we have discussed here s... (by resabzr)
by pika77
howw to pass user value using same variable between function to function
 
/* Given the following C++ program, #include<iostream> using namespace std; int main() { in...
[2 replies] Last: thks bro!! my code finally works XDD (by pika77)
by volang
I need a corresponding solution in C++ for an OpenSSL command
 
In tls.ulfheim.net , there is a section called "Server Encryption Keys Calculation". If you open it,...
[4 replies] Last: Thank you kigar, this helped alot. Finally I got it to work with the h... (by volang)
array of pointer
 
In the following piece of code, I have a problem of reading memory. When assigning value to adjncy I...
[4 replies] Last: Thanks for you explanation. I got it. (by resabzr)
knapsack problem
 
Hello I found this code on a website (https://tfetimes.com/bounded-knapsack-problem/) is it possibl...
[3 replies] Last: @162, 165, 179 ... you need to go back over this. (by jonnin)
Points
 
Write your question here. You are given n points on the euclidean plane.Sort them firstly by x co...
[2 replies] Last: #include <iostream> #include <vector> #include <utility> #include <al... (by lastchance)
Understanding pointer to a vector of pointers code
 
(I didn't write this code. This is an existing piece of code from UC Berkeley's parallel algorithms ...
[2 replies] Last: or, you misread it. new works like this: pointer = new type; //one it... (by jonnin)
cannot display output
 
in this code, I need to write and always update the file, I had done this part, but I try to display...
[2 replies] Last: will work on it! thank you! (by saltyyyyy)
by volang
Namespace conflict
 
I have "using namespace std" in my project. At the same time I'm using bind() from winsock which is...
[1 reply] : https://stackoverflow.com/a/15260456 note that the template argument i... (by ne555)
"No matching function for call" error in linked list
 
I'm adding a copy constructor and overloaded assignment operator to a linked list header file and im...
[2 replies] Last: the compiler can't read your mind. you haven't defined a constructor f... (by ne555)
initializing const char array
 
Hi all - This isn't purely a C++ problem, but it could arise in a C++ program. I'm working on ...
[8 replies] Last: You're really not providing enough information to get any meaningful a... (by jlb)
Server Certificate Invalid or not present error
 
Using Borland C++, I need to create a small app that gets some info from a PHP file on a remote site...
[no replies]
Difficulty renewing my Visual C++ compiler
 
I have had use of the Visual C++ compiler for very many years. Today for the first time after some y...
[7 replies] Last: Thanks. Revising my program for the 22 compiler has proved to be a lon... (by Anthony Appleyard)
invitation to hunt_the_wumpus refactoring
 
I have re-coded the console based game Hunt_the_wumpus, just for fun. There I had several considerat...
[13 replies] Last: Attempted this myself, obviously it's heavily based on @nuderobmonkey'... (by mbozzi)
sorting and display char array
 
I had compile my code, it shows no error, but I cant see the correct output. I think there is someth...
[8 replies] Last: Thank you, everyone! I had solved it! (by saltyyyyy)
Pages: 123... 6
  Archived months: [oct2021]