• 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]
Screen capture performance with directx
 
I am trying to make a fast screen capture with direct x, but the performance is horrible.. This func...
[no replies]
by em62
How does one get the width of an general int
 
My goal is to set only the high bit of a general int. I would like to use it as a constant for spe...
[4 replies] Last: Oooh, OP is asking for the number (e.g.) 0b1000'0000. I thought she wa... (by Ganado)
by volang
Does all std functions throw exceptions?
 
Does all standard functions throw exceptions? Or only the ones that have specs where it's mentioned ...
[7 replies] Last: right, a thing to consider is many library functions work with user-de... (by Cubbi)
Linked List Delete won't work
 
I was task to create a linked list and it must be menu driven I already finish the other parts but t...
[6 replies] Last: In case anyone in the same class is following along... Notice that ch... (by dhayden)
Need Library for digital to analog conversion: any help?
 
I need to find a library for robotics that lets me change audio from a file, digital, to analog outp...
[5 replies] Last: will openal work on this thing? I am pretty sure it will do what you... (by jonnin)
c++ Temperature bar chart
 
Can anyone help me out with this problem This is what I have so far: #include <iostream> #include ...
[6 replies] Last: #include <iostream> #include <string> #include <iomanip> #include <f... (by againtry)
by azenda
An array of pointers to arrays of derived objects?
 
Hello, I have a base interface and a few classes derived from it, holding similar but different d...
[8 replies] Last: Yes, reading HDF files, I have an exact number of rows I know I'll rea... (by azenda)
operator overload from setfill? weird error from code
 
Hey yall, I was working on my code for class and I ran into this error with this chunk of code. I ca...
[2 replies] Last: That worked! I took a bit of editing since the characters started disp... (by dorito200)
MATLAB vs C++ Outputs not matching
 
I have the following function of sum of sines and cosines in both C++ and MATLAB and I am using this...
[10 replies] Last: Hey everyone! It seems the issue was a huge "round off" error. I didn... (by JamieAl)
Help with Socket Programming code
 
Here is the code in question in C not C++: // Example socket client #include <stdio.h> #include ...
[2 replies] Last: It seems you're learning it backwards. Ideally you'd learn a bit abou... (by kbw)
Problem with static queue c ++
 
Hello this is code, but not show list help me please #include <iostream> #include <stdio.h> ...
[3 replies] Last: Line 16: You're assigning a pointer to itself. That does nothing. R... (by AbstractionAnon)
Infinite loop when a letter is an Input, any fix?
 
Hi, I got this problem where the program just infinitely loops when a letter is an input instead of ...
[3 replies] Last: Anywhere your stream may fail, you should have: if (cin.fail()) ... (by zapshe)
Help with Event Simulation Program
 
GitHub URL: github.com/CIS-3207/project-1-fall21-tui92851 File: lab1.cpp can be found in .github f...
[1 reply] : If you debug and go line by line in the while loop you get an idea of ... (by linklance)
replacing function name
 
Hi all - This question is equally applicable to C and C++, I believe. I'm working on porting a...
[6 replies] Last: yea that was the 'wrapper' idea :) but you are totally correct. (by jonnin)
Help with Process Synchronization (C not C++)
 
Please help me solve parts a, b, and c, it is confusing me and taking me forever because I don't kno...
[2 replies] Last: > Please help me solve parts a, b, and c, ┬┐did you solve part zero? ... (by ne555)
division for a counter??? help please!
 
Hey yall, this is part of a big assignment I have coming up and this part has put my progress at a d...
[2 replies] Last: #include <iostream> int main() { // Create an integer var9 and ... (by The Grey Wolf)
by Armanc
How to not change original array values when using recursive function in C++?
 
I am using a function to change the array's elements. Basically, it merges two elements and puts the...
[3 replies] Last: Aarrgh! That's the worst way to solve it! What that does is create a ... (by Duthomhas)
Need help starting/doing this lab
 
I need help with this problem, its supposed to read from an input.txt file, do what it says in the r...
[7 replies] Last: I really don't know how to do any of those things It sounds to me l... (by dhayden)
The understanding of the code. C++
 
Can you explain me please this code? I understand it in general terms. I need a clear understanding....
[14 replies] Last: Can it be true? You are just using (the results for) the standard E... (by lastchance)
Pages: 123... 8
  Archived months: [jul2021]