ncurses seems like a good idea.
Type: Posts; User: hahaguy
ncurses seems like a good idea.
Is there a way that I can print a string while the user is typing, like in MUDs (multi-user dungeons)? (I am using C on Ubuntu Linux)
When using scanf with an integer (z variable array), you must place an amperstand (&) before it. Like this:
scanf("%d", &z[i]);
typedef struct myStruct {
int myStructInt;
} myStruct;
myStruct test_struct;
void test_fun(int * myInt) {
// yadda yadda
I recommend trying SDL with C, and then maybe after a while (once you have been successful with a few games), start using SDL's OpenGL capabilities (for 3d graphics and enhanced speed).
I made this today and I am wondering if there is a better way of making a Game Maker-like game using SDL.
#include <stdio.h>
#include <stdlib.h>
enum entitytype_enum {
SPRITE = 1,...