Hello,
I am trying to implement setjmp for functions.
#include <setjmp.h>
#include <stdio.h>
jmp_buf arr[3];
Type: Posts; User: Darkinyuasha1
Hello,
I am trying to implement setjmp for functions.
#include <setjmp.h>
#include <stdio.h>
jmp_buf arr[3];
Well, I found out I was getting the values, but
every third iteration the program would just hang or crash. It gets out of the extract with values, but it hangs after "going to next person"
Hello, I have issues for the following piece of code :
#include <string>
#include <fstream>
#include <iostream>
#include <cstdlib>
#define print( text ) std::cout << text << "\n"
I was taking my old design, and trying to make a better tile game framework to use. I am kind of stuck with some advice or ideas to implement a better way for my input handle class to move or do w.e...
not sure if you're being rude or sarcastic, but I wasn't looking for any practical use for this attempt. I did look up that compilers just replaces x with whatever value, but not sure why i didn't...
Can someone explain to me why this doesn't work or breaks during compiled time.
#define now_inc ( x ) ++(x); now_loop ( (x) )
#define now_dec ( x ) --(x); now_loop ( (x) )
#define...
Hello,
I'm trying to make a windows-focused , I will make it portable after , audio function that plays sounds according to my midi file. I know there is playsound, but it's not what I desire....
Hello,
I'm trying to build libevents on windows, I'm using mingw-64. Though, I have no clue how to even build it for the lib.
Yeah, I realize that as well. I did changed it, but I still get the same error.
#include <random>
#include<iostream>
Hello,
My question is if Random_Device works on windows . If so, what am I doing wrong in this implementation?
#include <boost/random/mersenne_twister.hpp>
#include...
actually, no it didn't... it's weird.. I isolated the EzGame header /cpp and even with namespace it gives me multiple definition for each function.1176911770
I even tried with the inline for the...
Actually, you are right. Instead, I used an anonymous namespace for one part of the code...
1176411765117661176711768
I keep getting Multiple definition errors with the function members from EzGames... I used this file before to make a simple game, and I'm trying to figure out why I keep...
Here is a simpler version
#include <string>
#include <cmath>
#include "SDL/SDL.h"
#include "SDL/SDL_opengl.h"
#include "SDL_image.h"
void Opengl_init()
I am using 32bit PNG texture image with transparency. The rest of the code works other then the texture appearing white.
this is my main code
#include "EzGame.h"
enum MOVEMENT { M_UP,...
My objective was just the sake of making an anti-keylogger program. My idea was just detecting keyboard hooks or asynchronous keys. Though, your suggestion gives me the idea of searching for un
I thought of one method is to unhook Hooked programs or to track the hook programs to eliminate. Though, I would like to make a program that would encrypt or create key noise to counter the key...
There is no compilation errors. Though, the program is unable to create window after registering it. Any suggestions?
#include <windows.h>
#include <string>
using namespace std;
#define...
I realize one error thankfully!!
bool direction;
for( ; --top > 0; )
{
if(array[top - 1]->right == array[top])
direction = true; //right
...
Thank you for the help!
I did ran into a new error with a new modified version of my AAtree. My search function goes into segment fault! I believe a pointer is lost somewhere ~_~
template...
My aa tree class has a segment memory fault after the second insertion into the class. Recursion would of been easier, but I took a non-recursive implementation for the class.
This is the whole...
Does visual C++ already have the nullptr idiom? eeh thanks for pointing out the flaws, but i already found them :)..
I just need someone to help me point out my array = newstate pointer mistake...
#include <iostream>
#include <cstddef>
using namespace std;
typedef void (*state_t)( char * inData,...
Hello , I am creating a very basic game engine using SDL and opengl as my basis for graphics. I thought of a general Game core class, that is split into five sections of routines. These were setting...
#ifndef HITIMER_H
#define HITIMER_H
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#define TimerResolution 1000 //Milliseconds