General C++ Programming (Page 42)

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)
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)
by goldyn
Random Number Generator issues
It seems as though my program is working great but I'm having problems with my random number generat...
[1 reply] : The algorithm used by rand function will give you random numbers, but ... (by zoran404)
Using nodes and Linked List
favorite Okay, so I am trying to create a "linked list" and I'm running into trouble and...
[3 replies] Last: Would I loop through each element in the array, then compare it? ex) ... (by CS Student)
C2582 Operator = function not available in class, when using vectors?
My program is generating the error: C2582: 'operator =' function is unavailable in 'Brick' c:\progr...
[14 replies] Last: I bit the bullet and declared imgr as a pointer instead of a referenc... (by coder777)
Pages: 1... 4041424344... 66
  Archived months: [sep2014]

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