Beginners - February 2012 (Page 22)

Making sdl work with MS Visual studio
 
Hey guys I read the tutorial on lazyfoo but it includes alot of big scary steps and I was wondering ...
[1 reply] : Or how to permanently link any library at all for that matter. (by bboy212)
is this a correct array declaration?
 
I want the array to be a member of a class .....is this correct : string array ?? and let's say ...
[2 replies] Last: thanks peter. ok, so if i'm using an integer or class object data t... (by cpplover)
by PL285
Help! Constructs Not working?
 
Hello, I want my default constructor - CylinderClass() to reset the height and diameter of the cylin...
[4 replies] Last: My point is that you initialized a new CylinderClass object and nothin... (by Albatross)
Chess Programming Questions
 
Hi, My name is Dan, and I am developing a chess engine from scratch. I have the alphabeta functi...
[no replies]
Files with Arrays
 
Hello all, I'm having a bit of trouble manipulating a program that I have already written, and co...
[11 replies] Last: Thanks for all of the help Jikax. (by Orangejuice)
expected primary-expression before else
 
What exactly am I doing wrong here? At the last else statement the expected primary expression bef...
[2 replies] Last: Thanks a million man. If I didn't finish this program it would've hau... (by Zebulun5)
SQLAPI++ Help
 
Im having issues with connectioning to my database on SQL Server 2008 with SQLAPI++. I'm not really ...
[no replies]
Segfaulting trouble
 
I am trying to copy the content of one vector into the other. here is the code that calls the opera...
[4 replies] Last: template <class T> Vector<T>& Vector<T>::operator=(const Vector<T>&... (by oonej)
by EeAA
need idea on how to Convert Arabic to Mayan number
 
Does anyone have an idea on how to Convert Arabic to Mayan number: Arabic = 1222 Mayan = … . ....
[6 replies] Last: I am still trying to figure out how to output the Mayan number so far... (by EeAA)
Trouble with Templates/Classes/Pointers/Exception Handling
 
I have read the tutorials on this site and now I am testing what I've learned. So far it's not looki...
[13 replies] Last: So in place of lines 21 and 22, I wrote: RowData operator (int row) ... (by CJC0117)
*sigh* whole code isn't working
 
So this is math based on http://www.jimloy.com/math/day-week.htm My assignment is due today, and I a...
[3 replies] Last: Often scapping and starting again can be much faster than fixing exist... (by Muckle ewe)
Questions about class constructions
 
Hi everybody. I have a few questions that came up to my mind while looking at the cplusplus.com tuto...
[2 replies] Last: Thanks peter, this was really helpful. Regarding the second question, ... (by lucasnutz)
error C2064: term does not evaluate to a function taking 1 arguments
 
Try as I might, I need this code to work today! I keep getting the code I put for the title on this ...
[4 replies] Last: Figured it out, I had a variable int century laying in the larger func... (by eyesofhope)
by Ch1156
Vector Help
 
Hi, i am currently learning vectors, pretty easy. But i have a question in this code: #include...
[4 replies] Last: I see now, this but in plain english, you could translate :: into "bel... (by Ch1156)
How to seed rand with a number range
 
I am seeing all sorts of ways to seed rand with time. What I hope to find out is how to seed rand w...
[3 replies] Last: Thank you very much. (by chriscoleo)
Compiler not liking cin
 
I have to write a seemingly simple code for class that continues to ask for numbers and add them to ...
[3 replies] Last: Getting rid of those endl fixed it. Thank you for your help! (by EricaFH)
Randomized multiple choice
 
okay so I have gotten my code sorted out, and now it works. But to be adaptable to 3pi robots, which...
[no replies]
I'm New at this and can't figure this out
 
HI I have pasted my code below for a program we are suppose to hand in. I'm new at this and can't f...
[11 replies] Last: Do not do this: main(); Caliing main() is not something you should... (by Moschops)
Weird problem with custom vector class
 
So, I recently started doing some OpenGL stuff and have hit a problem I just can't figure out. I've ...
[2 replies] Last: Yes! I changed it to void Scene::set_bgColour(float newRed, float ne... (by norgent)
by htown
div & mod
 
How would I use div and mod in a floating point number? Ex. 1245.87 I know mod will not work with ...
[1 reply] : http://www.cplusplus.com/reference/clibrary/cmath/fmod/ (by LB)
February 2012 Pages: 1... 2021222324... 64
  Archived months: [jan2012] [mar2012]

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