General C++ Programming - May 2012 (Page 24)

by boaz
Please Help.. -Infinite Loop
 
For some reason... I get infinite loop saying - "ALPHA is flying with parties" how to stop it? and m...
[3 replies] Last: You have a statement While (true), where is the statement that returns... (by therry1)
Question on priority queue and linked lists
 
So I'm studying for my final and I've answered about 30 of the 40 review questions but I'm having tr...
[no replies]
Help! TicTacToe Who Goes First issue
 
This code for a game of tic tac toe would work fine...except it won't pick who goes first and just g...
[2 replies] Last: Thanks that seemed to help! I'm having another error that I don't und... (by obscurimity)
Quick Question about Operator Overloading
 
Hello, When operator overloading, are all parameters in each operator (operator+, operator-, etc)...
[8 replies] Last: Pretty much. -Albatross (by Albatross)
Problem with playing sound
 
Hello. (I posted on the wrong forum before I think..) I am using PlaySound to play a .wav file (1...
[2 replies] Last: Thanks Stewbond! I was actually also wondering about that :) (by rawstyle)
by ruki
remove node from double linked list class
 
Hey guys I am really beginner of c++. My teacher ask me to write a function to remove node from doub...
[1 reply] : does that class definition even compile, considering there are 2 defin... (by blueberry)
Finding frequencies of all elements of an array
 
hello guys..i am trying this code for Finding frequencies of all elements of an array but its not w...
[1 reply] : { int no_ele; cin>>no_ele; cout<<no_ele; float ele_array ... (by blueberry)
Little gem from troll thread
 
Hello, I found this code in an old 2010 C++ bashing thread. I would appreciate an explanation as to...
[3 replies] Last: > it has to do with A not having an explicit virtual destructor? Yes... (by JLBorges)
Help with a linked list.
 
Hi, I'm doing a linked list for a waiting list that is sorted by bribes (If student A pays 5 dollar...
[no replies]
Asia Pacific Informatics Olympiad - Time Complexity
 
Hey! I'm posting my solution to the first problem in the APIO - 2012 (http://d1yjytat4ps3ku.cloud...
[1 reply] : please indent, use code tags, and can you tell us what it does? your l... (by blueberry)
Finding maximun and minimum element in an array
 
I am trying this code..bt it is giving garbage value as maximum element of an array.can anybody help...
[2 replies] Last: Thanks...its working...:-) (by bush123)
Call child method from superclass
 
Hi, I want call the method "getImage" of child class from the superclass. Example: ## SplashScen...
[6 replies] Last: > The init method need be called from child class: > Instead of call s... (by JLBorges)
PLEASE give me some algorithmic idea about peg games.
 
recently i have problems about peg games and i've already submitted a source on poj.org (pku 2805 ->...
[3 replies] Last: That is part of being a programmer. You have to learn to make your own... (by BHX)
by viliml
The origin of foo
 
I've seen and heard a LOT of examples that use "foo" as a name of a class, a function, variable, bas...
[4 replies] Last: FUBAR stuck, though I would like to see more SNAFU, SUSFU, and TARFU u... (by shacktar)
Unknown error
 
I'm not certain where the error is at the moment so I'll just post one at a time where I suspect the...
[8 replies] Last: Inlining it worked, had to think for a bit because I couldn't remember... (by awsdert)
Putting current input infront of output!?
 
Because i have two threads, and one outputs stuff, and the other lets you input stuff, whenever the ...
[2 replies] Last: Ok, ill try -.- Thread 1 is the thread that randomly sends out message... (by killerloader)
Moving the bullet along with the ship in Galaxians Game
 
Hello, I am making a galaxian game in sdl . (For quick watch of galaxians who doesn't know it htt...
[5 replies] Last: Set the bullet position using SetX and SetY to the ship position (plus... (by MrHutch)
trying to make count down clock in game
 
currently make a game and i need a clock timer to count down once it reaches zero game over screen a...
[4 replies] Last: yep was a rushed questions, my bad and thanks for this it works a char... (by programmeraie125)
Error initializing static member
 
Hi I try use a static object that is a member of a class, but get error: Undefined symbols ...
[5 replies] Last: JLBorges, you are correct. XCode doesnt compile the code. Now its OK,... (by prchakal)
Helppp..!In this please
 
#include<iostream> using namespace std; template<class myType> class myArray{ public: ...
[no replies]
May 2012 Pages: 1... 2223242526... 41
  Archived months: [apr2012] [jun2012]

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