what is the difference?
Type: Posts; User: Alphacentric666
what is the difference?
ok, thanks
You're crazy right?
Everytime I code I never put comments on my code. I did, however, put comments on alpha sorting to reduce the negative criticism so that someone won't say, "You need more...
Welcome to part one of the alpha critism series. Here, I will post a source code that I made and other experience/expert programmers will critism my coding abilities. I like this new concept, it will...
The alpha way.
#ifndef _MAIN_CPP_
#define _MAIN_CPP_
// C++ Includes
#include <iostream>
Well, I gave up on the code.
If you're interested AIM Jesusitron. Hes the guy who coded this. Give him the advice. Hes too stubborn, I tried giving him the link to this page but hes too busy...
Very funny. I'm serious I didn't code this. If I wanted to make a tetris game then I'd do it on the WinAPI since GDI makes graphics alot easier.
I've looked at the source code and srand() has...
This isn't my code. A 'friend' gave this to me to fix. I can't figure out why it keeps returning the same number when its suppose to be different each time(rand() is used).
Heres an update.
Using an if statement within a while loop is(in my book) considered an when statement.
Because within the while loop, things are happening. The if statement is like when this happens(if(this is...
Flik, the syntax is this:
#ifndef _MAIN_H_
#define _MAIN_H_
#include <stdio.h>
#include <stdlib.h>
#ifndef _STREAM_CPP_
#define _STREAM_CPP_
#include <iostream>
#include <fstream>
using namespace std;
void MakeFile(ofstream&, char*);
void ReadFile(ifstream&, char*, char*);
The code is self-explanotory. I'm trying to make a program that creates a .txt which contains 10 random integers. Then read the integers and sort it from least to greatest and then print them out in...
Why should accessor functions be const?
Welcome!!
I'm adding my source code in here to recieve criticism from other programmers.
I included a .zip file in this post. The zip file contains one source code and one header file. No executables, because I know how must of you guys are scared to run those.
Anyways, in the header...
My source code seems right. I don't know what the problem is. Nothing would appear.
Its been a hectic week for me. Usually I don't ask for help but I'm desperate. I've been following tutorials from both gametutorials.com and nehe.gamedev.net regarding OpenGL. I know how to set up a...