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
Ranked #3K
~5K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

16 Posted Topics

Member Avatar for LdaXy

i'm writing a text based game that creates a world based on the data inside of the specified file. however, the code i have won't let me use the function DataInputStream.ReadFully(byte[]b) Code: package textgame; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; import java.util.Stack; public class world { Stack<String> LevelData = new …

Member Avatar for stultuske
0
1K
Member Avatar for LdaXy

I created a function that saves a file with a custom extention ".nra" however each time that i enter a file name, it throws ArrayIndexOutOfBoundsException public static void SaveFileNra() throws Exception { if(gl.DataStack.isEmpty()) { System.out.println("There is nothing to save!\n"); Menu(); } else { System.out.print("Enter the directory you wish to save …

Member Avatar for NormR1
0
173
Member Avatar for LdaXy

I know that the colon is used for inheritance. [CODE] class x { public: long y; } class Z : X { public: virtual void ret_value(y); }[/CODE] but what does this mean? [CODE]int offset:16;[/CODE] i cannot find he answer to this anywhere.

Member Avatar for LdaXy
0
219
Member Avatar for nekoleon64

couldn't you just get the input of the area of the room and the tiles, then calculate how many tiles are needed. [CODE] //sample int rooml, roomw, tilel, tilew, tilecount, tileneed; //normally you would place multiple ints on the same line to save space. int arear,areat; int return_ammount() { arear …

Member Avatar for nekoleon64
0
567
Member Avatar for Member #910882

well, i can tell you some problems with it. your string variables make a reeference to an array but it has a value of zero. [CODE] int i; std::string string1[i]; //error: i is not initiliazed, and assumed to be zero[/CODE] [CODE]int j = 1; std::string string2[j]; //no error. arrays must …

Member Avatar for LdaXy
0
180
Member Avatar for triumphost

i think the best way is to capture the keys pressed using the GetKeyboardState. [CODE]unsigned char KeyStates[256]; GetKeyboardState(KeyStates); for (int i = 0; i < 256; i++) { if (KeyStates[i] & 0x8000) { // The keyboard key that 'i' represents is currently held down. }[/CODE] you could substitute the values …

Member Avatar for LdaXy
0
252
Member Avatar for LdaXy

i was writing some code for a small project i'm working on and form somke reason, it never displays the main function. it just makes the user input 7 times before crashing. any ideas? i can't seem to locate my error. [CODE]package rtnasm; /* * RTNASM - n64 assembler * …

Member Avatar for ejosiah
0
304
Member Avatar for LdaXy

i'm extremely new to java, so i'm probably making a mistake somewhere. anywyas, my program works, however whn the user repeats the data entry, it does not get replaced with new data. [CODE]package convhms; /*HOW THIS WORKS: * * the main function captures the user input as a float * …

Member Avatar for JamesCherrill
0
151
Member Avatar for LdaXy

i'm testing out a template function i created for a header file i'm writing, but it will not compile for some reason. it's giving me problems with iosfwd, although i'm not using it. [CODE]#include <iostream> using namespace std; template <class LOGICAL_AND> LOGICAL_AND __and(x, y) { return x==y ? 1 | …

Member Avatar for jaskij
0
317
Member Avatar for LdaXy

hi all. i haven't been posting cause i am working on a new programming language called perfect. it's derived from the aspects of many languages: python, C, VB, java etc. here is a sample of what the code is going to look like: [CODE] '''Compile with Perfect Compiler ''*' first …

Member Avatar for Rashakil Fol
0
169
Member Avatar for LdaXy

back again with another question. i created a simple window in WIN32 mode, but it's giving me a linker error that i cannot isolate. [CODE]#include <windows.h> #include <tchar.h> #include <stdio.h> //defined this for all processes HINSTANCE hInstance; LRESULT CALLBACK WinProc(HWND hWnd, UINT msg, LPARAM lParam, WPARAM wParam); //WndProc Prototype. always …

Member Avatar for zazacofi
0
249
Member Avatar for LdaXy

i'm learning python currently, coming from c++ and i realized that i can't do certain things like in C++ anyways, i created a class call Object_refs: [CODE] #attempt to make a structure like class using INIT #to define all common variables. class Object_refs: def __INIT__(self, descriptor_type, type, reference_count, flags): self.desctype …

Member Avatar for LdaXy
0
243
Member Avatar for lucyaurora

nice suggestions, but seeing as the user already knows how to use data structures, he should start off with something a little bit harder than a black jack game. for a first time game programmer, pong is ok, but that would assume that the user understands some basic WIN32 programming …

Member Avatar for LdaXy
0
493
Member Avatar for ztdep

you may have defined the variables in the classes provided in header 1, but in you main code you have no definitions for the functions described . the errors reference functions required to render the mesh values. without them, you cannot run the program nor render anything at all. you …

Member Avatar for ztdep
0
282
Member Avatar for esesili

if your using windows, i sugest starting with basic WIN32 programming. Microsoft gives a very detailed intro to this type of coding. please bear in mind though, WIN32 coding is much more difficult than standard Console programming. not trying to discourage you, but just want to let you know. take …

Member Avatar for LdaXy
0
346
Member Avatar for LdaXy

I'm attempting to port a header file for a program that was designed for a Unix environment. i'm'; aware of the type defined variables like s16, u8 and such, but is their anything else i need to know about Unix C? not to familiar with it. thanks. sample portion of …

Member Avatar for Moschops
0
124

The End.