
please wait
by ausairman
How can I create a class with an array of pointers to member functions?
|
I have a class, and I need to be able to access member functions via an array, how can I do this? Suppose we start with this: class A { A(); void f... |
Feb 20, 2013 at 10:26pm
[7 replies] Last: EDIT: Thanks JLBorges, I seem to have got it working using the followi... (by ausairman)
|
by bigapples
loop output "-1.#IND"
|
First post and if this has been a question before I am sorry for not searching more. As it stands it will let you input "scores" until you enter "-1" then it... |
Feb 20, 2013 at 10:24pm
[3 replies] Last: you re welcome.. :) (by mirec)
|
by numbplum
Seeking C++ Tutor
|
Hi there, I'm looking for a C++ tutor that understands data structures, ADT, and linked list. There are definitely more topics that I wish to be tutored in the ... |
Feb 20, 2013 at 10:19pm
[no replies]
|
SDL Animation & collision |
:D I'm so happy! The progress on my game looks promising!!!! Just one question... I need a quick & easy way to add animation & collision to my DragonBall Z g... |
Feb 20, 2013 at 10:14pm
[2 replies] Last: An animation consists of one or more "frames". In its simplest form, ... (by Disch)
|
by jackbruns28
Problems integrating while()loop into the if/else statement.
|
Hey guys. Having trouble with some concepts. I think I've mostly got the while()loop concept figured out. But have a question. If I integrate the if/else st... |
Feb 20, 2013 at 10:10pm
[1 reply] : For example, if while(name!<90), then if I enter 90 the loop shuts o... (by Chervil)
|
by doctapus
Plinko with Functions
|
the program is broken basically into 3 parts. A - dropping 1 token in the plinko machine and show your winnings B - dropping multiple tokens in the same slot... |
Feb 20, 2013 at 10:09pm
[no replies]
|
by s1l3nt
3D Distance Calculator
|
So I made this 3D Distance calculator where you enter in the coordinates of one point and then the coordinates of the other point and it gives you the distance ... |
Feb 20, 2013 at 9:56pm
[2 replies] Last: Ahh, gotcha...I just made it easier to repeat and got rid of the crap ... (by s1l3nt)
|
by tenteddies
LPSTR in managed c++
|
Hi, I am new with managed C++. I need to write a dll in a managed c++ wrapper String* GetResponse(String* response) { // calling SendResponse(... |
Feb 20, 2013 at 9:13pm
[no replies]
|
by Branko0611
Weird...
|
I was playing with CodeBlocks and ran this,but suddenly Kaspersky(anti-virus) detected my debug file as a Trojan "Trojan.Win32.Agent.vxrx".Where's the problem, ... |
Feb 20, 2013 at 8:52pm
[7 replies] Last: Its not that your code is being seen as a virus, Code::Blocks uses Min... (by drew887)
|
by PinkLady
Need Help writing a while loop condition
|
I am trying to write a program where I want to write a condition that would check if (num is greater than 5 away from distance) and the second condition if (nu... |
Feb 20, 2013 at 8:45pm
[3 replies] Last: Same question you asked in another thread: http://cplusplus.com/foru... (by AbstractionAnon)
|
Help with a switch statement |
Hi I recently wrote a code that determines average and gives a letter grade using if else statements and now I need to change it to a switch statement but have ... |
Feb 20, 2013 at 8:23pm
[1 reply] : switch (avg/10) // integer division will give us a number from 0 -... (by AbstractionAnon)
|
by PinkLady
While Looping
|
I am trying to write a program where I want to write a condition that would check if (num is greater than 5 away from distance) and the second condition if (n... |
Feb 20, 2013 at 8:16pm
[1 reply] : If I read your description correctly, for the first condition you want... (by AbstractionAnon)
|
by Underdog
Exception handling
|
So, I'm working on Exception handling exercises and the out_of_range exception isn't catching the runtime error when I'm exceeding the range of vector v. Am I d... |
Feb 20, 2013 at 7:52pm
[2 replies] Last: Aah, it tells that it requires library support from upcoming ISO C++ ... (by Underdog)
|
Searching in a text without getline() |
Hello, Does anyone here know how to search for a string in a plain text file without using getline()? The reason I am asking is because the string I am looki... |
Feb 20, 2013 at 7:50pm
[1 reply] : istream::get() will return one character at a time from an input strea... (by AbstractionAnon)
|
by rcast
Not Producing output?
|
I'm trying to convert dec to hex and I used dynamic memory to define the dimension count for the quotient array. However, by default the program should run thro... |
Feb 20, 2013 at 7:30pm
[13 replies] Last: Thanks (by rcast)
|
Need help for this statement? |
How would I write a statement related to a game where if your shot (lets say you are playing football) lands anywhere between five meet of the actual goal area,... |
Feb 20, 2013 at 7:30pm
[1 reply] : If goal is at distance = 50 meters, the winning area would be between ... (by ResidentBiscuit)
|
by Tnobis
C++ assignment question (1,2)
|
I am new to C++, currently taking a class at my local college, and I'm having trouble figuring this out.. "write a program that inputs a character from the k... |
Feb 20, 2013 at 7:04pm
[36 replies] Last: I got it!! all makes sense now. Thank so much for all your help guys, ... (by Tnobis)
|
Mysql 5.6 With C++ |
how to store data from C++ programme into database tables of Mysql 5.6 workbench . please any tutorial for this type of C++ codings or programming |
Feb 20, 2013 at 6:59pm
[no replies]
|
by tarrentino
RegQueryValueEx 32/64 bit Irregularity
|
Hope someone can help me here. I have a function which reads the windows registry below - this works perfectly when it's called from a 64 bit application called... |
Feb 20, 2013 at 6:50pm
[1 reply] : On 64-bit Windows the 32-bit SOFTWARE registry hive is remapped to the... (by binarybob350)
|
by azmizryk
Visual C++ problem
|
my project .exe file is not run on the computers where Visual C++ is not installed...plz help |
Feb 20, 2013 at 6:46pm
[9 replies] Last: By default the Runtime is dynamically linked. It's not normally recom... (by binarybob350)
|