General C++ Programming (Page 37)

inherit from std::vector
 
Guys, i am confused. On some pages i find people saying that i MUST NOT inherit from std::vector, b...
[6 replies] Last: I'll just put it in a namespace, that way it won't pollute the global ... (by Gamer2015)
link error although all constructors appear to be there
 
I'm getting a massive 1300 char link error with VC10. It appears to complain that it can't see the c...
[no replies]
Homework help Recursive Function
 
Write a recursive function for converting a string of digits into the integers it represents. For ex...
[5 replies] Last: > i have no idea how i would go about inserting my "," Where do you w... (by JLBorges)
boost
 
I need a suggestion. it is good practice to use boost lib. professional level big project developm...
[3 replies] Last: @coder777: OP meant "compatible" and not "comparable" in both instance... (by LB)
C++ and Command prompt?
 
I would like to make a simple program to hide/unhide hard disk partitions in windows. In order to ac...
[no replies]
by tmason
Problem with creating a comparison operator: the object has type qualifiers that are not compatible with the member function
 
Hello, So I am sure this is simple; I am attempting to create a comparision operator for a comple...
[1 reply] : It is not wrong to write it like so: virtual float const getInternalV... (by coder777)
Day of Week Program
 
I cant get my program to run, but it compiles without any problems. Can anyone help me out with this...
[2 replies] Last: It works fine here, so maybe you just wonder why the window closes so ... (by Gamer2015)
by tmason
Whats the difference between "const int funct()" and "int const funct()"?
 
Hello, I am wondering if there is a difference between: const int funct() { //stuff...
[2 replies] Last: Awesome; thank you for the speedy reply! (by tmason)
by iamred
Trying to find mode of a vector through a map
 
Im currently trying to find the mode of a vector through a map but am not sure how to do so besides ...
[3 replies] Last: #include <iostream> #include <map> #include <vector> #include <algori... (by tipaye)
a structure code not working please help
 
#include<iostream> using namespace std; struct complex { int real; int imag; }; int display(comple...
[2 replies] Last: uhm, you might want to actually read in the complex var, but you make ... (by Gamer2015)
Errors with "emmintrin.h" file while setting up OpenCV 2.4.5 with visual C++ 2010 Express
 
I have installed the well-known open source library "OpenCV 2.4.5" with windows 7 Ultimate Service ...
[1 reply] : First, i had the error "cannot open include file "emmintrin.h" ", and... (by coder777)
Galley PHP modules
 
PHP modules are complicate to create but the result looks so simple. Please suggest me some gallery ...
[no replies]
MFC and main method all I need to run this sample code?
 
https://cs.senecac.on.ca/~gam670/pages/content/force.html This website has some sample codes that...
[no replies]
easy multiple choice questions
 
1) An algorithm is A) a finite set of steps to solve a problem. B) a complete computer program. C...
[1 reply] : best of luck. (by sujitnag)
Using iostream in VS 2010
 
How do I using #include <iostream> in Visual Studios 2010? I used to know since I had to use the 20...
[7 replies] Last: There is no compilation error with the code; it compiles and runs: htt... (by LB)
Pathfinding
 
I am creating a rougelike game and am working currently on path finding. I have a map structure with...
[3 replies] Last: I am completely confused as to how to implement it, as I have an entit... (by lordseanington)
classes & constructors
 
I am creating a bitvector project, and I'm having a little trouble creating my constructors in the c...
[1 reply] : No, your constructor seems fine, but this { before the constructor see... (by Gamer2015)
by Cobryn
text to speech WITHOUT SAPI?
 
Hey all, I'm trying to find some code that can do very very simple text to speech WITHOUT using S...
[1 reply] : /bump (by Cobryn)
recursive loop not doing what I want
 
You know the android phones with the 9 dots for a password, and you run your finger around to make a...
[4 replies] Last: Oh, so you want to start at a given Point at get all points around thi... (by Gamer2015)
by tmason
Faster to create new variable or reuse existing one for math calculation?
 
Hello, So I have a question that sprung out of curiosity as I was programming; is it better to re...
[1 reply] : Hi, the first is equivalent to the copy constructor. glm:mat4 newVi... (by Mathes)
Pages: 1... 3536373839... 51
  Archived months: [jan2015]

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