Welcome - parallelrealities.co.uk
great game programming tutorials with emphasis on software architecture. the tutorials use SDL2.
Type: Posts; User: mark707
Welcome - parallelrealities.co.uk
great game programming tutorials with emphasis on software architecture. the tutorials use SDL2.
Hi..
I am trying to make a basic side scroller game and I am wondering how I should implement gravity.
I wrote something and it works but i am wondering if there is another or better way to do it....
It warned me about returning address of a local variable.
Hi :) ..
We were given an assignment to write a function called split.. it splits a string based on a certain delimiter and adds each split in an array then returns that array.
I am not trying to...
No it wasnt's a homework problem.. I was just interested. But you're right I should have googled it. Thanks anyway.
int a = 3;
//test if Low Order bit is true
if( a & 1)cout << "Least significant bit is 1\n";
what happens here is the value stored in a 0000 0011 is bitwise-anded with 0000 0001 which...
What are the main data structures used in programming games and for what purpose is each one used?
All right. Thank you all.
Hi.
If stdin and stdout are file streams shouldn't they be closed after their use?
I know C++ treats IO streams like objects and therefore they can be closed automatically when their destructors...
you can use getchar() to wait for you to hit return, giving you the chance to see the output before the window closes.
#include <stdio.h>
int main()
{
int ch;
Hi..
i would like to know why this code is working :(:
#include <stdio.h>#include <stdlib.h>