I am a basic c++ programer :sad: that wants to understand graphics but all the online guides confuse me i understand BASIC c++ code like...
:-|

#include <iostream>
using namespace std;
int main()
{
    int forever;
    int HIGH = 15;
    int LOW = 1;
    int HIGH1 = 50;
    int LOW1 = 0;
    int damage;
    int attack;
    int HEALTH;
    int enemyhealth;
    int travle;
    int TRYAGAIN;
    cout<<"IMPUT YOUR HEALTH\n";
    cin>>HEALTH;
    cout<<"IMPUT ENEMY HEALTH\n";
    cin>>enemyhealth;
    cout<<"1";
    cin>>forever;
    while(forever == 1) {
                  TRYAGAIN = 0;
                  damage = rand() % (HIGH - LOW);
                  attack = rand() % (HIGH1 - LOW1);
                  travle = attack-damage;
                  if (travle > 0) {
                             enemyhealth = enemyhealth-travle;
                             }
                  if (travle < 0){
                             HEALTH = HEALTH+travle;
                             }
                  if (HEALTH <0) {
                             cout<<"YOU HAVE DIED AND GONE NITHER UP NOR DOWN!";
                             system("Pause");
                             forever = -1;
                             cout<<"TRY AGAIN! 1=YES 0=NO";
                             cin>>TRYAGAIN;
                             HEALTH = +10;
                             }
                  if (enemyhealth <0){
                                  cout<<"YOU HAVE CRUSHED YOUR ENEMY";
                                  system("Pause");
                                  forever = -1;
                                  cout<<"TRY AGAIN! 1=YES 0=NO";
                                  cin>>TRYAGAIN;
                                  enemyhealth = +10;
                                  }
                  cout<<"DAMMAGE="<<travle<<"\n";
                  cout<<"YOUR HEALTH="<<HEALTH<<"\n";
                  cout<<"ENEMY HEALTH="<<enemyhealth<<"\n";
                  system("Pause\n");
                  if (TRYAGAIN == 1){
                                  forever = +1;
                                  travle = 0;
                                  TRYAGAIN = 0;
                                  cout<<"IMPUT YOUR HEALTH\n";
                                  cin>>HEALTH;
                                  cout<<"IMPUT ENEMY HEALTH\n";
                                  cin>>enemyhealth;
                                  }
                  }
 
 
    cin.get();
}

thats the most complex stuff that i understand...:-|

yeah im using dev c++

I am a basic c++ programer :sad: that wants to understand graphics but all the online guides confuse

Which one(s) might those be? Perhaps learn the language a little better before jumping into the deep end.

I just cant find any good ones other than drunken hyenea-(SP) and that is verry broken up and doensnt read well i use cprogramming.com to learn my basic skills and wanted to know if there is a "GAME" development site that uses and hones the skills of a game in c++ if so plz post i am really confused i tryed python but the compiler made me frustrated because i couldnt go back and change anything without having it ENTIRLEY re compiled in the SAME program! making it like 10x slower than most other compilers! and the pygame/python guides were i have game maker six but thats a click and drag maker i wanna learn a language that has easy guides easy graphics and a FREE COMPILER.... if so plz post!

This article has been dead for over six months. Start a new discussion instead.