General C++ Programming - November 2011 (Page 31)

How do i get the code to loop?
 
if i have a programn requesting a password and the password is incorrect it simply moves on and ends...
[2 replies] Last: Thank you very much! (by redacted178923)
by Shigi
Qt Framework
 
Hi everybody, in these days I work on a project where I need to use "nice" and fast items such as...
[no replies]
cin.getline with while loop prob?
 
Everything is fine but after the while loop the input was crapped.. why? int main() { char c...
[1 reply] : cin >> leaves a newline char in the stream which is found by getline. ... (by hamsterman)
Branch and Bound Pruning
 
Can you share some b&B pruning methods or a link to a good source of info? thanks
[no replies]
Trouble plotting stars on a 2D array graph- No idea where I went wrong
 
I tried searching all over the internet for some help on this problem, but I couldn't find even the ...
[4 replies] Last: So, I hope you returned from your walk. Here, I got something for you.... (by Pravesh Koirala)
the iterator of a list class
 
I want to define a nested class iterator of the dlist class, thus I coded it as following. I know it...
[no replies]
Cannot allocate an object
 
So i'm doing this homework problem for my class and I keep getting the error (Cannot allocate an obj...
[1 reply] : Hey, I was just tinkering with your code and I found something that yo... (by Pravesh Koirala)
Prime number between 2 bounds
 
Hello! I have most of this code done, but whenever I run it, It gives me mostly prime numbers wit...
[7 replies] Last: Alternatively, have you ever heard about Sieve of Eratosthenes?? It w... (by Pravesh Koirala)
Graphics
 
could anyone tell me a good website that can teach you how to use graphics in your c++ program I'm g...
[1 reply] : http://lazyfoo.net/SDL_tutorials/index.php (by ultifinitus)
Huge Queue
 
Hi All, I'm doing priority graph traversal using a loop and a priority queue. When using large te...
[8 replies] Last: I guess list isnt supperted because the queue needs a direct access da... (by mohsaied)
by xchan
problem on sprites/image
 
dbLoadImage("background.bmp", 1); dbCreateAnimatedSprite(2, "player0.bmp", 5, 2, 2); //Creating ...
[2 replies] Last: indeed i am planning to carry on OpenGL. Either on the 2 is ok for me.... (by xchan)
by evensk
Looping wiht an in data help please..
 
Write a looping code segment that takes as input up to 20 integer scores from file indata, and outpu...
[no replies]
by evensk
I need help how to do this homework please..
 
Write a looping code segment that takes as input up to 20 integer scores from file indata, and outpu...
[no replies]
Objects with Objects
 
Hey, so I'm trying to create binary search trees using the vector class and my own node class. Withi...
[2 replies] Last: Thanks, I figured it out. Basically just made another function that te... (by SecurityCop)
Multi-Dementional array help
 
I have this homework assignment that I have to do but it keeps telling me that I can't pass the 2-D ...
[no replies]
text rpg help
 
I've been working on the concept for a text rpg where one can move from room to room. Here's the cod...
[2 replies] Last: Thank you so much for the help. (by Alecnotalex)
by Rockie
Problem with highest average grade
 
Use the following lists for student names and their grades. Isabel (92, 95, 94), Steve (99, 76, 6...
[3 replies] Last: @tfityo thanks that help like alot now i got it :) @ceruleus I still ... (by Rockie)
Visual Studio C++ Inline Assembler
 
I have an assignment to optimise a c++ code that prints a tree in ASCII using partial assembly comma...
[no replies]
Handling std::endl in an overloaded "<<" function.
 
Hi All, I'm trying to build a logging utility. It creates an object that can be used just like a ...
[11 replies] Last: Reference: Standard C++ IOStreams and Locales: Advanced Programmer's ... (by Duthomhas)
< redirect data from file, win32 vs Linux
 
Hi, I have app that take data from file as argument from command line like this: $> app.exe < input....
[no replies]
November 2011 Pages: 1... 2930313233... 47
  Archived months: [oct2011] [dec2011]

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