General C++ Programming (Page 5)

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: http://www.informit.com/articles/article.aspx?p=1852519 (by keskiverto)
array,c++
 
#include <iostream> using namespace std; int main() { int a ; int m; cout<<"enter t...
[1 reply] : // why we can't assign the base adress of array to pointer Because i... (by MiiNiPaa)
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: http://mingw.5.n7.nabble.com/MingGW-a... (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 https://github.com/eyewriter/eyewri...
[1 reply] : http://eyewriter.org 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)
Newton Raphson recursive function
 
Hello, I am trying to write a function which will perform the Newton Raphson method for finding t...
[3 replies] Last: you were doing this before: if (...) { newt(xn, accu); return 0;... (by Stewbond)
by chuxta
compiler failing to build
 
i wrote my code with code::blocks compiler. i declared classes in different header files. class b in...
[1 reply] : Code::Blocks is an IDE. You need to add a compiler like GCC, MinGW (by Stewbond)
Read only certain lines from CSV File
 
I am trying to read lines from a CSV file and put the values into vectors. The CSV contains a large ...
[1 reply] : Read line. Check secid. If it matches, continue with storing values If... (by MiiNiPaa)
by tmason
Deleting a two dimensional array...
 
Hello, Consider the following code snippet: GLfloat box = { { x2, -y2, 0, 0 }, { x2 +...
[1 reply] : No. You do not need to call delete on anything not created by new (by MiiNiPaa)
Pages: 1... 34567... 58
  Archived months: [aug2014]

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