Using GetLastInputInfo with user inactivity
I am having an issue here. I am still learning to code in vb.net, although I have come a long way since I started. I am having problems figuring out how to properly use the GetLastInputInfo code in a...
View ArticleCan someone explain running times (constant, linear, nlogn) and Heaps?
I'm trying to understand my homework which is to illustrate a linear time heap constructor as well as a nlogn heap constructor. I understand that linear is faster and more efficient than nlogn, I just...
View Articleheap, perm gem, and stack
I have an exam coming up and I am having a difficult time getting my head around the portion of material dealing with memory (heap, perm gem, and stack). This is a few study guide material and...
View ArticleUse a user inputed variable as a rectangles height
Hi, I am trying to make a Java Applet where the user can input a number then a rectangle would be shown on the screen that is the height that the user entered and Im having trouble working out what to...
View Articleproblem in function for deleting a Node by taking Node's data.
Everything in this function works fine. That is if the value actually exists. If you input a value that is not in the list, and you run the program, it crashes. Can anyone help please? void deltarget...
View ArticleProblem with while loop in Sequential Calculator ASP.NET/C#
I'm making a calculator that performs operations sequentially (from left to right, not precedence), using ASP.NET/C#, but I'm having trouble trying to get the loops that run through the input box in my...
View Articlekeep getting error on array 2d list, please help deadline tuesday
I have a project i am a beginner in java and I am stuck and would appreciate any help. my output is as follows.......... output: Lisa Fowler Exception in thread "main"...
View Articlebig O help -_-
need help with big o notion. wht i understant you can tell how fast algorithm is running by using big O. so my question is can any one tell me if i have the anwser right or wrong. if right or wrong can...
View ArticleHow to detect hidden applications
Hello everyone! Please do you have some ideas how to detect hidden* applications! Something like rootkit apps *hidden in Task manager(Processes list). And how can i detect apps Kernel-mode rootkits run...
View ArticleProblem with approximation of sine using polynomials
So I'm just doing a little project that's meant to help me understand what some basic mathematical operations actually mean (square root, sine, etc). I'm trying to program my own calculator without...
View ArticleProblem linking files with headers, C
Alright So I have a few functions spread across a few files and I am attempting to get them to be called by my main and run properly but I keep getting issue that I'm not so sure how to deal with. I...
View ArticleTemperature Average Keeps Sending Zero
Hi, I'm having a hard time with my assignment. I'm not sure if I'm specifying it right. So far I've come up with this: public class TemperatureAverager{ private double sum; private int count; public...
View ArticleJava iteration through different sized arraylists
I need to iterate through 2 arraylists for collision purposes. I have an arraylist named r which can be between the sizes 0-144, and an arraylist named lasers that is always 4. How can I iterate...
View Articlehow to declare int in my coding
// HOPE THE LAST TRY.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdio.h> #include <conio.h> #include <stdlib.h> #include...
View ArticleCreating an Array from a text file
Hello, this is homework, so I am looking for some hints, tips, resources for putting together a program that reads a text file (First name, Last name, score) and I need to print the information and...
View ArticleVerify if Text Box (Mask000) is Empty
My form has masked text boxes designed to only accept numbers 0-999 using a mask 000. The only problem is that when the form runs, it displays an ugly ___ preview in the text box. All I want to know is...
View ArticleGet Rid of Preview for Masked Text Boxes
My form has masked text boxes designed to only accept numbers 0-999 using a mask 000. The only problem is that when the form runs, it displays an ugly ___ preview in the text box. All I want to know is...
View Articlevalidating and error checking
i have a 2d array but i am having trouble working out how to validate and error check my textbox's they all have to contain numbers only but i cant get my head around it any help would be appreciated....
View Articlevalidating and error checking
i have a 2d array but i am having trouble working out how to validate and error check my textbox's they all have to contain numbers only but i cant get my head around it any help would be appreciated....
View ArticleChaning text in ComboBox on click event
Summary: Private Sub Combo1_Click() Combo1.text = "abc" End Sub When control runs the command Combo1.text = "abc" the text is set to "abc", but when the event is finished, combo1.text contains an empty...
View Article