Beginners - August 2011 (Page 39)

How do i make the player jump?
 
EDIT: i fixed it so that the character does not float around, but when i press 'w' the character disapears. Player.cpp void Player::HandleEvents( SDL_Event e...
[7 replies] Last: Thank you so much shacktar that fixed it! (by nano511)
by xen
Rerunning Program
 
I need to add the option to rerun the following program. I have the program working however, as soon as I add the do/while, it messes up how the program runs. ...
[9 replies] Last: for (count = 0; count < items; count++) { //... count ++; } You are... (by ne555)
Stringstream and its basic usage...
 
What is wrong with this code? Suppose 1. tempString contains the following:"/454/665/4/" 2. i is always the position of the first integer after "/" 3. ...
[4 replies] Last: I found that it was implied by examples such as this one: http://www.... (by shacktar)
editing a specific column of a text file
 
Hi, i have to create a programme(c++) for a text file having multiple columns in such a way that the numbers of only 3rd column need to be edited.the format ...
[no replies]
by sauron
Binary Search
 
Greetings everyone, I am a newbie at programming. After some weeks from starting, i decided to have a go at binary search. This is what i have came up wi...
[2 replies] Last: Got that thnanks alot (by sauron)
Rijndael Encryption Beginner
 
Hi..I'm new to Rijndael Encryption algorithm. Does anyone know where to find tutorial or code regarding this topic? I need to create a 256-bit Rijndael encrypti...
[8 replies] Last: @tyranyflap, http://www.schneier.com/blog/archives/2009/07/new_attack_... (by Catfish)
by chipp
how to convert string to char* and vice versa
 
does anybody know? actually, because i want to use strprbk() by users input...
[6 replies] Last: ok man i found for you some reference if you dont have trust to me !!!... (by ahura24)
by tonnot
Multiple object share problem
 
This is the skeleton of my app. - ClassA has a ClassE * myclassE_inside_A public var. - ClassB Inherits ClassD - ClassC Inheri...
[3 replies] Last: I think that some 'temporal' elements are deleting itself without con... (by coder777)
need help creating a class
 
So I've been using C++ for of months now, and have decided to finally start braving classes... I am trying to create a class called 'braininfo' which contain...
[2 replies] Last: Your problem stems from the fact that you have declared your variable... (by lnk2019)
writing to file
 
hello, i'm trying to write to a file in c:\ directory the file is succefully opend but nothing is written there but when i write to another directory such as c...
[8 replies] Last: Windows 7 runs accounts on least privilege, it will not matter if your... (by closed account 1vRz3TCk)
by a23190
Goldbach's conjecture problem
 
end
[4 replies] Last: primality (is that a word?) Yes it is. Yes, but I have no idea wha... (by closed account 1vRz3TCk)
predicting the output !
 
just wanted to know if what i think is the output is correct of this: please help! // main ( ) { float x ; int j, k ; cout << setiosflags( ios:: scientif...
[5 replies] Last: We can do this: [co[ i ] de] to output this: [co de] ... (by Nisheeth)
SDL input problem
 
Hi all, I'm a newbie here and tried to write small TicTakToe game in SDL and c++. I have stacked here once I call the "void get_player_move(void)" function....
[no replies]
Funcation Template Help
 
I am having problems with figuring out how to use templates to take a class and move a char value. I have tried to overload the = operator, but ran into probel...
[2 replies] Last: your Animal class dont have implicitly constructor but its explicity !... (by ahura24)
SDL on Dev c++ for Windows
 
Hi!I have downloaded SDL for my Dev c++ I have linked -lmingw32 -lSDLmain -lSDL into project options -parameters -linker and I 've set Win32 GUI type but I ...
[no replies]
by erica
Creating a linked list which contains string item
 
Hi everyone, I'm a beginner in C++, currently learning about linked list. If to store string type items into the linked list, as in one string as an item. ...
[4 replies] Last: oh, yeah, i forgot to include namespace std. haha thanks peeps! :) (by erica)
Weird Question
 
I have these two lines of code in allegro install_int_ex(inctmr,BPS_TO_TIMER(30)); install_int_ex(incsec,SECS_TO_TIMER(1)); I want one to limit ...
[2 replies] Last: Thank you. I will go to the allegro forum and also check out clan lib. (by Ichbinkenny)
part of code I really can't figure out
 
I assume its the calc(). thats where the error is coming up. #include <iostream> using namespace std; int calc(int x, int y, int z, int a, short amoun...
[8 replies] Last: x, y, z, and a need to be intialized to zero and this should be line ... (by Danny Toledo)
blank characters to not cout
 
I'm trying to figure out how to not cout a char left blank. In the program it will allow 80 char however if less are given it couts' a strange pattern. How do I...
[2 replies] Last: thank you for the help, I just couldn't see how to fix it. All set now... (by krakkens)
August 2011 Pages: 1... 373839
  Archived months: [jul2011] [sep2011]

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