General C++ Programming - March 2012 (Page 40)

Clicking and console
 
I've seen some apps made in console, that used mouse clicks. How could I do that in my console ap...
[5 replies] Last: ok, thanks for letting me know! (by tofiffe)
program shall allow users to choose a desired ticket and calculate the price.
 
// This program shall allow users to choose a desired ticket and calculate the price. // Jimmy Y...
[3 replies] Last: If you want to use a function to change a value, you need to pass that... (by Moschops)
by mono
Destructor is called twice.
 
I have two classes class A and class B class A let class B be a friend When I call the destructor ...
[6 replies] Last: ok I got it. Thank you. (by mono)
what is the mistake.
 
Please tell me what is the mistake in this code,it seems correct to me but it is giving some error. ...
[4 replies] Last: Thanks dude. Now Working. (by bond5611)
code check! is my code correct?
 
bool check(int test) { if(test & 0x80000000) return 1;//true signed value else retu...
[4 replies] Last: The test above is checking to see if an int is negative, not signed (a... (by mpauna)
by hannah
C++ Darts Simulation help!
 
Hello, My name is Hannah. I am currently studying game design and am in the middle of being taug...
[4 replies] Last: you could have a series of x/y coordinates, every time they throw hit ... (by GFreak45)
by mrkhn
Change cursor mfc
 
Hi all, I am trying to change the cursor to wait mode while doing some operations and i can't achi...
[1 reply] : You create a CWaitCursor. (by kbw)
Float to HEX and vise versa
 
Can someone point me to a good reference about this please? I've tried google but the results I've ...
[13 replies] Last: Moschops reply was more helpful, anyway I'm almost there with the java... (by awsdert)
Code Improvisation
 
Hi I decided to test my knowledge of C++ by setting out to do a project which allows users to enter ...
[3 replies] Last: i cringe whenever i come across system("pause") now after reading so m... (by Need4Sleep)
by Das
compile error
 
I am a newbee to c++. My first cpp is failing while compilation. I am executing it on Solaris. My p...
[4 replies] Last: The code is ok, as far as it goes. You need to sort out your build en... (by kbw)
Math not quite adding up
 
I am trying to output something that looks like this: Drug Name Amount in Inven...
[10 replies] Last: Nevermind. I figured it out. I had the array set to 19 max, forgetting... (by bertollini)
Net Cafe timer in C++
 
Need help on this, thanks in advance... I have just used the code in capturing the system time but i...
[1 reply] : minutes / 60 * rate ? (by Texan40)
plz help
 
Write a switch-case menu based calculator program that has the following features.  Power of a...
[2 replies] Last: do it yourself lasy student, we may help only if you do your job (by therockon7throw)
STRINGS
 
how can i develop a C++ application which allows the user to input a character and output a message ...
[1 reply] : You can do this by thinking carefully about what the code needs to do,... (by Moschops)
Simple string arrays
 
Hi, I'm a newbie in programming and I'm currently writing a simple tool in C. This program scans al...
[2 replies] Last: Thank you. Isn't it C++? If yes, how can I do that in standard C? (by elPicione)
deque implementation from scratch - push_back () question?
 
I'm trying to learn about the deque container. Here is the code that I have written so far. However,...
[10 replies] Last: Can you show us the errors? There doesn't seem to be anything wrong wi... (by Gaminic)
Passing functions as parameters
 
I am trying to experiment with C++ to make the command prompt function like MatLab or Octave. Thi...
[2 replies] Last: Thank you hamsterman! That was really careless of me to use type doubl... (by CombatJ)
OpenCV in C++ on Visual Studio 2005
 
Hi, I am trying to run a small openCV program in C++. I have downloaded OpenCV library from http:...
[no replies]
What does declaration mean?
 
i have seen declaration: class EventHandler { EventHandler(); ~EventHandler(); vituarl void Han...
[4 replies] Last: I have read "Abstract classes and pure virtual functions" section in w... (by binladenvn88)
How do I initialize a parent pointer?
 
I am having trouble figuring out how to initialize the parent pointer I added to my AVL tree node im...
[1 reply] : if( t == NULL ) { if(t->parent == NULL) //Only Chuck... (by ne555)
March 2012 Pages: 1... 3839404142... 49
  Archived months: [feb2012] [apr2012]

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