• 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]
using classes for calendar helper
 
looking for help on this code I have no idea how to continue from this point #include <iostream> #i...
[19 replies] Last: On line 46, If count is zero the program attempts to access memory b... (by mbozzi)
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)
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,...
[3 replies] Last: Is it only HMAC-SHA256 that's happening here? I guess you should kno... (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...
[5 replies] Last: backwards eptr = {0, 3, 6, 9, ..., 3*18}; size 19 (elements + 1) eind... (by ne555)
recursive (1,2)
 
could someone explain how to do the recursive portion on this #include <iostream> #include <iom...
[27 replies] Last: Its hard to describe, but I prefer iteration unless the recursion is u... (by jonnin)
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...
[7 replies] Last: I suspect your actual problem was not with the memory mapping itself... (by kigar64551)
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)
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...
[1 reply] : Refernce is like this: void input(int& num1, int& num2); // Note: & ... (by coder777)
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)
Compiler incompatibility
 
I wrote a Visual C++ program which in an .h file had the lines char*charnames ={"00", "lbutton", "r...
[6 replies] Last: The compiler settings are set to use wide-char as default (hence the W... (by seeplus)
Pages: 123... 6
  Archived months: [oct2021]