General C++ Programming (Page 3)

Looping objects into Vector or Array
 
I have all these objects of type fraction over 100. Is there a way I can insert them into the vector...
[4 replies] Last: Thanks helios, No there isn't, I created these Fractions then realize... (by ssoffel)
error extracting resource from EXE file
 
Hello i'm trying to extract one Exe file using windows Api and Qt like framework. But ever extract m...
[no replies]
by siery
State/class factory problem
 
Hello! I been trying to some kind structure my game data. In the book "Game Programming Gems" I find...
[2 replies] Last: So BasClass* is a type of the CreateObject function. No. BasClass ... (by AbstractionAnon)
Has_f<T> not working
 
I am trying to get a a type predicate Has_f<T> to work. It's purpose is to check if a type T has a m...
[3 replies] Last: Chapters 2 (and may be 3) of 'Modern C++ Design: Generic Programming a... (by JLBorges)
pointer problem
 
Hi everyone , i'm a newbie . I have a problem with my program , i hope you will show me the way how ...
[4 replies] Last: > in practice, I don't know of any compiler that does not just assign ... (by JLBorges)
Help please...
 
Hello friends, I'm not good enough on C++.. but I'm trying my best to do what is possible for me. I...
[2 replies] Last: Thank you so much, It's working Great... (by johnsubira)
What next after Stroustrup?
 
Four months ago I was a complete novice in programming. So I started teaching myself C++ using Str...
[5 replies] Last: Broaden your understanding of C++, with what can and what should be do... (by FurryGuy)
Who do know single chip microcomputer configuration bits of PIC24FJ256GA108 ? Urgent for it !!!
 
I can not read English manual . Anybody could tell how to set single chip microcomputer configuratio...
[1 reply] : You may ask their service department : http://www.hotenda.com/page_in... (by Jackyyi)
by D22
Trying to convert a fraction entered as a string into two seperate int variables
 
I'm trying to create a program that accepts two numbers and turns them in fractions, multiply, divde...
[1 reply] : you can edit this function, if you wish, to overload the extraction op... (by gunnerfunner)
Moment of evaluation of a template differs for subclass??
 
Hi, I have the following code: template<typename T1, typename T2> struct common_type_metaf...
[1 reply] : In apply<common_type_metafunction<_1,_2>, float, long> , std::com... (by JLBorges)
help with an exercise
 
I am sorry that many things are in italian language but i need help. I wanted to create an array whe...
[5 replies] Last: C++ is exactly defined by international committee, not by DevC++. The... (by mbozzi)
template parameter F is incompatible with the declaration...
 
Hi, I have this code: template <typename F, typename... Args> struct apply : lambda<F>::ty...
[1 reply] : Apparently you can't have a template <typename> typename parameter. It... (by helios)
by LongDo
Help - Binary Search
 
// This program demonstrates a Binary Search // PLACE YOUR NAME HERE #include <iostream> using na...
[2 replies] Last: So, middle is always an integer, but how it affects logic of the progr... (by LongDo)
Tough times detecting the "\n\n"
 
i really wasted so much time trying to figuer out a way whenever the user finish his input he do a d...
[3 replies] Last: btw, to answer this part of the question [quote=zeroblank]i figured th... (by Cubbi)
by Hengry
Reading template string
 
My code is suppose read a string and place each section of the string into an array. My code works w...
[5 replies] Last: array is a pointer to T, but on lines 35 & 48 you are assigning a T.... (by TheIdeasMan)
what is better?
 
in declaration #define 1. in header file (.h) 2. in source file (.cpp) can you help me fo...
[1 reply] : If you need the macro definition to be in multiple files, then put it ... (by MikeyBoy)
Has_f<> : checking if a type has a member with a specific name
 
Stroustrup describes a metaprogramming technique to check if a function f() takes an argument x of t...
[1 reply] : See: http://www.cplusplus.com/forum/general/207113/ (by JLBorges)
by elsa
Stack around the variable "name" was corrupted
 
Never seen this error before in my life. I believe, after some research, it may have to do with arra...
[3 replies] Last: damn...i can't believe i didn't see that. thanks so much guys. (by elsa)
Programming Project Help
 
This is a basic end of course assignment and me and my team are at a loss we have pulled together th...
[4 replies] Last: Further I would concur the 7 vector parallels is an issue, this seems ... (by SecretSquirrelNutz)
declaration syntax
 
What does this declaration mean in a struct? uint64_t tpid : 12;
[1 reply] : It is part of what's called a bitfield. Basically, it means that the i... (by lordseanington)
Pages: 12345... 25
  Archived months: [dec2016]

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