I didn't say AI was trivial, but to me, graphics are a lot more intimidating than AI. AI is telling the game/program how to make decisions, this still might not be easy, but for me the concept is...
Type: Posts; User: howzer
I didn't say AI was trivial, but to me, graphics are a lot more intimidating than AI. AI is telling the game/program how to make decisions, this still might not be easy, but for me the concept is...
then what's up with this:
#include <stdio.h>
#include <iostream>
int main(){
int inputc;
int inputcpp;
std::cout << "C++ output" << std::endl;
I never really looked at C and C++ as different languages. I mean, look at the name, C++ would be the value of C plus 1.
C++ is just C, with more features.
Or atleast that's how I see it.
i think the reason there are so many posts about graphics problems is because graphics are the most complex part of a game...
just my 2 cents.
The game is still my number 1 goal. The graphics...
http://www.cplusplus.com/doc/tutorial/
http://www.cppreference.com/
these should help, somehow.
We should assemble a team of the mightiest coders on the planet, to program: The Computer Gaming Operating System.
joke, but it's not really that bad of an idea.
oh, and it should be open...
#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <vector>
#include <map>
using namespace std;
typedef vector<string> argv; // command/parameters
ok here's what i've figured out so far
i create a variable type of type vector, which is a string, called argv.
i create a variable type of type void, then make it a pointer, which points to a...
can you(or someone) explain that code more? and what i should do with it?
i'm still in the learning stages, and looking at that, i don't have a clue how to use it... :(
i tried compiling it,...
i forgot why i had it like that, but there was a reason. i'll remember it when i need to.
but other than that, it looks good?
i just wanted to make sure everything was in working order before i...
what teacher? heh, i'm teaching myself.
anways, the comments are just there for now to help me keep track of things, when i get everything sorted out i'm going to take them out and just put in one...
ok, i'm trying to make something like a command console in games.
it takes a line of input from the user, then breaks the line down into a command and the parameters for it.
i want to use this to...
don't worry about that char* filename, it was an attempt by me to fix the problem, but it still didn't work right. but thanks to you, problem solved!
There's been a lot of these up here lately, but...
basically, this doesn't work
void genPlayer(hck::plyr player[], int playerid){
char* filename;
...
is there a way to make the screen a higher resolution using SetConsoleDisplayMode()?
ok, i thought i tried doing that but it didn't work... ok...
just ran it.
i think i had tried using ='0' and that's why it didn't work...
thanks!
I'm trying to make a little code that makes a 2-dimensional character array and fills it with 0's(or a's or whatever char) for now.
it gives me this error when i compile:
here's the code: