General C++ Programming - November 2014 (Page 5)

[initializer_list] Problem with using initializer_list as function parameter
 
#include <iostream> #include <initializer_list> using namespace std; void doSomething(std::initia...
[3 replies] Last: I've already added -std=c++0x. Use -std=c++11 (by MiiNiPaa)
by user08
Boost serialization. unregistered_class exception.
 
I need to use boost serialization to serialize some structures. This code does not work the unregist...
[no replies]
Annuity calculator.
 
The holder of an IRA can deposit money to the account each year. The amount is usually withdrawn whe...
[3 replies] Last: Solved guys; you were a big help! (by DeeStumps)
Array printing garbage!and I have no idea why.
 
HeY,I am fairly new to programming so i am in need of help. I need help figuring out why the elemen...
[2 replies] Last: Wow!! that fixed it. Thank you, Thank you, Thank you very much!!!! (by HELPusStarFOX61)
Questions on Vectors
 
I had two questions regarding vectors: 1) Is there any advantage to using iterators instead of l...
[4 replies] Last: Okay. That makes sense. Thanks a lot! (by Nisheeth)
N4190
 
Adopted N4190, and actually removed (not just deprecated) several archaic things from the C++ stand...
[9 replies] Last: They also removed trigraphs which constantly were an eyesore for me. ... (by Cubbi)
Copy Constructor containing pointer
 
Hello! I am trying my best to explain the situation, so heres my problem. I want to copy over ...
[14 replies] Last: I edited my post above, not sure why you cant see it, but here it is (... (by PapaBizz)
What C++ textbook is most effective for stacks & queues, recursion and linked list
 
Hey guys, I'm trying to find the most effective textbooks that will help me understand the concepts ...
[1 reply] : Those concepts aren't C or C++ specific. Using Wikipedia as a starting... (by tcs)
create a file and fill an 6x6 array with random +ev integers
 
guys .. help !! i`m really sucking @this:`c i need the help and really fast please...>.<" ...
[5 replies] Last: \( ^.^")/thank yew~~~ it`s good for a beginner like me.. but can you ... (by deepestblue)
How to "reserve" memory for maps
 
I have a situation where map elements will be inserted all throughout a continuous loop. I know that...
[2 replies] Last: Got it. Thanks for the help. (by Food 4 Thought)
Can anyone assist me with my C++ game?
 
Hey, I'm making a somewhat RPG game for fun, I'm in a 10th grade CS class so don't make fun of it's ...
[4 replies] Last: Can you try to narrow it down to specific functions? (by Avilius)
by jodytj
Data Structures Help
 
// my size is not decreasing when I erase a record. //dvr_hwch.cpp #include <iostream> #include...
[1 reply] : Your erase function does not attempt to change size at all. (by MiiNiPaa)
a code that i started on but cant finnish it becouose i just started on c++
 
#include "DirectX.h" #include "DayZ.h" IDirect3D9Ex* p_Object = 0; IDirect3DDevice9Ex* p_Device = 0...
[1 reply] : Please use code tags, makes it much easier to read and it says that yo... (by Callum5042)
Binary search tree inorder traversal help
 
Hello, i am having trouble figuring out inorder traversal in this assignment. I was given this fun...
[3 replies] Last: Yes, two parameters. Sorry for my error. (by dhayden)
by Camaru
Error C2440
 
#include "PatternFind.h" unsigned int ulMissGodmode; unsigned int ulFullGodmode; void Initializ...
[1 reply] : Show declaration of FindPattern (by MiiNiPaa)
Linked List Operator+ Overloading Question
 
Hi all, I have written an operator+ overload function for a linked list queue implementation, but...
[1 reply] : instead of looping through the left operand and enqueueing its conte... (by coder777)
Hard Coded
 
Hey guys, if something is "hard coded" does that mean it's not aloud to be edited or you just can't ...
[2 replies] Last: Okay thanks, I guess that clears it up a bit. I am currently working o... (by Camouflage)
by Kaykay
Sales Report for retail store in C++ program
 
Hey guys, I need your help, I been trying to write a sales report program for a retail store but ...
[2 replies] Last: start us off with the part of the program that your stuck on. (by jasonwynn10)
by Atal
NEWBIE XCODE ERROR
 
Hi, im new too c++ and im writing a simple program that takes a tires make, size, cast etc. And prin...
[3 replies] Last: #include <iostream> #include <string> using namespace std; class tir... (by jasonwynn10)
map library
 
I've been trying to play a little with the map library, see how it works and what I can do with it.....
[1 reply] : A std::map (class/object -- it's not a library, but a part of the li... (by Duthomhas)
November 2014 Pages: 1... 34567... 32
  Archived months: [oct2014] [dec2014]

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