General C++ Programming - November 2013 (Page 37)

by dkaip
How i can deposit vectors with different objects?
 
Hello. I my code i have a base struct ... Then others structs made ... struct base{}; struc...
[14 replies] Last: Also in code of SneakySnake some questions. How i can externaly swap 2... (by dkaip)
Help With Program
 
s
[4 replies] Last: alright. Thank you so much (by blackmagic24)
by j2013
why the answer is zero
 
Hi, anyone know how come the answer is zero #include <iostream> using namespace std; class Shap...
[4 replies] Last: http://www.cplusplus.com/doc/tutorial/polymorphism/ LEARN!!! (by sherre02)
Changing const int value?
 
#include <iostream> #include <iomanip> using namespace std; // cin.get() <-------------- used ...
[1 reply] : If you want to change it, it can't be a constant. (by sherre02)
C++ exception stack tracer (debugger)
 
Hello I want to inform you about a new debugging tool to sample. I give you its sourceforge short...
[1 reply] : Hello again I want to inform you about the new release of libcsdbg, h... (by tasos42)
Virtual mouse help needed
 
Hi, I am trying to build hand gesture based application to control mouse. I have succeeded in movi...
[no replies]
Error Returning an Array
 
On the return line I get: error: invalid conversion from 'char (*) ' to 'char' I've read about simi...
[5 replies] Last: Yes. (by LB)
Class: member function print() not printing data..
 
.h file #ifndef __lab4b__taskList__ #define __lab4b__taskList__ #define MAX_CHAR 100 #include <i...
[3 replies] Last: Thank you!! (by Bdanielz)
Data Cleaning
 
Greetings all hope you are staying low on the glycemic index....I'm trying to do some data cleaning ...
[4 replies] Last: thanks so much (by chasecb)
Access 'X' member in typedef std::vector<sf::Vector2i> FramesCoords
 
Hi. How can I access to 'x' member from sf::Vector2i in my typedef? I try this, but doesn´t work: ...
[6 replies] Last: @OP: for some reason you've got a pointer to a vector. In order to use... (by ne555)
ltrim and rtrim as standard methods in string class
 
Hi everybody From time to time I see others, and myself, writing, again, a way to get rid of leadin...
[13 replies] Last: > And I thought C++ programmers care about performance, cough cough...... (by JLBorges)
unique_ptr and template
 
Quick question: #include <iostream> #include <vector> #include <memory> struct Base { vi...
[10 replies] Last: A dynamic cast on a pointer results in a new pointer being created; fo... (by JLBorges)
digital clock
 
Getting a compilation error; It says ''reloj'' is undeclared (first use this function). expected ; b...
[5 replies] Last: What are those square brackets doing after time rolej ? (by Mats)
String does not name a type?
 
Well this is an awkward error during compilation... I'll just let you look at the code, says the err...
[1 reply] : Can you please post the exact error message. (by kbw)
by aj3423
permutation for two different list
 
Hi, I got a permutation question, I got two different std::list: list<string> slist; slist.push_ba...
[5 replies] Last: Well, since I've already been driven insane making this, I may as well... (by helios)
Circular Template Arguments
 
Today I faced a problem where I had circular dependency in my template arguments. I was trying to ma...
[6 replies] Last: Yeah I agree..... I didn't see it at first.... My head was stuck in a ... (by pilotmm)
Can't use System commands
 
So, as far as I can tell, this code should run a system command from the C++ program: system("ping...
[1 reply] : system() is a function of the cstdlib (C++) / stdlib.h (C) so y... (by condor)
by bugsy
Primary expression error
 
Hello everyone i need assistance. Im getting a primary expression error on the 11th line, and i dont...
[3 replies] Last: You have to give arguments for the function. Just restating what the t... (by Jakssoul)
by wkust
Accepting Specific strings
 
I am quite new to programming in Cpp and I cannot figure out how to get the program to deny "B" as a...
[1 reply] : For one, your line 7 should be cin >> cat; But when I compile the pr... (by Jakssoul)
SFML 2.0 Opengl problem
 
i was trying to combine opengl with sfml and the code worked but it can't draw anything to it. my as...
[3 replies] Last: I used this as a reference, it has a triangle in it: https://github.co... (by LB)
November 2013 Pages: 1... 3536373839... 46
  Archived months: [oct2013] [dec2013]

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