Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for nickcolb

I'm somewhat new to Java and programming in general and I am receiving this error when I run my program and I have zero idea as to what is causing it. Thanks in advance. [CODE]public class AssignmentEight { static final String INFILE_NAME = "ass8_input.txt"; /** * @param args */ public …

Member Avatar for stultuske
0
5K
Member Avatar for nickcolb

So I'm working on a small calculator applet and whenever a button is pressed (generating an action event) i get this: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException. Something about a missing source? The variable m is an instance of my myFunctions class which houses all the necessary formulas. I believe the …

Member Avatar for radhakrishna.p
0
218
Member Avatar for nickcolb

Hey everyone, I was wondering if there was a way to cycle through the individual bits of a port without having to write each one out individually i.e. P1.0, P1.1..etc. I need to light up some LEDs and just wanted to save myself from lengthy code. I'd be particularly interested …

Member Avatar for mathematician
0
173
Member Avatar for nickcolb

So far my professor has given us code and we basically "fill in the blanks" of the methods below the main code. I've done all the other methods, but am now stuck on the Taylor series portion. The code below is to calculate angles, and one of the methods called …

Member Avatar for Slimmy
0
1K
Member Avatar for nickcolb

Hey guys, I need some help with this coding. I feel like it's something simple so hopefully someone can figure it out. I know for certain that it has to do with float-int conversion problems, and I feel like once I figure that out the rest should fall into place. …

Member Avatar for JamesCherrill
0
177
Member Avatar for nickcolb

Hi, I need serious help with this code. So far everything compiles correctly but it does not output the correct change, and I've been trying for hours to figure out how to remedy the situation. All help is appreciated. This is what is being inputed: 4 1.00 .01 100.00 .01 …

Member Avatar for gunjannigam
0
96
Member Avatar for nickcolb

The output portion of the do/while loop below (i.e. MENU) outputs twice once youve selected your choice, and I have no idea why its doing this. [CODE] #include<iostream> using namespace std; struct StudentRecord { int stuId; char name[20]; char grade[4]; }; void showOneRecord(StudentRecord);//display a student record void showRecords(StudentRecord[],int);//display all student …

Member Avatar for Clinton Portis
0
92
Member Avatar for nickcolb

I am in dire need of help. I have written this program to output the first 4 perfect number, numbers whose divisors can be added to produce the original number, and the code just sits there and does nothing when ran. [CODE]#include<iostream> using namespace std; int main() { int counter=1; …

Member Avatar for griswolf
0
131