Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~375 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Phinocio

I am making a text based game for my programming class, and am working on the saving system at the moment, however, when I run the save method, it overwrites the file, but doesn't insert the new data, it leaves the file blank. Here is the whole save class. [code]package …

Member Avatar for jon.kiparsky
0
149
Member Avatar for Phinocio

My code [code]public class BattleSystem { public static void main (String[] args) { String choice; System.out.print("What would you like to do? "); Scanner input = new Scanner(System.in); choice = input.nextLine(); System.out.println(choice); if(choice == "1"){ createChar g = new createChar(); g.charCreateHandler(); g.charStatsHandler(); g.closeFile(); } else{ System.out.println("More choices coming soon!"); } } …

Member Avatar for Mattox
0
105
Member Avatar for Phinocio

I have this code here [code]#include <iostream> using namespace std; int checkLevel(){ int exp[101]={0,1,6,21,51,100,172,274,409,583,800,1064,1382,1757,2195,2700,3276,3930,4665,5487,6400,7408,8518,9733,11059,12500,14060,15746,17561,19511,21600,23832,26214,28749,31443, 34300,37324,40522,43897,47455,51200,55136,59270,63605,68147,72900,77868,83058,88473,94119,100000,106121,112486,119102,125971,133100,140493,148154,156090,164303,172800,181585,190662,200038, 209715,219700,229997,240610,251546,262807,274400,286329,298598,311214,324179,337500,351181,365226,379642,394431,409600,425153,441094,457430,474163,491300,508845,526802,545178,563975,583200, 602857,622950,643486,664467,685900,707789,730138,752954,776239,800000}; int level = 1; int nextLevel = 2; int PokemonExp = 0; int input; int num = 1; while (num == 1){ cout << "Enter exp amount: "; cin >> input; PokemonExp = …

Member Avatar for Phinocio
0
121