General C++ Programming (Page 38)

How to print from an input file after being sorted
In my class I had to make a program where it took the name of county and its tax rate from a input f...
[3 replies] Last: My code sorts it in ascending order, so how would I change the functio... (by Hedgehog Ninja)
by Todai
(Windows - Concurrency) Debug error
Hi guys, .I had a topic up a few hours ago where I was asking for some help and since I was on my...
[no replies]
Problems with 2D vectors C++
I am having problems with loading my data file into a 2D vector, and then take the average of the el...
[no replies]
Coding for program below
Hi guys, I'm a IT student.I'm looking for coding for this program.Hope you guys can help me out with...
[1 reply] : This site is not a homework service. If you have code with a specific ... (by Zhuge)
by Lichi
Variable existence checking before preprocess?
Hi, i'm triying to create a define to call a struct function, but i't give me undefined reference of...
[2 replies] Last: Is not my real code. I didn't see the "->", i changed it to "." but th... (by Lichi)
vector iteration
If i have 5 vectors For example vector<string>player_0; vector<string>player_1; vector<st...
[6 replies] Last: > i have other functions and codes to use this way. And how can i go ... (by JLBorges)
C++ Undefined Symbols for Architecture
I thought I'd finally got my code to compile and I was hit with this set of errors. I've looked into...
[16 replies] Last: No problem. (by Chervil)
Problem with my coding?
For my coding assignment I had to write a function that would create the outline of a board for a Ma...
[2 replies] Last: = is assignment. == is comparison. So if (i = 6) should be if (... (by dhayden)
Operator Overloading Problem
#include <iostream> using namespace std; class Distance { private: int feet; ...
[1 reply] : That's a little weird because it's defining the operators inside the c... (by dhayden)
Thread Concept
Would anyone know a way of explaining or could you direct me to some material regarding Thread? I do...
[1 reply] : It's a way to run more than one function at the same time. Depending o... (by Moschops)
by edna
Hey! Can anyone help me with the following: how to make a function which from vector of integers fin...
[1 reply] : Go through the vector. At each element, if the digits are of the same ... (by Moschops)
Use of Undeclared Identifiers
I'm trying to implement a database from a linked list of objects. For every variable in the ...
[2 replies] Last: Hi, You're code here, is wrong (though, you're on the right track): ... (by Little Captain)
unknown error
For some reason my code seems to add extra drinks in the tea and juice categories even if i only typ...
[3 replies] Last: Hi, The very first item when I Googled "DevC++ compiler options" : ... (by TheIdeasMan)
Why the program can not read the file?
#include <iostream> #include <fstream> #include <conio.h> using namespace std; int main(){ ...
[1 reply] : You should probably close the ofstream() before you try to open the if... (by jlb)
c++ using string in an if statement
Hey, I'm fairly new to c++ and i have been stuck on a bit of a problem. #include <iostream> #inc...
[2 replies] Last: Well that is was easy thank you so much! (by awesomesause)
Iterating over a parameter pack??
Hi, I have this: template <typename... T_values> class Thing { void something_else(T_values...
[4 replies] Last: #include <iostream> template <typename... T_values> struct Thing { ... (by prestokeys)
by the m
Not declared in scope
I was making a sample program (which isn't in front of me right now), and I was making a header with...
[no replies]
Need help with the void Dequeue function (last function)
In this program, you will implement a FIFO or FCFS Queue. The data: 1) Define a structure named ...
[no replies]
OpenGL-Texture to wxImage conversion
Hi there, i want to convert a huge texture stored in my "clsBuffer"-object (see code) to a small wx...
[no replies]
Code Problem
[2 replies] Last: You push nodes at the front of the adjacency list, so the list for nod... (by dhayden)
Pages: 1... 36373839
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.