15 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Labdabeta

Hello, I feel like this is probably something silly, but for some reason if I declare a variable at a certain point in my code, then never use it... it crashes. This is literally what happens: //... code here int isBuf=0;//one of my variables int zeroAddr=0;//<-- another variable I want, …

Member Avatar for Labdabeta
0
176
Member Avatar for mmcdonald

There has got to be a better way of doing this. First of all pay no attention to the lack of validation and error checking. I just want the core of the script to work first. Also, Block 1 and Block 2 execute, Block 3 does not. Whats the best …

Member Avatar for mmcdonald
0
1K
Member Avatar for pwolf

I have been struggling with this since yesterday and I really need to get it finished. I have no clue why its not working. THe porblem im facing at the moment is as follows: I have a method loadDB(); That is looks like this: public static void loadDB() { // …

Member Avatar for pwolf
0
259
Member Avatar for thewayoftheduck

import java.util.Scanner; import java.util.Random; public class HangmanGame2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); final String[] WordList = { "porcupine", "flamingo", "sasquatch", "poseidon", "minnie mouse", "mickey mouse", "galileo" }; String ChosenWord = WordList[(int)Math.random()*WordList.length]; StringBuffer display = new StringBuffer(ChosenWord.length()); for (int i = 0; i < …

Member Avatar for IIM
0
312
Member Avatar for //Gonz

Afternoon (UTC +0) all I am having a slight problem with the FileSystemWatcher. The File watcher does exactly what i want it to do (as in throwing an event when needed). However, when this event is thrown the debugger stops with no exceptions. This has never happened to me before …

Member Avatar for //Gonz
0
634
Member Avatar for JavaPrograms
Member Avatar for Labdabeta

I am trying to find a bug in my new and (theoretically) improved syntax highlighter program. I have made 3 versions now and have been able to debug them all with ease. Unfortunately my debugger does not do well with std containers as it shows ALL the information they contain …

Member Avatar for Labdabeta
0
350
Member Avatar for bobytch

Good Day Everyone here is my code so far [CODE] #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> void vp(int x,int tc,int bk,char *text); void square(int x,int y,int size); void main() {//=========================================================== int gdriver = DETECT, gmode, errorcode; initgraph(&gdriver, &gmode, "C:\\TC\\BGI"); //------------------monitor-------------------- setbkcolor(0); setcolor(15); square(300,160,150); square(300,160,148); square(300,160,130); square(300,160,131); setaspectratio(2,5); int …

Member Avatar for vidit_X
0
276
Member Avatar for divin757

I am having trouble debugging in sharepoint. It is acting like I am debugging a different dll than the one I made code for. When stepping through it will skip lines occasionally and randomly just stop debugging. Often it will start debugging then stop randomly and show any new breakpoints …

Member Avatar for divin757
0
187
Member Avatar for Prankmore

[CODE=c]# include<stdio.h> # include<string.h> # include<stdlib.h> int main(int argc, char **argv){ // Declare Variables char barcode[50]; int count; long long intBarcode; long countryCode; int dig0, dig1, dig2, dig3, dig4, dig5; int dig6, dig7, dig8, dig9, dig10, dig11; long long num; long rem, sum; int checksum; long long manufac, product, language, …

Member Avatar for gusano79
0
234
Member Avatar for esdel

I have two friends whose computers run like paint drying! And their internet connects are dodgy. They are both cursed with Windows 7 On my XP computer I have Prevex 3.05.220 Teamviewer 177152237 Is it possible for me to copy (which files of?) Prevex and Teamviewer onto a thumb drive …

Member Avatar for Reverend Jim
0
222
Member Avatar for jarograv

[CODE]#created by Jaron Graveley #April 26th, 2011 #This program completes reservations for Jon Von Poechman’s airline in an easy to use program #variable list: #i=counter used to limit the number of seats present on the diagram #n= counter to display the row number on the diagram #num_booked=counts the number of …

Member Avatar for jarograv
0
245
Member Avatar for Sandhya212

Hi, I need to make a pairs between array elements. For eg if the sored array I have is [CODE]1 1 1 2 1 4 1 6 2 3 2 5 2 8 2 9 3 7 3 10[/CODE] then I need to pair every element of the 2nd column …

Member Avatar for Sandhya212
0
241
Member Avatar for feoperro

Hi, I have pasted my code below, please paste it into a JSP and tell me why it gives the error "Unterminated String Constant" [CODE] <html> <head> <title>Debugging</title> <script language="javascript"> function changeOn(object, objectId) { alert('in function'); if (object == 'bookingsButton') { alert('first if'); document.getElementById(objectId).src = 'Images/BookingsOn.png'; } else if (object …

Member Avatar for feoperro
0
199
Member Avatar for josey_matt

Hi, can anyone plz check my code to see why in the prinCLASSdata function the int A, int B ... doesn't have a value. even though it is right in the updateFrequencies function. [CODE]#include<iostream> #include<fstream> #include<string> using namespace std; void read_data(int size,string name[],int test1[],int test2[],int test3[],int test4[],int test5[]); void calculateAverage(int …

Member Avatar for josey_matt
0
124

The End.