General C++ Programming (Page 39)

NOT overwriting
void Contact::updatecontact() { Contact C; fstream file;"Contacts", ios::in | io...
[no replies]
Help implementing std::remove_if?
I'm trying to iterate through a vector and delete elements in it. I've seen that std::remove_if is p...
[8 replies] Last: instead of removing const add const to the GetLine() (or GetActiveL... (by coder777)
Find values in vector and create new vector
I have two vectors (secid (string) and close (double)). The program must read a value that the user ...
[no replies]
Visual C++ 2013 and templated member function definitions
I am not sure if this forum is the right place to ask this, as - necessarily - the advice and help g...
[4 replies] Last: I can see what you are saying - and agree for the most part. Even wit... (by Gemman Aster)
Cannot access protected members of parent class.
Good day I have a question regarding classes and inheritance. I am a student, but the question do...
[1 reply] : You can use this->first or linkedListType<T>::first or orderedLin... (by Peter87)
Converting feet to inches as a decimal
I have my program all but done, but I can't get past this last part. I need to have the user input ...
[4 replies] Last: Be careful with single-digit inch values. Would 5' 1" be written as 5... (by doug4)
help with queue declaration
in my main i have this PCB1 pcb; in another header file I have a class PCB1 . in another heade...
[2 replies] Last: in another header file, I have a class ready_queue and I did this : ... (by MikeyBoy)
Reading BMP binary problems.
Hello, i wrote a program which reads binary info from BMP image, it reads the header bytes, RGB byte...
[2 replies] Last: Yeah, i read it byte by byte, and i should have read 4 bytes (by hakeris1010)
How to make task bar?
i want to make task bar just like in Windows 7. I have no idea how to start . I am using Qt .Any...
[no replies]
How to initialise dynamic arrays of objects?
Hi. Say I have a class called Play now I have a constructor called Play(int, char, int); I cre...
[5 replies] Last: (by keskiverto)
OpenMP - Linker Errors for MathGL
I'm getting a bunch of linker errors when compiling MathGL with it's dependency OpenMP. From wh...
[5 replies] Last: I ended up using this solution: (by dominover)
So So close. I think.
PLEASE IGNORE I COPIED AND PASTED WRONG.... Hi everyone. First off I am sorry that this code is n...
[4 replies] Last: No problem. :) (by kemort)
mean and median for test grade (1-100) students
// I cannot figure out what I need to change. // I cant get it to count the number of scores it ...
[no replies]
vector of the highest path in a bin-tree
Hi all, I have a function signature: vector<int> tree_highest_path (Node *root); which gets a pointe...
[3 replies] Last: > What is this path in 1st line? a proper structure that would store ... (by ne555)
How to drag a pattern read from file by mouse In OpenGL
#include <stdio.h> #include <stdlib.h> #include "fssimplewindow.h" int ParseString(int &nWord,int ...
[no replies]
by jaystu
Input Validation for 5-digit PIN number read from integer
The problem states that i need to accept any pin number between "00000" and "99999". I need to read...
[2 replies] Last: Thank you so much, greatly appreciate your help (by jaystu)
by Shyckh
ellipse fit method understanding urgent help
please can any one help me on explaining this code in this link
[1 reply] : produced their eye tracking program as part of th... (by kemort)
Artwork Program (Inheritance)
This program compiles and runs until the user inputs the media, material, or type then it crashes. P...
[4 replies] Last: so I fixed it... here is what I I came up with: int main() { int ch... (by dub1987)
Initialization Error
Ok,I am currently studying the book Beginning C++ Through Game Programming. The Lost Fortune program...
[2 replies] Last: Ok, I get it now. I really appreciate that. I need to pay better atten... (by Vesuvius803)
by Glaven
Find Smallest Number in 2d Array
I need to generate a grid of 10x8 and fill it with random numbers (max 70) then i need to find th...
[4 replies] Last: You nee help understanding the dimensions of your array. Read this tu... (by doug4)
Pages: 1... 3738394041... 64
  Archived months: [sep2014]

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