Beginners - February 2013 (Page 35)

Yet another undefined reference to class::function error
 
I am new to C++ and objected-oriented programming, so please bear with me for this question. I am writing a date program that determines whether the date you in...
[2 replies] Last: ah, thanks for the reply! you're right. (by operandi)
by Ch1156
SDL Simple 2d Colision
 
Ok I am trying to make a colision between my image and the rect but its not working so well, i do not know how to get the current position of the red rectangle....
[3 replies] Last: Okay. Forewarning I have not compiled this code yet as I'm about to go... (by mezmiro)
by Ratzer
Random movement and collision detection
 
I am trying to make a ball randomly move around the screen and bounce off the of it. I have been looking for some tutorial or something worthwile to read but...
[3 replies] Last: Thank you Lynx that is perfect. I will have a go and post my code (by Ratzer)
How to get rid of warning?
 
I keep getting a converting ti 'int' from 'double' But...that's sort of the goal. Is this just something to ignore or am I doing something wrong? #include...
[10 replies] Last: Ohh I see! Thank you again for all your help!!! (by halamaker)
3 integer calculator
 
Hey, I'm working on a three integer calculator to get used to if-then statements and to use a do while loop. I can get the calculator to work perfectly with two...
[9 replies] Last: Can you explain to me all the cin. stuff? Don't know all of them... O... (by greenleaf800073)
by smg443
Xcode problem
 
Trying to start using xcode but i have a small problem. Some code to make sure it reads files in correctly: #include <iostream> #include <fstream> usin...
[no replies]
sqrt() Beginner in need of help plz
 
Hey guys! I'm trying to make a basic program that will find square roots via a "check every number" method. The code works perfectly and will return correct an...
[2 replies] Last: *Blush* O.O oh... umm... *nervous chuckle* That solved my problem :P L... (by SadHatter)
Try-Catch (Catching Infinite Result)
 
I'm attempting to use a "try-catch" construct to "try" to calculate various equations in a numerical integration, then "catch" the result if it exceeds the defi...
[5 replies] Last: I need to review this "throw" syntax. I've been away from C++ for dec... (by Starter13)
getline with opening and saving txt files
 
I have been experimenting with opening previously saved txt files to the console, and also saving console input to a text file at the users desired location. Th...
[6 replies] Last: No problem. I came across this problem ages ago. As of then, I never u... (by Lynx876)
Difference within compilers
 
Hey there, I was wondering if there was a difference between using different compilers. For example, I want code my project in XCode or Compilr but my profe...
[1 reply] : there are differences in compilers but none that should cause memory l... (by K0T4K0t4)
by kgor93
Need help with BubbleSort with pointer arrays
 
I'm trying to get BubbleSort to work with an array of pointers. It's not working. I get an error on displayPtrArray and in the if statement in the BubbleSort. S...
[2 replies] Last: I got it to work. I didn't make the program. It was assigned to me wit... (by kgor93)
Is it worth attending college; to learn how to program?
 
Hello everyone, new to C++ here. About 2 years ago, I dropped/quit college because I wasn't sure what i really wanted to do yet. I went in for graphics arts,...
[no replies]
Sir Mam
 
Dear Sir Madam Please I Will Very Much Like To Learn A Lot Like I Need Brutsu Softwaer And I Need It Fast Please Can Any One Help
[2 replies] Last: Do you mean Brutus? As in, the brute force software? (by mezmiro)
Need some help with Class Average Grade Calculator
 
I have to create a class average grade calculator for my C++ and having some major trouble. I am very new to programming and have been having trouble catching u...
[1 reply] : Eactly what problems are you having? PLEASE USE CODE TAGS (the <> ... (by AbstractionAnon)
constructive criticism needed
 
I am still very much a beginner at c++. I made my first challenging program(for my skill level), a player vs. computer tic-tac-toe game. It works just fine, but...
[1 reply] : Unfortunately, I am at work, and so I can only quickly look at it. Th... (by Oria)
for loop confusion
 
I want to calculate all ten multiples of a number.. by using a for loop and multiplying the number with the increment, why is the result appearing only the last...
[7 replies] Last: [quote=pyoung673]1 doesn't equal 10 etc. Not the correct explanation... (by Chervil)
Modulo (%)
 
Hello, First a little background might make this more clear/interesting. I am an electrician, industry standard says that in an electrical panel breakers ar...
[4 replies] Last: changed = to == worked great lol, can't tell ya how much time ... (by pyoung673)
cant compile my program?
 
hello i have written a program and it worked pretty good. i made a few changes and compiled it again and i got a message from my virus scan it removed an virus....
[8 replies] Last: AVs hate the use of system() I know that part of the "story". But, l... (by S G H)
"Moving" graphics in console
 
Hi! I'm trying to make a text-based game and I'd like to use an arrow pointing at my current option during the start-up menu as well as during the game, for ex...
[5 replies] Last: Thank you for such fast replies, really appreciated. I'm afraid I'll ... (by ViceTegersof)
by Ch1156
SDL help movement not working correctly
 
I am following a tutorial and this guy had 1000 case statements for movement but i simplified it but cant get it to work correctly. if i tap wasd it will move b...
[19 replies] Last: ah i see ok, awesome thanks. No what if i want to make the player imag... (by Ch1156)
February 2013 Pages: 1... 3334353637... 67
  Archived months: [jan2013] [mar2013]

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