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

cannot find symbol

First time compiling I had about 107 errors. This "cannot find symbol" thing is stumping me though. I looked it up from about.com/java and it might be because: "trying to use a variable without...

View Article


Problems getting output messsage when testing program

So the following code below is to search for a file in a directory. It works fine until I want to test if a file doesn't exist in the directory. I get no output message when I want it to say "Either...

View Article


Retrieving control using javascript given a control's id

I am trying to do this right now using multiple user controls on a page. The user control is a file browser control that was written which contains 5 objects, 2 server asp controls and 3 client inputs....

View Article

Idea for Deleteing the selected item [resolved]

The cose workes perfectly, but just one glich, I cant seem to figur out how to implement a function ot method or sql statement to delete the selected item ( which is the name of the member, while the...

View Article

Class function can't access variable

In my header file class Player { public: //constructor Player(); Score score_; //assessors void setName(string inputtedName); string getName() const; int getScoreAmount() const; //mutators void...

View Article


supermarket cashier system

i'm trying to write supermarket cashier system project using c++ ,but i'm just beginner and i need some tips if possible ? thanks in advance .

View Article

Can DataGridViewCheckBoxColumns stay checked when sorting?

I have a small project here where I'm reading data into a datatable from a .csv file and binding a DataGridView control to that table. The columns are autogenerated based on what was in the .csv file,...

View Article

Need help with a java battleship program.

import java.util.*; public class battleShip { private Scanner in; private boardPiece[][] eboard = {{new boardPiece(),new boardPiece(),new boardPiece(),new boardPiece(),new boardPiece(),new...

View Article


Image may be NSFW.
Clik here to view.

How to upload this on the internet ?

i wanna show my friend the java i made thanks to the help of the good guys here i have a site and i can edit its html. some said i can use this code: Quote<!DOCTYPE html> <html>...

View Article


Uncomplete function - Simple Mistake

Hello everyone, How can I solve this problem "not all code paths return a value" static int Multiplication(int a, int B)/> { int res = 0; while (b > 0) { res += a; b = b - 1; }...

View Article

Beginner help please.

Hey, I am a beginner and my teacher assigned us this task : Write an application for a construction company to handle a customer's order to build a new home. Use separate ButtonGroups to allow the...

View Article

Strange pointer problem

Hi D.I.C. I'm working on a quadtree that will handle collision detection between the player object and all other objects. I've fixed a bunch of other stuff wrong and narrowed it down to one area I...

View Article

bubble sort analysis and probability

Hi, ineed to analize some bubble sort algorithms for a special project, and calculate the probability of each, while, if, for statements. Please help me

View Article


vector add

I am trying to add an object to the vector, the object consists of 2 elements, str1 and str2. i want the vector to add the object only if str1 doesn't repeat itself, in other words no duplicates of...

View Article

Books for learning WPF from scratch

Hey all. I have a very fundamental understanding of the C# language, that is, I have written a small OOP program in it a while back, and a small client-server program (both for school). So I wouldn't...

View Article


Declaring an unkown user input alphanumeric array

I need to ask for an unknown alphanumeric String and has to show on the screen like this: User inputs: "aa123 4p56-7890" 4 56 123 7890 So far I have this: Needs to be in two separate classes. import...

View Article

Image may be NSFW.
Clik here to view.

Debugging a linked list / node program

Okay, I'm doing an assignment in which I need to take a code for a linked list with a directory that adds nodes, removes them, ends the program, etc. and change it to work with the 'char' data type....

View Article


Object Array help

Hello I am working on this assignment and I cannot seem to figure out what I am doing wrong. I am trying to create an object array of Employees named payroll and fill it with employees. I have done...

View Article

Problems With DOM Parsing

Hello! I'm having problems with parsing my XML code. I'm using DOM (org.w3c.dom and javax.xml.parsers packages). I want to dynamically construct objects from XML documents, but I'm new to DOM and have...

View Article

Trouble figuring out where to put the function header/prototype

I have everything else I am having trouble figuring out where to put the function prototype for this program. Thanks so much for your help. I really appreciate it. Below is the code #include...

View Article
Browsing all 51036 articles
Browse latest View live


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