Object array help
Hi, I created a Item class.It contains constructor,getmethods.Item class contains three attributes 1 String,1 Double and 1 Integer.That's ok.But then in my GUI i created a object array like this. Item...
View ArticleProblem with reading in a csv file
It gets stuck in a loop and only seems to read the whole first line into .city. I've never read in data with csv so any help is appreciated! void loadData ( List<FootballTeam>& data) {...
View ArticleError Display in Conversion Base program in C.
Hey all, I'm kinda new in C program. So I'm suppose to convert a value to a base number from 1 - 16. The program will compile, but output is wrong. I'm not sure which part did i do wrong, whether isit...
View Articlewhen debuging, when program finish window closes how can i stop this
i am new to vb and on quite the learning cure. i am workng on a program with random number generators, multiple timerers, and usb rlay and i/o. everything was going fine untill i got to a point where i...
View Articlerandom number generator set for 1-4. but never picks 4
Dim rndnumber As Random Dim number As Integer rndnumber = New Random number = rndnumber.Next(1, 4) Form2.Label2.Text = number.ToString random number generator. should pick numbers between 1 and 4. dont...
View Articleproblem reading and printing from file
I am trying to read to a file that is not there so it just creates a .txt with the first highscore in it, then when it reads from file it appears when file is open it is pointing at 0xcccccccc. i am...
View ArticleHelp with recursive functions
Hi, I have two recursive functions that are giving me trouble I was wondering if someone can take a look at them and help me. In some instances, it seems that it produces the correct result, in others...
View ArticleCollision detection not working!
For some reason my collision detection isn't working: The ball just clips through the paddle. Here is my code, the important methods are checkForCollisions in the ball class, and getBounds in the...
View Articleerror game engine in Blender 2.64
..................................................I'M USING BLENDER 2.64................................................................................ Problem: when i parent a object to another...
View ArticleC++ link-listed question
Hi everybody. I am a C++ user who is new to link-listed. Now I am having a problem with one of my program. The program is about design a student recording system. The problem that I am facing is on the...
View ArticleUnique User ID.
What would be the best way of assigning a user a random and unique ID number? I can't use a database and the users information has to be stored in a text file.
View ArticleHow to use a return statement with a boolean value?
This is the instruction: Write a program for a mail-order company. Name the class MailOrderWrite. The program uses a data-entry screen in which the user types an item number and a quantity. The valid...
View Articlereading/writing a boolean bit with stream writer.
This is a pretty basic issue but for some reason i just can't read a boolean value from a binary file. Here's the code i'm using Imports System.IO Public Class Form1 Structure userdata Dim ispass As...
View ArticleC# Or Operator Problem
I am having a problem where i am trying to check if two label values are equal too null. One of the labels is null and the other contains a string value. The code i have seems to only check if one of...
View ArticleHow to load new (unknown) items from a XML file.
I wonder if anyone can give me any idea how to load new (unknown) items I have inside a XML doc. Our designer want the functionallity to be able to "mod" our game by just adding new items inside the...
View ArticleIs this a right Camelcase naming ?
This is right ? ( about upper and lower case ) Class name: StudentGoodClass method name: addStudentGoodThisYear or addStudentgoodThisyear variable: thisIsStudentName or thisIsstudentName ?
View ArticlePython 3.3.0 storing new random values
I was wondering how to store a new random value, since I am trying to make a guessing game. Where user guesses a number. I created a while loop where the loop will only break if the user gets number...
View Articleerror in opening form.vb, due to power failure
im working on my HomeForm.vb and suddenly loss of power happen, and when the power is back, and worked for my project again, as i open HomeForm.vb this window error will prompt, as seen in image1. but...
View ArticleGuide in making help reference in vb6 program
Can anyone give me an idea on how to make help reference for beginers in vb6. I try to search in the net and I find something about "helpscribble" and I find in difficult. What can you say about it?...
View Article