11 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for DavidB

I have been spending a lot of time on LinkedIn lately and one feature I find annoying is the infinite scroll. I simply want to learn more about some companies: their size, earnings, number of employees, mailing address, etc. So I go to the company page on LinkedIn and quickly …

Member Avatar for DavidB
0
261
Member Avatar for emokidzz

I get an infinite loop when i input 1 and 5 in this program. Please help me detect the error. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Graphs { class Program { static void Main(string[] args) { string[] cities = new string[10] { "Makati City", "Taguig City", "Imus …

0
187
Member Avatar for srinivas88

Hi, I am writing a script which will run a process in a while loop, i.e., user will execute `sh test.sh ` and the script will run a set of processes, I want to know how to kill the script which is having a infinite while loop in its contents. …

Member Avatar for L7Sqr
0
216
Member Avatar for while(!success)

Hey, guy I'm having some trouble with my function see below: bool tryAgain() { char answer; cout << "Do you want to enter another number? (Y/N): "; cin >> answer; answer = toupper(answer); while(answer != 'Y' || answer != 'N') { cin.clear(); cin.ignore(10, '\n'); cout << "Input invalid." << endl; …

Member Avatar for while(!success)
0
166
Member Avatar for Tobyjug2222

Hey guys, I've been having a bit of a problem using the while function. Here is my code (Simplified): [CODE]Dim RandomNumber3 As Random Dim RandomOutput3 As Integer RandomNumber3 = New Random() RandomOutput3 = RandomNumber3.Next(1, 9) Dim RandomClass As Random RandomClass = New Random() While (RandomOutput3 = RandomOutput Or RandomOutput2) RandomOutput3 …

Member Avatar for Tobyjug2222
0
230
Member Avatar for Gsterminator

So my homework assigment was to create a new method in the class section called, public void deleteStudentsWithName(String)...So what it does is reads a files, converts it into an array, and then it asks the user which name you want to delete. My program is very messy(in my opinion), but …

Member Avatar for Gsterminator
0
251
Member Avatar for StickyTape

I'm sure threads don't have to be all about problems so, I was wondering when I delete my files, where does it go? How does the hard drive regain its space? I read somewhere that the OS just ignores it but I wanted to make sure and if we used …

Member Avatar for rch1231
0
299
Member Avatar for epicrevolt

Hello, I am working on a website where the user can fill out a long form. For simplicity reasons, a part asks them to list features they would like to see. For that I plugged in some javascript to make a "[more]" link to add more form fields. Each form …

Member Avatar for epicrevolt
0
143
Member Avatar for s0ur

HI All, My name is s0ur and I am not a programmer. Isn't that the first step to recovery? I am hoping that the experts can help a noob. I am trying to write a python script that will run on windows login. it should do the following: 1) ping …

Member Avatar for Beat_Slayer
0
287
Member Avatar for DelilahDemented

I'm doing this simple program that checks for number validation and I have an infinite loop in it. I can't figure out how to stop it. It's supposed to check for numeric digits only, but when it finds something other than the above, it hangs up in the loop. Could …

Member Avatar for DelilahDemented
0
234
Member Avatar for Clawsy

All these days I've been trying to access a Swing component (e.g.: JLabel) from a separate thread. I tried using "Thread", "Timer", "SwingWorker" but I couldn't find the solution. - Using a thread results in stack overflow. - Using a timer doesn't access the Swing component (e.g.: change the text …

Member Avatar for Clawsy
0
225

The End.