General C++ Programming (Page 49)

Windows RAM Limit
 
The current program I am writing crashes because the memory exceeds the RAM limit in Windows. Would ...
[5 replies] Last: Also are you allocating on the heap or stack? (by giblit)
How to make this Expreesion Tree?
 
#include<iostream> #include<string> #include "StackType.h" using namespace std; struct node...
[1 reply] : Line 98: printTree is declared as requiring one argument of type node... (by AbstractionAnon)
Inventory problem?
 
Hi I am developing an inventory class and items, and weapons. Can anyone see the issue with my co...
[7 replies] Last: I would stronly suggest you use a standard container for your Inventor... (by AbstractionAnon)
explicit typedefs
 
Hey guys, I'm looking for a way to make explicit type conversions between two "types" that are re...
[5 replies] Last: Oof, that hurt my head. I think I'll stick with Boost.units for now, b... (by Gaminic)
Irrlicht custom animated scene node?
 
Hi, Firstly I would have posted this in the Irrlicht forums but I think their registration system...
[no replies]
Simple Peer-to-Peer in C.
 
Using C instead of C++, can anyone link me to a for-dummies example of simple peer-to-peer connectio...
[3 replies] Last: Yes, there are a few libraries that let you write portable code for so... (by Computergeek01)
Specialised collections (or not)
 
I've got myself into a debate in the office about specialised collections, I feel like a lone voice ...
[3 replies] Last: @doug4 20 different MyTypes, soz for the confusion. we only use #defi... (by Jaybob66)
by ane
list of vectors (a vector of n vectors of m elements)
 
I create a list of vectors (a vector of n vectors of m elements). std::vector <std::vector <int> > ...
[1 reply] : I create a list of vectors (a vector of n vectors of m elements). It... (by Computergeek01)
Need help!
 
I am very new to C++ and I find it very hard to write this program for the first time. I've been wat...
[1 reply] : What have you written so far? Also, who gives you this assignment? Us... (by LB)
Staic allocation and dynamic allocation
 
Lets say I have following code... if(pass==1) [ int a; ..... .... ...//somecode } ...
[2 replies] Last: @Doug4 Thanks.I have got it. (by venkatacplpl)
string replace is not working for "\'"(\+Apostrophe)
 
Currently I am trying to write a program where my requirement is I want to change ‘ as \’ using ...
[3 replies] Last: No worries dude :) (by mutexe)
Homework help!
 
If anyone understands my homework assignment, I would appreciate any help. Unsure where to start....
[1 reply] : As always: input, logic, output. The input is clear: two sequences of... (by Gaminic)
pointer to vector problem
 
ive created a vector of vector and initialized like this vector<vector<double>*>* vec1= new vect...
[11 replies] Last: ok got it i want to copy vector<vector<double>*>* vec1 from vector<ve... (by naveen2525)
question
 
i want to ask whether the library graphics.h is compatible with 64-bit windows 7?
[2 replies] Last: Nope. It is not. graphics.h is about 25 years old. It was created fo... (by MiiNiPaa)
graphics h error id returned 1 exit status
 
Hi!I am trying to compile a program with the graphics.h library included but I always get this error...
[1 reply] : That library is very old, deprecated, and non-standard. If you want g... (by giblit)
ncurses not working with iostream
 
ive recently started working with ncurses on linux. it doesnt want to compile if i include iostream ...
[3 replies] Last: well iostream is very different than fstream (in this case). iostream ... (by Little Bobby Tables)
Moving the head of an array
 
Basically, my function receives an array. For example: u8 array = {1, 2, 3, 4, 5} I don't need...
[1 reply] : int myArray = {1, 2, 3, 4, 5}; int *cut = &myArray ; somefunc(cut);... (by Smac89)
Please check my code!
 
Hello, here is my code, I have problem with Max operator For instance, 13 M 47 would be 47? how ...
[6 replies] Last: thank you guys, it worked case 'M': if (num1 > num2) ans = num... (by fadinzr)
Visual Studio 2013 Error
 
Hi, I have recently been having some trouble with Visual Studio. I create a new program and once it'...
[1 reply] : Here are some reasons why this might occur http://msdn.microsoft.com/e... (by xismn)
BST comparing parents to the root
 
Lets say for example I have a BST that is sorted by char names, using strcmp. IF greater than 0 go r...
[2 replies] Last: > I.E (this is just an example, they are not inserted correctly) e.g.,... (by ne555)
Pages: 1... 4748495051... 68
  Archived months: [feb2014]

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