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

Entry point of a class ?

In a class, consider methods, if a method has an access modifier as "Static Void", it will be done when compiling the program without being mandotory to create an instance ! is this true ? ^~^

View Article


java fractions

This program is two files!! I get this error constructor rational in class Rational cannot be applied to given types; Rational foo = new Rational(); required: int, int found no arguement reason actual...

View Article


Bug in simple standard deviation function

I have been staring at this for a while, and I can't seem to figure out what the issue is. This function returns an incorrect value for the list [1,2,3,4], but it returns a correct value for...

View Article

Get "exicutible jar file" for eclipse

Ok so i have been programming for a couple of years now for school, and i have never had to publish anything. I've written a program that is like a personal assistant that i have customized just the...

View Article

C# XNA: Drawing 2D Shadows

I'm working on a 2D game engine (Side Scrolling / Platform) with a lighting system that takes an array of points and sizes and draws gradient circles for the "lights" but when drawing this over my game...

View Article


Reading text file into array

So im new to coding and basically whatim trying to do is Read my text file AppList.txt and parse it based on seperators. My current code is the following Dim a As String =...

View Article

CLisp: Using mapcar for polynomial multiplication

(common lisp, sorry I forgot to put it in the title, cant edit it as far as I know) Generally speaking, I know how to use mapcar, but this particular situation has me stumped. Assume that we have two...

View Article

pointers and array structures

Using only pointers, I need to read numbers in from a file, which I do using emacs. That part is fine and works great. But I now need to make an array of structs, and again using pointers, pass the...

View Article


Making top down program into different classes

I have a code that works fine but I'd like to break it up into three different classes. I'm not good with returning and instantiating classes. import java.util.Random; public class MathTest { public...

View Article


Program crashes with big numbers.

//Fixed version of the original robotic steamroller program. //New version no longer will crash! #include <stdio.h> #include <conio.h> #include <math.h> int mystery(int a, float...

View Article

pickling an object with PyQt4.QtGui.QTabWidget as a parameter

I am having some trouble with my program's architecture and pickling different processes. At the moment I am receiving a Can't pickle 'BufferRegion' object: <BufferRegion object at 0x03F2B65C>...

View Article

How do I loop it?

Write a method named repl that accepts a String and a number of repetitions as parameters and returns the String concatenated that many times. For example, the call repl("hello", 3) returns...

View Article

Cannot find symbol

Hi, I'm starting to work with the equals and copy class, but my main problem is this annoying error message, but I have no idea what it means... please help. Hw10.java:26: cannot find symbol symbol :...

View Article


Getting data from .aspx webpage by two button clicks c#.net

I am a novice in programming. I have a project where I have to get data from a website (I ll be posting the website below). But it happens that I first have to select a date and press a 'Go' button and...

View Article

XNA Tile Concept

Hello - I am new to game development, and have spent quite a while learning c#/xna through books and tutorials. My goal is to make (a really awesome!) 4x space strategy game with some mechanics that...

View Article


Task Scheduler IWeeklyTrigger DaysofWeek

Hi Everyone i trying to create a task scheduler programmatically. I am stack on creating a weekly trigger. I am trying to allow the user to select days from monday to sunday. The problem i am having is...

View Article

Task Scheduler IWeeklyTrigger DaysofWeek

Hi Everyone i trying to create a task scheduler programmatically. I am stack on creating a weekly trigger. I am trying to allow the user to select days from monday to sunday. The problem i am having is...

View Article


Task Scheduler IWeeklyTrigger DaysofWeek

Hi Everyone i trying to create a task scheduler programmatically. I am stack on creating a weekly trigger. I am trying to allow the user to select days from monday to sunday. The problem i am having is...

View Article

How do I declare date?

If the date falls between 12/16 and 3/15, you should return "Winter". If the date falls between 3/16 and 6/15, you should return "Spring". If the date falls between 6/16 and 9/15, you should return...

View Article

Task Scheduler IWeeklyTrigger DaysofWeek

Hi Everyone i trying to create a task scheduler programmatically. I am stack on creating a weekly trigger. I am trying to allow the user to select days from monday to sunday. The problem i am having is...

View Article
Browsing all 51036 articles
Browse latest View live


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