« first day (1948 days earlier)      last day (480 days later) » 

3:05 PM
i lean C++ From many viedos
Books are very tempting.... I try hard to read em, but its extremely hard
5
Thats not good lol
Um @Shoe there are viedos that are good
im watching this now:
The most intense playlist i have ever seen
Php is dull
Um.... why is it bad?
You sounded like.....
i was gonna choke lol @Shoe
no they dont...
Well im sure its not this one @Borgleader
Lol Shoe.. hater?
Its not lol
Borgleader look at the other viedos on the playlist hater.
then youll actually see he talks about preety advanced stuff.
#include "MainGame.h"



MainGame::MainGame()
{
	quit = false;
	__WIN = nullptr;
}

void MainGame::init()
{

	SDL_Init(SDL_INIT_EVERYTHING);
	__WIN = SDL_CreateWindow("Engine",
		SDL_WINDOWPOS_CENTERED,
		SDL_WINDOWPOS_CENTERED,
		SCREEN_WIDTH,
		SCREEN_HEIGHT,
		SDL_WINDOW_SHOWN);
	if (__WIN == nullptr)
		cout << "ERROR INITALIZATING WINDOW " << endl;
}

void MainGame::gameLoop()
{
	while (quit == false) {
		this->processInput();
	}
	SDL_Quit();
}

void MainGame::processInput()
{
	SDL_Event _ev;
I already learned C++ @Shoe
2
The annoying part about C++ Is understand why in the world memory allocation is usefull
And Concurency..
 
1 message moved from Lounge<C++>
 
3:20 PM
? what
.... int &5 = new int(5)
I know it stores in heap memory but
Why bother with deleting the allocated memory?
what in the world... my window refreshed
what do you mean @Shoe ?
why not
lol sorry i understand
Yes i did @sehe
no thx
int &someInt = new int(5);
@KretabChabawenizc why?
just why..
-_-
Ok why? @Shoe ???
 
35 messages moved from Lounge<C++>
 

« first day (1948 days earlier)      last day (480 days later) »