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

SQL Case statement not working properly

I'm using MS Sql Server 2005. It has been awhile since I've needed to write case statements but I didn't think I had forgotten that much. I have a table with a bunch of "rank" codes corresponding to...

View Article


Using a loop to convert hex to binary?

So this code changes hexadecimal to binary digits. A specific hexadecimal number I should add. It is not built for all. #include <stdio.h> #include <conio.h> #include <math.h> int...

View Article


Learning Divide and Conquer Algorithms

I am learning divide and conquer algorithms in school and I am having some trouble figuring it out. I am required to find the sum of an array but divide and conquering an array to base case 4 then...

View Article

Had a question about this problem?

The birthday paradox says that the probability that two people in a room will have the same birthday (month and date only) is more than half as long as n, the number of people in the room, is more than...

View Article

Had a question about this problem?

The birthday paradox says that the probability that two people in a room will have the same birthday (month and date only) is more than half as long as n, the number of people in the room, is more than...

View Article


BindingContext.Position is incrementing, but no change in text boxes?

Hey guys! It's me again! And I'm pulling my hair out again... I've tried to debug this code myself, and I think it's something to do with how it's been written, but it was taken from a book "Computing...

View Article

while loops

import java.util.Scanner; public class FindWord { public static void main (String[] args) { Scanner scanInput; scanInput = new Scanner(System.in); String search, word; int count; word = "hi"; count =...

View Article

cannot be cast to java.lang.Comparable

I am trying to sort the array by name or price depending on input. It is saying that the method sort is not applicable and that it cannot be cast. I have looked and can not figure it out or find...

View Article


Drag and Drop problem between forms

Hi all, I have a class in which I dim a new form and listview. The purpose is to list stock items and allows the user to select an entry. I have added the addhandler itemdrag and its relevant code...

View Article


Image may be NSFW.
Clik here to view.

How to work with Android SQLite Database

Android provides several ways to store user and app data. SQLite is one way of storing user data. SQLite is a very light weight database which comes with Android OS. In this tutorial IÂ’ll be discussing...

View Article

Switching between two forms

I will have form1 which will always remain open. Then I have my form2 which gets displayed when user clicks a button in form1 and populates some picture in form2. Later when the user finishes viewing...

View Article

Bubble Sort and Initialization not displaying

Hey guys ok so im now making a code i posted a few days ago it was dumped because they thought i was asking for the code when i simply needed to be pushed in the right direction but any way that doesnt...

View Article

need help with error Warning: Missing argument 2 for TopNavigation()

Hi I can not figure out how to straighten up this error can anyone please rewrite the section I am wrritting wrong and post so I can see what I am doing wrong thanks. The exact error I get is Warning:...

View Article


Birthday Paradox Looping

Hi! We've been assigned the Birthday Paradox for homework and I seem to be having trouble with the looping in the check_birthdays function. I keep getting numbers in the thousands when it should really...

View Article

How do I print the results of this query?

How would I go about writing the php for this query to display the results? $artistCommentsFeed = mysql_query("SELECT ArtistComments.date_Of_Entry, ArtistComments.comment FROM [User] INNER JOIN...

View Article


Print out a Circle using a Matrix

We have to print out a circle using matrices and I'm having trouble sending the matrix to the circle function. There may be other problems though also... Thanks! //This program will accept a radius of...

View Article

Html Problem In net beans

Hello friends iam making a simple servlet in netbeans ide and i have made a html form &lt!-- To change this template, choose Tools | Templates and open the template in the editor. -->...

View Article


How to make a download manager in java

can any one give the url of topic how to create a download manager in java

View Article

I need help fixing java.lang.NullPointerException problem

Hi, I have a client-server app and the following code in the client: while(true) { try { TableDetails newDetails = (TableDetails) inObject.readObject(); //waits for object from server if (newDetails ==...

View Article

Image may be NSFW.
Clik here to view.

UI Automation - QTAgent32 file in use problem

Hello EveryBody! I have an issue with QTAgent(QtAgent32.exe which runs on the Test Agent machine)during Install and Uninstall automated tests of an application. During this operations a dialog opens...

View Article
Browsing all 51036 articles
Browse latest View live