Stacks
class Stack: def __init__(self): self.items=[] def isEmpty(self): return self.items==[] def push(self,item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return...
View ArticleSearching problem in Vb.net
I am new to VB.net. I have project in which i have to use any database e.g. Access, SQL. I have to Access to connect with VB.net. I have to register user then search the user and delete it. I am able...
View ArticleBest appoach to showing new data on form
Hi Guys, I have main form http://i1106.photobucket.com/albums/h366/deery5000/Moviez_zpsa33699a9.png i want to add a "View all" option and display all the posters in that category on the main form. How...
View ArticleQuadratic w/ Exception Handle [ please help ]
Howdy friends; Here is my assignment: QuoteWrite a program that will solve a quadratic equation, 1. given the values of a, b and c, and 2. return the larger of the two roots. 3. Be sure to handle the...
View ArticleMobile Programming Languages
Dear friends...kindly let me know as a developer how many programming languages are best to learn initially to start up the career in apps development. I am fond of it.
View ArticleBinary Image
Okay, now i have an employee form with an image field at the top. Now i want to retrieve an image from a database, stored in bytes and display it an asp.net image control. I have tried so many...
View ArticleDiscrete convolution - how to do it numerically?
Hi all, please can I ask a bit stupid question? Let say I need to solve an equation in a form <math>\frac{\partial X}{\partial t}=\sum_k M_k * X_{n-k}</math> How can I do this numericall?...
View ArticleTrouble Removing OptionButtons!
Hey, so I need to remove my previously added OptionButtons and replace them with my new ones. The new ones do paint themselves, but they show up behind the first set of buttons, so I need to remove...
View ArticleHi all! NULL POINTER EXCEPTION on a simple JTextArea !
Hi all! The following exception has been given by my code : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at MainControlMarioGUI.actionPerformed(MainControlMarioGUI.java:200) at...
View ArticleMultiDim Array Init and Printf errors
Hello again! I'm working on an assignment to compute income tax. I decided to use a multi dimensional array with the numbers I was given to process. I declared and initialized my array, and I am...
View ArticlePackage errors with my Server Socket java code
I am getting the error that the "so" package does not exist and another error stating cannot find symbol for "outputToClient.writeBytes(...)" // TCP Server Program based on a sample from Kurose,...
View ArticleUnderstanding OOP and Coding Advice
import random def game_main(): game_strings = ["--Random Number Guessing Game--", "Guess a Number between {0} and {1}: ", "You {0}, the number was {1}"] MIN_GUESS = 1 MAX_GUESS = 10 GUESS_ANSWER =...
View ArticleResults page not working...
I am creating a cents calculator. On the first page the user enters the amount of quarters and dimes they have. Than when the user clicks on the calculate button it is supposed to take them to a...
View ArticleSyntax Error in my 'simple' class
I'm trying to create a class about lorries and when they are due for a service. So far I've just had constant issues. class VehicleInfo (object): def __init__(self): self.vehicleid = 1...
View ArticleShorten link but still clickable in richtextbox
Hello every one, i have been racking my brain trying to get this to work for days now but still cant find an answer. I am scraping my web page for links which are directly linked to files , i can get...
View ArticleSorting array of arrays problem
hi guys i need to sort an array of products that has another array of categories inside, something like $prod = array(); $data = array(); $cat = array(); $n = 0; // $qr is a returned sql query response...
View ArticlePalindrome using Stacks
One of my assignments was to make a palindrome program, which I did below... #stack.py class Stack: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def push(self, item):...
View ArticleMergesort c++ problem
Hi, I'm doing an assignment where I am supposed to implement a merge sort algorithm (shown below). Even though everything compiles, the elements are not actually sorted. I have been looking around for...
View ArticleHELP Converting vbScript to Visual basic 2010
Hi, I want to convert a vbscript to vb.net when i turn off Option script and explicit i run into these errors: Code first: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs)...
View ArticleQuestion about Listbox and axwindowsmediaplayer
Hello community, I am still quite new to this forum and I am still a real beginner in programming with C #. A little bit I can just off the ground, but I want to improve my program that I use for...
View Article