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

Need a little help understanding objects

I'm trying to get the logic right behind classes, objects, methods, properties, and all that jazz. Let's say we have a class called "Car", the car has properties, or attributes..color, weight,...

View Article


JFrame not exiting properly when set on DISPOSE_ON_CLOSE?

Hi I have been using the code block below as my standard GUI start. However, for some reason after I updated eclipse and JDK to their newest versions, it just doesn't work anymore and I have no idea...

View Article


Code critique: Java -counting change program

I am asking if my code is sound and efficient, I am just a week into Java, and I have noticed professors tend to teach the easiest way, not bashing any professors, BUT industry professionals tend to...

View Article

jqplot and php

quick few quiries if anyone can help: im wanting to pull information from the web server and post it into nice graphs so far ive managed to pull the average load. but how would i pull cpu details in...

View Article

Errors in mscorlib.dll when using WebRequest

I have been trying to use a few different ways of accessing documents on the web, trying to see if any of the methods are faster than others, and have been somewhat unsuccessful in a few of them. I say...

View Article


didn't start swf flash file

Hello,,, Im trying open flash file on button click event, but its didn't open, when i write Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...

View Article

Autocomplete data source question?

For the autocomplete functionality of text boxes. Is it possible to use a file containing records as a data source? For example could I get suggestions from reading the records from a file named...

View Article

Problem: need to closing my program

bellow is my program to find abundant numbers; the code works I just can get it to exit properly. #include <stdio.h> #include <stdlib.h> int main(void) { // Declare and initialize...

View Article


Help on If, else if, else statements

When i input a number from 1-12 no matter what the number is i always get "31 days" as an output any suggestions on what to do? /* Description: this program will ask the user to input the number of a...

View Article


c# calling managed c++ dll doesn't run in ide

I'm in VS2012, win7. When I press the green arrow to run the c# app in debug which references my managed c++ dll (the compiler is perfectly happy), I get 'unrecognized error occurred in the windows web...

View Article

How do I shift array elements up one position in java?

I am working on a java assignment where I need to delete an integer element in an array and shift the below elements up on space to keep them in order. The array is currently random integers in...

View Article

program flashes then only debug window shows when runnning

the code is only a five level puzzle game. I am using SDL, opengl, C++, and codeblocks with the mingw32 compiler to make it. I know it has nothing to with SDL becuase I have installed a Devpack for...

View Article

how to reference the matlab runtime in c#?

I have a .c file with stuff like #include <matrix.h> etc from the matlab runtime installed on my win 7. There are a lot of pointers. I need to convert this code to C#.How do I notify vc# 2010...

View Article


Cipher help with ciphering two words

I have the following code and it does compile and cipher. However, if I put in two words (i.e. hello world), it will only cipher hello. If a user inputs two words, as "hello world", I am to omit the...

View Article

Array help

Hello, I am needing help with sorted arrays and the time complexity of O(n). The user has to put in 20 integers in a sorted array and a target number in which the program will find all the possible...

View Article


Try Catch While Retry!

Hi. My main window open another custom window, and I have to enter 5 different text fields. If the number enter is negative then it would catch an error, and must return to that custom window to...

View Article

error in configuring a project with phpMyAdmin and localhost

I have a project which i got from the net which i need help with configuring. I have all the source code but i don't know from the documentation how to make it work. Please is there anyone who i can...

View Article


How to traverse strings, in a list index.

I am writing a program to check the opening and closeing tags of an html document. To do this I am putting string vertions of the tags in a list and comparing the last index of the list to the...

View Article

Number Systems Conversion

I'm Quang Pham, a computer science student at Palomar College. I'm having trouble developing a number systems conversion program in Java. This is what I've written so far: /** * Write a description of...

View Article

How to Use ActionListener for User pressing ENTER in JTextField

This is my output constructor where all my calculations are done. I am working on trying to let user Press ENTER in JTextField labeled inputbox and I am stuck. Can someone please give me some guidance...

View Article
Browsing all 51036 articles
Browse latest View live


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