Hi,
I'm trying to read from a text file to input data to my java program. However, eclipse continuosly gives me a Source not found error no matter where I put the file.
I've made an additional sources folder in the project directory, the file in question is in both it and the bin file for the project and it still can't find it.
I eve...
I'm interested in corresponding with some schoolmates with an online forum that offers more than Google groups, namely intelligent code colors/formatting. MSDN forums and this site color code the c# code that I paste and I'd like to find another free forum site for a group to collaborate that supports this. The few I've found only format...
Hi guys,
We have a project, and the professor asked us to print the program codes using microsoft word. however when i pasted all my codes in ms word it turns out that it doesn't have coloring, those nice programming fonts.. It just looks awfully ugly in microsoft word..
I want this to be printed on papers very gorgeously. Like what w...
Hey i'm having problems creating a simple button for a programme which finds the largest word in an array and puts it into a textbox. I've done most of the coding (I hope) was wondering if somebody could help me actually with the code that finds the largest text in the array as I am struggling the most with that.
Private Sub btnLon...
I have a table with 3 fields like this:
ProfessorID StudentID Mark
P1 S1 9
P1 S2 8
P1 S3 10
P2 S1 7
P2 S2 2
P2 S3 4
P3 S4 5
P4 S1 6
...
I can't seem to get rid of these seemingly random compiles errors in one of my classes.
I get about 4 errors such as:
multiple definition of `draw_line(float, float, float, float)'
and
multiple definition of `near_far_clip(float, float, float*, float*, float*, float*, float*, float*)'
that are flagged in the middle of the method.
I a...
Here is what I'm suppose to accomplish:
Write a program that stimulates a
bean machine Your program should
prompt the user to enter the number of
balls and the number of slots in the
machine. Simulate the falling of each
ball by printing its path.
EX.
Enter the number of balls: 5
Enter the number of slots: 7
...
My compilers class is creating a language that we intend to compile to Java Bytecode. We have made plenty of progress and are nearing the time where it's time for code generation.
We are having problems locating information on how to create .class files from our compiler. Do you have any resources that can give us some assistance? We al...
A similiar question was asked earlier there, but the question here is the reverse of it, using two queues as a stack. The question...
Given two queues with their standard operations (enqueue, dequeue, isempty, size), implement a stack with its standard operations (pop, push, isempty, size).
There should be TWO versions of the solution...
Can anyone explain what is Windows Event Logging?
...
I would like to check if this is a correct implementation of QuickSort, It seems to be doing the job, but Am I missing out anything?
public class QuickSort implements Sorter {
public void sort(Comparable[] items) {
QuickSort(items, 0, items.length - 1);
}
static void QuickSort(Comparable[] items, int a, int b) {
int lo = a;
...
I am currently doing a CRUD project for school and basically they want us to have this kind of structure (3 projects):
Class Library
Contains all the Data Access logic (Retrieving the data from the database with either Linq of standard ADO.Net)
Web Service
Having a refere...
For my programming languages class, I'm writing a research paper on some papers by some important people in the history of language design. One by CAR Hoare struck me as odd because it speaks against independent compilation techniques used in C and later C++ before C even became popular.
Since this is primarily an optimization to speed...
I have three vectors V1, V2, and V3. Their origin points are on the axes' origin. How could I determine whether V3 is between V1 and V2 when I move around counterclockwise from V1 to V2?
It can't be done with obtaining their angles and evaluating these kind of conditions (pseudo-code):
if angle(V3) > angle(V1) && angle(V3) < angle(V2...
I'm working on a problem which uses a python class and has a constructor function to give the number of sides to one die and a function to roll the die with a random number returned based on the number of sides. I realize the code is very basic, but I'm having troubles understanding how to sum up the total of three rolled dice with diffe...
I'm using the SICP lectures and text to learn about Scheme on my own. I am looking at an exercise that says "An application of an expression E is an expression of the form (E E1,...En). This includes the case n=0, corresponding to an expression (E). A Curried application of E is either an application of E or an application of a Curried ...
For academic and performance sake, given this crawl recursive web-crawling function (which crawls only within the given domain) what would be the best approach to make it run iteratively? Currently when it runs, by the time it finishes python has climbed to using over 1GB of memory which isn't acceptable for running in a shared environme...
I am trying to do an exercises in the book that asks us to write the contents of the array list to a text file, can someone give me some ideas on what i am doing wrong opposed to full solutions, do i need to make a method that returns a single string then write that?
import java.util.ArrayList;
import java.io.FileWriter;
import java.ut...
I'm trying to make a progress bar that starts at 0%, and takes 5 seconds to get to 100%. The progress bar will begin to go up as soon as Button1 is clicked. Any advice? I looked on Google, but that gave me nothing good on this sort of thing.
Also, at 0%, there should be a label that says "Waiting...", when the progress bar starts, it sh...
Hi all,
I need help in how to transfer data from one account no to another account no in single table.
In this customer will get his account no from dropdown list(it will come automitically thru his session) and customer has to write the destination account no in textbox and the amount he is transferring will be written in another textbo...