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

Image may be NSFW.
Clik here to view.

Dynamic Database Content Design

Hi, 'm currently working on a survey system(PHP/MySQL) where the content is dynamically generated. Users can create their own questions and other users can answer these forms. How do I go about...

View Article


hangman program, err: cannot find symbol, buffered reader? Java newbie

Here is the part part of my program with most of the errors: //play method private void play() throws IOException { do { guess(alphabet); usedLetters(used, alphabet); do{ System.out.println("You have...

View Article


my program will not display the sum of the sales array when typing all

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO;...

View Article

Question: Make picturebox = mouse

Hello, I am working on a very simple game, but cannot detect collisions with pictureboxes. I have googled how to make pictureboxes collide, but, I can't find anything. My thought was, "Is it possible...

View Article

writing to a file problem

i have this ode from my lecture as a example to show us how to write to a file import java.io.*; // for PrintWriter class import java.util.* ; // for Scanner class public class TestFileWrite { public...

View Article


array question

This program should determine whethet the integer is positive or negative. Then it should copy negative values into aryA and positive value into aryB. lastly, it should display how many values copied...

View Article

how to solve the error

I got error of Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or...

View Article

A good hashing

Hi all, please suggest me a good hash function to hash 2^32 unsigned integers.Also suggest me the optimal hash table size. Thanks in advance, rstnsrr

View Article


Iterator Conversion problem?

I'm not sure what is the problem, as I don't see any syntax errors, and I have no idea what this long ass list of stuff means, but if you are willing to read this and help me understand what it means...

View Article


help in selecting a god hash function

Hi all, please suggest me a good hash function to hash 2^32 unsigned integers.Also suggest me the optimal hash table size. Thanks in advance, rstnsrr

View Article

[Linux] Hostent struct not defined

Surprisingly something as simple as this is eluding me, however I guess this is my first attempt at network programming in *nix. I'm trying to resolve a host from name (eg: www.google.com) and connect...

View Article

switch cases not working

Hello everyone I write this C++ code about (binary search tree structure) I wrote header file and implementation file and I sure it's write the problem with switch ,,, cases doesn't work .. only...

View Article

Input values in jsp page and insert into database

I want to after user input values in jsp page, insert into database automatically. http://localhost:8080/IT3622_Assignment/budget.jsp

View Article


Insert into database based on user input in jsp page. Below are my cod

budget.jsp [code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <html>...

View Article

Referring to textbox by array value

Hi all, I have 6 textboxes, each of which has a number at the end of the name (1-6).I also have an array (numbers) holding 6 values. I'm currently using the code below to place the array value in the...

View Article


Adding items to a collection from a .text + more

First post here, hello everyone! I've got something that I can't quite figure out due to my limited knowledge of C#: I have a program that downloads a .txt file from a website on startup. The file...

View Article

Phone Directory program

Hi I have project in Data Structures this is the question 1.Phone Directory Design a phone directory that will be able to store names of teachers and their office phone numbers. Your system should be...

View Article


update DateTimePicker

int d = 1; int year_int = Convert.ToInt32(year); int month_int = Convert.ToInt32(month); start_dTPicker1.Format = DateTimePickerFormat.Custom; start_dTPicker1.CustomFormat = "yyyy MM dd";...

View Article

Passing String From datagridview to textbox in another form

I have set up a 2 forms one loads up a datagridview and the user clicks on the view to select the value they want. I can get the value displaying inside a messagebox on the same form as the...

View Article

Image may be NSFW.
Clik here to view.

Floating Point Precision/Comparison Queries

So here is the problem question that I was presented with: The only non-standard code I used was the one to clear the screen. But I have a major question here. This is the first time I am writing...

View Article
Browsing all 51036 articles
Browse latest View live