General C++ Programming - June 2015 (Page 4)

"... was not declared in this scope"
 
When I build it, it returns an error in the ".cpp". The error is that neither "titulo" or "nodo->a...
[7 replies] Last: jesus i wasn't even drunk when i typed my reply :/ void before the cla... (by mutexe)
by mqazi
Pointer of type Vector
 
Is is there any way to create pointer of type vector that stores references to other vectors ? Also ...
[5 replies] Last: MiiNiPaa are you asking about type of values stored in vector ? (by mqazi)
How is '\t\t' a character?
 
So I accidentally entered '\t\t' hoping to get two tabs (I realize what I did wrong) Instead of gett...
[5 replies] Last: thanks, Computergeek01, that makes a lot of sense. I've just never see... (by sabres12)
"Ambiguous overload" doesn't look ambiguous
 
Hi, I've run into a rather perplexing issue. I've managed to distill it down into the code here: ...
[12 replies] Last: The latest version of MSVC actually does have ref-qualified member fun... (by wcassella)
vector of vector of unique_ptr
 
How do I fill a std::vector<std::vector<std::unique_ptr<Node>>> with blank vectors so that I can a...
[10 replies] Last: @MiiNiPaa: you are right, the explicit makes the difference. I had a... (by keskiverto)
Delay std::thread start?
 
Hello everybody! I'm writing an app, in which I'm creating an array of std::threads. They start i...
[6 replies] Last: I read, that it's better if all threads start sending data at the same... (by TheHardew)
Background Project Question / Game Engine
 
Hey guys/gals, I want to make an open world game that's kind of like the infamous series. Now I know...
[1 reply] : you can use unity or unreal engine or you can implement your own (by heepoo)
by calz
Change numeric string to alpha string in sentence
 
How do i change a numeric string in a sentence to an alpha string from what the user give as input. ...
[1 reply] : Test the words in the sentence and only modify the words where all ch... (by closed account 48T7M4Gy)
dynamic pointer cast introduce std::__1? How to deal with it?
 
Hi, there I have a line like: std::shared_ptr<Sub> m1 = std::static_pointer_cast<std::shared_p...
[2 replies] Last: Right. Thank you! (by pipehappy)
Hash table on top of linked list
 
So I implemented a linked list and now I want to place a hash table on top. Am I going in the right ...
[3 replies] Last: ASIDE Does Node * current; need to be a class member? Given the way... (by andywestken)
decoding mp3 in a commercial product
 
I can use any number of free libraries to decode mp3, currently I'm using core audio on mac and liba...
[7 replies] Last: Well, Audacity is not a commercial application. Also there are subtlet... (by helios)
automatic ranged for over integer failure
 
Hey all, another weird question. I had written a ranged type that instantiates over any integer typ...
[2 replies] Last: Well, crap. I knew it would be something like that. I can guess why t... (by Duthomhas)
Checking rooms
 
Hey there guys! I was wondering if someone could help me make a function to check that I tick off a ...
[4 replies] Last: Currently I'm thinking about setting up a bool for isNotVisited(); an... (by dhayden)
Mathematical problem!
 
Hey guys! I am trying to develop a program that solves second grade equations. If the equation is f...
[5 replies] Last: I haven't looked at your code. I've used Dev C++ (not Orwell) for mayb... (by logankuiper)
by Tresky
Non Console Applications
 
Hey everyone, I would like to create new types of programs that are not based out of the console. W...
[1 reply] : Your choice of a GUI is like your choice of a favorite food or footbal... (by cnoeval)
by knb
Parsing in C++
 
I need to parse multiple lines from a file so that I only get a substring from each line. I have m...
[2 replies] Last: My first thoughts were that it was too complicated for regex? And rath... (by andywestken)
by Ganado
Pixels in angled gradient tool
 
Graphics related stuff, just wondering if anyone has any idea on some tips for rendering a gradient ...
[3 replies] Last: You can get rid of the sqrt() in the iteration by computing this const... (by helios)
by heepoo
weird problem in command line parsing! (1,2)
 
hi all, in my application, i want to use command-line parameters, if no parameters specified, show ...
[31 replies] Last: thanks, it worked, i've removed -mwindows and followed those instructi... (by heepoo)
Error C2440 on Visual C++ compiler
 
I have been getting this error error C2440: 'const_cast' : cannot convert from 'const DataAccess::C...
[3 replies] Last: Do you even know what const_cast<...>(...) does? However, the source ... (by coder777)
Expected Primary Expression before void ??
 
Expected Primary Expression before void ?? Actually , could anyone here help me please with this cod...
[3 replies] Last: you forgot a closed brais } (by heepoo)
June 2015 Pages: 123456... 16
  Archived months: [may2015] [jul2015]

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