• 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 Qsh222
A problem involving divisors
There are two numbers written on a board, A and B. If A and B are divisible by P, where P is a certa...
[1 reply] : You'd want a loop. The loop would go through all possible values of P ... (by zapshe)
displaying distance between letters, numbers, and points
1) Input data. The data could be: letter, number, or point (x, y). Call this twice to get two “thi...
[1 reply] : If you have the data already and just want to output it then... std... (by zapshe)
c++ Temperature bar chart
Can anyone help me out with this problem This is what I have so far: #include <iostream> #in...
[9 replies] Last: KENnIG1591, Apart from retrospectively changing your original post, al... (by lastchance)
help with cin lines in switch statement
Can anyone help and explain to me how to correctly include cin lines? My current code does not have ...
[8 replies] Last: Can anyone help me with this: //where should I place this if I want... (by ocKiNOsI)
How does one get the width of an general int (1,2)
My goal is to set only the high bit of a general int. I would like to use it as a constant for spe...
[23 replies] Last: Implementing a Fourier transform? (by mbozzi)
PLEASE HELP A COMP SCI MAJOR STUDENT OUT!!!!! (this is due in about 13 hours) I need to Approximate ...
[10 replies] Last: thank you everyone for your help, please forgive my obvious errors I a... (by vvartani)
How to reset ethernet settings?
Hi everyone. I want to write a code for reset the ethernet settings. Is it possible to do such a t...
[4 replies] Last: What is "ethernet settings" anyway? In firmware of card, in UEFI nvram... (by keskiverto)
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...
[9 replies] Last: I'm not sure (not tested) if I can simply use derived classes in a st... (by MikeyBoy)
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 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)
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)
Pages: 123... 8
  Archived months: [jul2021]