Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

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 Article


Problem 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 Article


Error 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 Article

when 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 Article

random 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 Article


problem 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 Article

Help 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 Article

Collision 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 Article


error game engine in Blender 2.64

..................................................I'M USING BLENDER 2.64................................................................................ Problem: when i parent a object to another...

View Article


C++ 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 Article

Unique 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

reading/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 Article


C# 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 Article

How 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 Article


Processes and threads

What is a thread ? What is it use for ?

View Article

Is 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 Article


Python 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 Article

Image may be NSFW.
Clik here to view.

error 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 Article

Guide 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
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>