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

C++ / .lnk (windows shell link) question

I have been working on this project for a while and I am a bit confused with the information my research is showing me. Basically I am just trying to parse a .lnk file without the use of third party...

View Article


Image may be NSFW.
Clik here to view.

Problem : Sequence contains no elements

Hello. So, Im having trouble resolving a problem with my current program. The basics of it is, that it reads a data file, takes the data from the file, adds each 'individual' variable values together,...

View Article


Provides display of details for all sales made

needs a function that will do the following,Provides display of details for all sales made along with the overall total for a particular day and if you had written to file the option to display all...

View Article

Order of controls in a loop seems to be random.

I've made a small Knight's Tour program, and am trying to tighten up the code with a loop instead of doing something one by one, like I had it the first time. There's a panel containing 25 buttons...

View Article

User defined functions in c

How do i create a user defined function in the c language? I will be using linear interpolation for my user defined function. f(b)=f(a)+ [b-a/c-a]*[f©-f(a)]

View Article


Image may be NSFW.
Clik here to view.

Displaying random numbers. Java, AWT, drawString, GUI, Threads, Game&#

I am trying to display random numbers as part of a GUI in an applet based maths game, and have run into an issue. Either one of two things happen depending on from where I call the display method: The...

View Article

problem with a nullPointerException

static void displayData (String[] input) { int limit = 10; int[] word = new int[limit]; for (String a: input) { int b = a.length(); word[b]++; } for (int i = 0; i< limit;i++)...

View Article

System out

Hi, I am building a windows forms application using C#. I am just wondering how I can open and print out to the system console. I tried these lines... System.Console.OpenStandardOutput();...

View Article


Explain this recursion method output to me?

This is the recursion method: public int mystery (int k) { if (k == 1) return 0; else return (1 + mystery(k/2)); } where the method is called for k = 16 The output is 4 but I don't see how. I'm having...

View Article


Problem with mouse listener in jlabel array

Hi! So I'm making a game of air traffic control and I'm having a problem with my mouse listener. It is supposed to select a cell with left click and then move the airplane to the cell selected with...

View Article

Image may be NSFW.
Clik here to view.

Which programming language was likely to be used to create MSE and GUI

I am a newbie to programming and would like to know which programming language was most likely to be used in coding Microsoft security essentials. I would also like to learn how to create a similar GUI...

View Article

Image may be NSFW.
Clik here to view.

CONVERSIONS WITHOUT USING VOID METHOD

okay I keep getting this error and I don't know what Iam doing wrong. (I hope i code this post correctly) Conversion.java:97: class, interface, or enum expected import java.util.Scanner; import...

View Article

Image may be NSFW.
Clik here to view.

Declaring arrays: name of the array with spaces

Hey guys, I'm trying to understand a part of my professor's code. He gave an example for a hw assignment but I'm not sure how to understand this part of the code.. Here is the code: void...

View Article


ArrayIndexOutOfBoundsException

Hello coders I am doing a matador game as a school project. Im am getting a pesky ArrayIndexOutOfBoundsException. PlayerDB class package fields; import java.util.ArrayList; import java.util.List;...

View Article

writing opeeating system in C++

Ive doybted if this is the right forum, so if not feel free to move it. Secondable, i am writing this on my tablet so please ignore type errors. I've been trying to make my own opeeating system, I...

View Article


OpenGL or another platform for 3D graphics?

I want to start developing small 3D applications for fun, but I still don't know what platform use to do it. The apps I want to create will be to visualize 3 dimensional data (nothing fancy) and some...

View Article

Definitions help.

Can someone help me on this problem, because I just don't get what they are trying to tell me without an example (not just words). NOTE: If you have nothing positive to say, do post here at all! Thank...

View Article


XQuery XML Universal Quantifier Help

Hi, I'm not sure if this is the right section to ask but, I need help with using universal quantifier in XQuery. I have a set of strings like ("yes", "no, "yes", "no") and I need it to check if every...

View Article

Won't output array list.

Hello I'm having trouble with my program. I have a couple of problems. First of all, the program won't output the name, id, and gpa. It comes out as a blank. Second of all, when I enter the amount of...

View Article

Image may be NSFW.
Clik here to view.

Using an ArrayList to hold Data

Here is my code: import java.util.ArrayList; public class Data { public static void main(String args[]) { Data [] Names = {"Fred", "Jane", "Zoe"}; ArrayList<Data> array_list = new...

View Article
Browsing all 51036 articles
Browse latest View live