Assuming that this is for a school assignment, I'll try to provide the proper kind of assistance.
First of all, think of how large you should make your array when the program starts. Once it's...
Type: Posts; User: Arker
Assuming that this is for a school assignment, I'll try to provide the proper kind of assistance.
First of all, think of how large you should make your array when the program starts. Once it's...
Hope you get a good mark in that class!
~arker
I really hate to nit pick, but just to alieviate any potential confusion: To my knowledge, neither Emacs or pico are/have a compiler. They just use gcc/g++.
~arker
Another vote for Ogg Vorbis.
~arker
Although all of my programs thus far have been in C, I am learning C++ at the moment and I'm quite impressed. It's a bit of a bloated monstrosity compared to C, but very powerful.
I really do like...
Based on this, I chose something similar to the following:
#include <time.h>
void myDisplayFunction(void)
{
if ( timer <= time(NULL) - 5 )
rockDisplay();
else
I've made a version of 2D Asteroids using OpenGL on a *nix system.
I'm wondering how, after the player has cleared the field of rocks, to pause the game prior to displaying a new cluster of rocks....
That's what I thought. It seemed kinda silly that some of the arguments in the specs had switches and some did not.
It seems that I won't be doing this in any standard way then. But thanks for the...
Is there a "standard" or typical way to process command-line arguments in argv?
In the past, I've always just used simple if statements, but that is when the args needed to be provided in a...
I almost did post it there.. Bad judgement on my part.
Thanks for the help, I will define it myself on my own box.
~arker
Hello gang,
I have a C assignment for school where in the specifications it says that a particular char array must be declared to a size of _POSIX_PIPE_BUF like this:
char...
Thank you JoeSixpack. With a little messing around with the stuff I had already coded, that worked perfectly.
~arker
When you see a thread that is simply titled something like 'Help me!!' or 'Urgent!!', do you even click on it? I don't, I only go to the threads with a meaningful title...
I may be an ahole, I...
Hey folks,
I've written a program in C++ that takes an input filename as a command line parameter, and that filename gets passed to the processing function as a char*, then the processing function...
VIM!!!
Okay, maybe this is not as simple as I thought it would be... Or maybe I'm not as clever as I thought I was... Either way, I'm afraid I need more guidance.
When I try the code:
j =...
I'm not entirely sure, but give this a try. It might just work.
#define MENU (printf("Something here \n"); \
printf("Something else here \n"); )
All I'm doing here is pasting...
I'm using various standard string.h functions in a program that I am writing although I am obviously using them incorrectly. Although the program seems to work with these compiler errors (so far) I...
The algorithms book that MisterC mentioned from O'Reilly is incredible. Highly recommended if you are fairly comfortable with C basics and are looking to take your C experience a little farther into...
Well then I guess I can stop idling in there then... I was gettin' awful lonely after a couple of days...
Arker.
Is this channel dead? Nobody in there....