General C++ Programming - February 2014 (Page 20)

Error initializing map
 
Okay so inside my ArcherArmor.cpp, I'm trying to figure out why the map initializer list isn't worki...
[7 replies] Last: Amazing! t works now! Thank you! (by damian519)
by MrRed
openCV: Unhandled exception upon call to cornerSubPix() and calcOpticalFlowPyrLK()
 
I already posted my problem in the openCV forum, but I figured it would be a good idea to present it...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ > We are not considerin... (by ne555)
Creating Header files
 
I was wondering about header files. When creating one with a class, do you just put the class in wi...
[3 replies] Last: The main difference between the two is function inlining and compile t... (by Disch)
cloud signature tool in C++
 
developing the Cloud Signature tool to allow investigators to quickly search for cloud application r...
[1 reply] : Theoretical simple: you need to read all seizable data and then - lik... (by coder777)
simple logic in program
 
I'm looking at one of exercises from book, and basically this simple program is straightforward, exc...
[1 reply] : If you insert and remove elements, the head won't be at the beginning ... (by kbw)
function definition?!
 
Hello. Please tell me how the 'compare function is used in the example at: http://www.cplusplus...
[1 reply] : The idea is this, the sort function is independent of the algorithm. ... (by kbw)
please i need help ... how do you use get line function to read the line of code?... work below
 
include <cstdlib> #include <iostream> #include <string> using namespace std; #include "ccc_t...
[1 reply] : Read this (and the example): http://www.cplusplus.com/reference/strin... (by coder777)
Trouble Testing Program
 
I need to test the program with the text file I made called scores.txt, but I am having trouble doin...
[4 replies] Last: I got it now, I hadn't moved it into the directory. You were right tho... (by tburns517)
by cjan
comparing the points..
 
there are numbers of lines connected to each other. i ve extracted the line start point and end poin...
[2 replies] Last: this is just comparing two points i need to compare all the points of ... (by cjan)
problem with do while loop
 
So in my code I want to give the user to be forced to input one of the options given so I did a do w...
[6 replies] Last: As I have said lots of time son this forum, I really hate dislike c... (by TheIdeasMan)
RGB to HSL Saturation Close but Incorrect
 
Currently I am trying to convert RGB to HSL. Everything is working but the saturation value. It is a...
[5 replies] Last: @doug4 http://en.wikipedia.org/wiki/HSL_and_HSV the Lightness is in ra... (by ne555)
Inheritance problem I guess
 
ok... so I had a couple of problems with my code but now I have only one left... I tried to figure ...
[3 replies] Last: oh guys... thank you SO MUCH for clearing my mind... I guess I was tir... (by chippzanuff93)
Diamond with n rows -- please help me understand this.
 
The object is to create a diamond with an odd number of rows, the range being from 1 to 19, and I di...
[no replies]
ToUpper Code Help
 
I am trying to write a program, and I am using classes when doing it. My problem right now is I am ...
[4 replies] Last: Thanks!! I don't know what I was thinking. My logic was wrong when i... (by karichie)
The usage of hash
 
The original code: struct NUM { NUM(int a, int b) :a(a), b(b), val(a+b*sqrt(2)){} bool opera...
[no replies]
problems with getLine() function
 
I can't figure out why this isn't working, please help. I'm trying to use the getLine() function to...
[3 replies] Last: What you said worked Disch, but now that I added more commands that do... (by UnlimitedAlpha)
unexpected output from fprintf
 
I have the following piece of code which should write the contents of my vetor to y file but I am ge...
[1 reply] : fprintf expects a c-string. You are using c++ string (surprised you di... (by Smac89)
by qzpqzp
Missed a few classes, need slight assistance with homework
 
As the title suggest, I need ASSISTANCE with my 4-part homework. I am only going to ask for ASSISTAN...
[1 reply] : void display_options() { cout << "Geometry Calculator" << endl ... (by Smac89)
how to save two digit variables in an array
 
hi I am trying to redefine an array, but the result can only display one digit variable. I want the ...
[1 reply] : In c++, single quotes are used to denote a character while double quot... (by Smac89)
Resource Manager - need a nudge in the right direction
 
I'm trying to build a resource manager for an sfml game and I've reached a point where I am just stu...
[no replies]
February 2014 Pages: 1... 1819202122... 33
  Archived months: [jan2014] [mar2014]

This is an archived page. To post a new message, go to the current page.