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

object and arraylist<object>

Hellow i have confused because i have first to but in the same arraylist to kind of objects Cds and DVDs is the two objects, When finished with the introduction should appropriate methods respectively...

View Article


anyone who can help me with my difficulties in vb6?

anyone who can help me with my difficulties in vb6?

View Article


Image may be NSFW.
Clik here to view.

heap corruption?

First of all, yes, this is a homework assignment. But as you'll see, I've already written the entire thing myself. My program works how I want it to (excuse the poor coding i'm only a first year...

View Article

LinkedList NullPointerException in LinkedList Class

How can the if statement in the following snippet of code throw a null pointer exception in my LinkedList class? Isn't it 'handled' per-say by the if statement? if(iter.getNext() == null) {...

View Article

LinkedList NullPointerException in LinkedList Class

How can the if statement in the following snippet of code throw a null pointer exception in my LinkedList class? Isn't it 'handled' per-say by the if statement? if(iter.getNext() == null) {...

View Article


How can I output the correct value from a string?

So I am trying to get the correct values from this string, however some of the input varies so where F8L0000 is equal to (0)= Factory (1) = 2008 (3) = December. However I now also have the issue where...

View Article

how to access a datagrid row value in another datagrid

hae guys... i have two datagrid in two separate forms...i want to use one datagrid to search for a product in my database and use this value to make sales in a different datagrid in a different...

View Article

how to access a datagrid row value in another datagrid

hae guys... i have two datagrid in two separate forms...i want to use one datagrid to search for a product in my database and use this value to make sales in a different datagrid in a different...

View Article


how to access a datagrid row value in another datagrid

hae guys... i have two datagrid in two separate forms...i want to use one datagrid to search for a product in my database and use this value to make sales in a different datagrid in a different...

View Article


GUI + encapsulation

Yo. Suppose i have a View class in an MVC application and i have the private JTextField. Now i also have the Controller class that is responsible for user inputs. Relationship between classes is...

View Article

Enabling Copyright to a project

Hi, How can I enable a Copyright thing to my project?

View Article

ActionListener needs to Respond to User pressing Enter key

package TemperatureConverter; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; import java.text.*; public class ConvertTempFrame extends JFrame { /** * */...

View Article

Cannot make a static reference to the non-static method

ok, so I feel like a douche but have been stuck on something that is usually simple. I have tested these separate and they work fine but when I went to marry them together I had the dreaded Cannot make...

View Article


Saving ComboBoxes and TextBoxes to an Excel book

Hi, Can someone please help me on how to save textboxes and comboboxes to an excel workboook? The current Code that I have is: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...

View Article

Measuring time interval

Im given this code to test time interval: import time start = time.time() # The program you want to test end = time.time() time_interval = end – start My program: number=int(input("Please enter a...

View Article


SML/NJ higher order function?

I'm trying to implement a function ziprev : 'a list -> 'b list -> ('a * 'b)list - ziprev [1,2,3,4] [10,20,30,40]; val it = [(1,40),(2,30),(3,20),(4,10)] : (int * int) list Using zipWith and the...

View Article

Converting C code to MIPS

I am trying to rewrite the following C code to MIPS: # int fact(int n){ # if(n<1) return 1; # else return n * fact(n-1); # } # int perm(int n, int k) # { # return fact(n)/fact(n-k);//calls another...

View Article


WINDOWS OFFICE KEY RETRIEVAL - SOMEONE LOCKED MY LAST POST

Hello - Someone locked my last post so I am reposting my question because I cannot reply to why I want to pull Windows & Office keys. First of all, just because you want to retrieve keys does not...

View Article

make info show up in label from controls in windows form application

I am new to vb and to this forum so please let me know if you need more info I am trying to get the information a user enters in the controls such as masked text box (phone number) and some radio...

View Article

[Question] Approximate of pi

Hi , I'm new to c programming. I have been giving a task to do and I got trouble in my code. Can someone have a look my code and give me some advice? The task is this: (pi^2)/16 = (-1)^k /k+1 (1 + 1/3...

View Article
Browsing all 51036 articles
Browse latest View live


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