Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

102 Neutral

About jelani435

  • Rank
  1. jelani435

    C++ help

    Also for the last two couts should i use \n on that or samething?
  2. jelani435

    C++ help

  3. jelani435

    C++ help

    Is there any way i can write \n instead of std:
  4. jelani435

    C++ help

    I am using code::blocks compiler.   The error is: Checking for existence: C:\Users\user\Desktop\Rpg intro.exe Executing: C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe "C:\Users\user\Desktop\Rpg intro.exe" (in C:\Users\user\Desktop) Process terminated with status 1972040841 (0 minutes, 33 seconds)   And im still doing tutorials and all that so i decided to try my hand at my own sample program. I really have no idea what these errors mean lol!
  5. jelani435

    C++ help

    Hey guys i'm 14 and i'm just starting to learn c++. I have an rpg intro i'm working on but it wont compile or run. would any of you be able to point out any issues?: ________________________________________________________________________________________________________________   #include <iostream> #include <cstring>   using namespace std;   int main() { char name[50]; char weapon[100]; char weapon_name[100]; cout<<"What do you want your hero's name to be?"; cin.getline (name, 50); cout<<"I like that name!"; cout<<"What would you like your weapon to be?"; cin.getline (weapon, 100); cout<<"That's my favourite weapon!"; cout<<"What would you like to name your weapon?"; cin.getline (weapon_name, 100); cout<<"cool!"; cout<<"You shall be crowned: "<<name<<"the wielder of the"<<weapon<<"named"<<weapon_name"; cout<<"You may begin your adventure!\n"; cin.get(); }       Thanks for your help!
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!