132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for philipB

My teacher has given me an assignment to parse a text file that contains no more than 25 "Students" the Student object has a Name, and five grades contained within an array. Now, I've set up the Student file, the Array template file per his instructions and i'm reading in …

Software Development c++
Member Avatar for Taywin
0
107
Member Avatar for tendaimare

What do i do if my sql server in the server explorer always has a red cross on it, if i click on it and then look in the properties window on state it says it is closed and therefore I cant work with my database. if i try and …

Software Development vb.net
Member Avatar for Netcode
0
117
Member Avatar for superjj

I want to read a bmp file in c. i can read the header but now i need to see het photo. the attachments is am exemple. [CODE]#include <stdio.h> /* We moeten een apparte struct aanmaken voor de Magic Number, anders krijgen we een foutieve waarde hiervoor.*/ struct MagicNumber{ unsigned …

Software Development c
Member Avatar for myk45
0
241
Member Avatar for bio-grad

Hi, Currently I have two files: (I've labeled the columns to help with the explanation) mature.txt [0m] [1m] [2m] [3m] [4m] [5m] [6m] [7m] scaffold1088 121550 D 18 ppy mi 164g 88.6 scaffold1141 262270 D 18 ppy mi 896 90.2 scaffold1168 54635 D 18 peu mi 2138 87.5 scaffold1168 56190 …

Software Development perl
Member Avatar for bio-grad
0
413
Member Avatar for lee.j.baxter

Hi, I'm creating a component for a process flow charting system, and have come to the point where I need to implement D&D between components. I have a panel containing expanding lists, where each list item represents a process definition. What I need to do is the following. Altogether, I'm …

Software Development java java-swing
Member Avatar for kramerd
0
228
Member Avatar for tmantix

Hey, This is probably a newb question, but what all can a string type variable hold? Is it restricted to just letters or can it hold things like "/\|;:'><!@#$%^"...?

Software Development c++
Member Avatar for tmantix
0
237
Member Avatar for battlescar

I have a mass of files, all named 1.txt, 2.txt, etc. all the way up to 100.txt in the same directory (let's say C:\Example1) that have come from a website and are either of one of the two following formats: [CODE]"blah blah blah, 1234, blahblah" (Always 4 numbers, as it's …

Software Development vb.net
Member Avatar for codeorder
0
194
Member Avatar for Sunshineserene

Hi all, this is my codes. [CODE]import java.io.*; public class Testing3 { static double[][] mydouble; static int a, b; static double d; static String[] temp; public static void main(String args[]) throws Exception { try { BufferedReader in = new BufferedReader(new FileReader("C:\\Users\\Serene\\Documents\\Major Project\\Alignment Algorithms\\Testing2.txt")); //reading files in specified directory String str, …

Software Development java
Member Avatar for Sunshineserene
0
2K
Member Avatar for hiks

Hi .. anyone can give me a clue about create shortcut path map using java. thanks for advance :)

Software Development java
Member Avatar for kramerd
0
122
Member Avatar for txwooley

My daughter plays FaceBook games and is always asking me to solve anagrams. So I thought I would make a script for her to enter a scrambled word and it would compare it to the built-in spell check dictionary. But this code returns words such as quip and quiz when …

Software Development python
Member Avatar for txwooley
0
376
Member Avatar for Nivass

Hi, I like to add one context strip along with the inbuilt context strip in text box.How can i achieve this...

Software Development
Member Avatar for darkagn
0
127
Member Avatar for centerline00

O.K., I have a project I'm working on. It uses 8 classes (I'm only showing 2 and main). It gives me a "bad_alloc" error when the obj is instantiated. When obj is removed it works fine (or call the personType class that "should" be inherited from extPersonType.) Any thoughts of …

Software Development c c# c++
Member Avatar for Fbody
0
237
Member Avatar for enkidu75

I am making a program for my class where I handle equation problems such as: 2a-3b+5c=10 3a-2b-3c=-5 where the answer would be: 5a-5b+2c=5 This is what I have so far. It still isn't perfect cause I still haven't figured out the "=" part. I do have it performing the math …

Software Development c++
Member Avatar for StuXYZ
0
170
Member Avatar for mrwest321

I need to create a project for college using visual basic 2008 express edition. I have to create a quiz with a login and password facility, so when you run the project the user will have to enter their username and password then be taken to the quiz. How would …

Software Development vb.net visual-basic
Member Avatar for Netcode
0
69
Member Avatar for Naveed_786

Can any one tell me how can i make privileges for user to restrict them and only administrator have all rights. Please help me Thanks in advance.

Software Development visual-basic
Member Avatar for AndreRet
0
126
Member Avatar for chenlynn

please help me.. here's another one.. 2 dimensional array program that computes the sum of data in columns and sum of data in rows. 3x3 array variable. please help me..

Software Development c
Member Avatar for Lesetja Frederi
0
158
Member Avatar for a-humam

[COLOR="Green"]Hello everybody I am writing a mini program in Linux I have a message queue which has a default maximum capacity of bytes that can be written in it. I am trying to modify this capacity. I googled for a solution and tried to change the value of (msg_qbytes) by …

Software Development c queue
Member Avatar for a-humam
0
146
Member Avatar for minimi

[url]http://pastebin.com/aefXKD9w[/url] This is my code. If the command line csv file (for example, input.csv) has the following: Fred 22 Stella 11 Nellie 33 George 11 Violet 33 Rose 11 Bob 33 Lena 11 Billy 22 1) It should first print Fred is 22 years old.. Stella is 11 years old.. …

Software Development java linked-list
Member Avatar for javaAddict
0
188
Member Avatar for kamaamin

I am new in VB 6. I am have created text boxes and trying to add new data to the MS access. Whenever i add new data it replace the already exixting data in my table. I want new data to be entered without disturbing any existing data in my …

Software Development visual-basic
Member Avatar for peter_budo
0
129
Member Avatar for shabadoo

I am using a collection of Workbooks that are supposed to work in sync. When the main "System" Workbook is opened it initializes showing a sequence of userforms which get information from the user to determine how to proceed. One of the options is to "check inventory", when chosen it …

Software Development visual-basic
Member Avatar for AndreRet
0
85
Member Avatar for wobuaini

the question is: Write a method with the signature: [B]public static void printABs(int n)[/B]that prints all the strings, less than or equal to length n, that can be built from the alphabet A,B. printABs must print out its strings starting from the shortest strings and ending in the longest. So, …

Software Development java queue
Member Avatar for leiger
0
99
Member Avatar for Nivass

Hi, I have loaded a web page using web browser in window form. Now i like to paste the text (Using Text box)in the text field on the web page that i have loaded. How can i get this.... Thanks in advance....

Software Development c# web-browser
Member Avatar for Nivass
0
124
Member Avatar for MeandJava

Hello everybody, I'm stuck with my Java program. This is the point. When a user had tried for nine times, the user has the choice to restart Hangman or close the program. But when they hit the y or n key during the game, it's just one of the 26 …

Software Development gaming java
Member Avatar for leiger
0
7K
Member Avatar for dineshcbe

I have a task in c# to send the data in one ethernet and then receive the data in another one ethernet. i don't know how to start. Help me. Thanks in advance.

Software Development
Member Avatar for Momerath
0
100
Member Avatar for Waseem Siddiqui

[B]I had made desktop application using C#.net in which I want to play videos which were encrypted can any one help me to decrypt them. I had tried it in namespace cryptography[/B]

Software Development
Member Avatar for Momerath
0
73
Member Avatar for bklynman01

Hello, I'm writing code that will populate a listbox with the contents of a folder (a list of excel and word files). Naturally, the listbox has all file names with the ".xls" or ".doc" extension included. How can I get rid of this? I have tried [CODE]fileName.Remove()[/CODE] and [CODE]fileName.Replace()[/CODE] functions …

Software Development visual-basic
Member Avatar for AndreRet
0
223
Member Avatar for Jollyyy100

Hi, i'm a student and i needed help in storing all my information from C to a text file. Could anyone help me out. Thank you

Software Development c c# c++
Member Avatar for Adak
0
181
Member Avatar for TheDocterd

Hi there all I'm looking for a way to ensure that users don't exit my application before they complete all outstanding calendar entries. It is a job book application we use in office. The thing is that users only complete the day's entry in the calendar, and then leave the …

Software Development visual-basic
Member Avatar for AndreRet
0
113
Member Avatar for fakiha erum

sir i am being given a task to make a program which evaluate the fictorial of a given number, using loops. please guide me who i could do this

Software Development c++
Member Avatar for Nick Evan
0
159
Member Avatar for atoivan

i need help with a program i am writing a in c++ and Java .a program that when i input a figure like 2345 it will sum the figure up by adding 2+3+4+5 can any one help some one give me some code int a = 0 int i = …

Software Development c++
Member Avatar for atoivan
0
89
Member Avatar for orkuncanbay

I am in search of an online exam program which is to be uploaded on my web-site for my project. However, there will be four levels according to which the questions will be grouped. This application should read questions randomly from a list of questions stored in database. This application …

Software Development java
Member Avatar for orkuncanbay
0
185
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Software Development java java-jsp
Member Avatar for masijade
0
107
Member Avatar for spades0001

Hey guys! I'm back with another problem :( I'm supposed to make a for loop program that will print only EVEN numbers from 77 down to 11. I also need to get their sum and average. By the way here's the code I did: public class Loop_For2 { public static …

Software Development java
Member Avatar for apines
0
146
Member Avatar for jeffpro

I have a program that works on Windows XP but when I try to run it on Windows 7 I get this error. Debug Assertion Failed! File: c:\program files\microsoft visual studio .net 2003\vc7\atlmfc\include\atlcomcli.h Line: 148 Expression: p!=0 I've googled for hours.

Software Development c++ visual-studio
Member Avatar for arkoenig
0
111
Member Avatar for ShontiD

Using Visual Studio 2008...My assignment is to use the file SalesData.txt to load an array of structs, and use the array of structs to show to the screen a control-break report which breaks with each change in salesperson and shows each salesperson's total sales. I have not finished but I …

Software Development c++ file-stream os-x visual-studio
Member Avatar for Ancient Dragon
0
146
Member Avatar for xtra333

Hi people I am currently working to traverse a tree and do an inorder printing of the tree. Problem is my instructor wants parenthesis around the expressions not the individual numbers. [CODE] def printexp(tree): sVal="" if tree: sVal='( ' + printexp(tree.getLeft()) sVal=sVal+str(tree.getRootValue()) sVal= sVal+printexp(tree.getRight()) +' )' return sVal[/CODE] That is …

Software Development python
Member Avatar for TrustyTony
0
309
Member Avatar for RBK_RBK

import java.text.*; import java.io.*; public class Assignment9 { public static double findMin(double[] numbers, int startIndex, int endIndex) { if (startIndex == endIndex) return numbers[startIndex]; else { double prevMin = findMin(numbers, startIndex, endIndex-1); if (prevMin>numbers[endIndex]) return numbers[endIndex]; else return prevMin; } } public static double computePositiveSum(double[] numbers, int startIndex, int endIndex) …

Software Development file-stream java
Member Avatar for jon.kiparsky
0
98
Member Avatar for koushikG

Can anybody help me to do a java awt program in which one frame opens another frame?

Software Development java
Member Avatar for javanub123
0
99
Member Avatar for link00seven

Hi all, I have been asked for a homework assignment to write, in Motorola 68K Assembly, an algorithm to sort an array and place the sorted array into another array. I have absolutely no idea how to do this...I have been working on it but i'm having a hard time …

Software Development algorithm assembly
0
292
Member Avatar for yup790

Hello I'm trying to make a random number generator to work out probability and chance, although it keeps coming up with an ArrayIndexOutOfBoundsException on line 41(roughly). I would be really greatful if you could help! thx p.s.This is not for school[code]/* * To change this template, choose Tools | Templates …

Software Development java java-swing
Member Avatar for leiger
0
178
Member Avatar for flyingcurry

The method below for bubble sort should work, it displays the unsorted array fine, but for the sorted array it only displays one of the numbers. It seems to have just skipped over the other elements in the array. Here is a sample output: [COLOR="Green"]How many random even integers would …

Software Development java programming-construct
Member Avatar for apines
0
177
Member Avatar for PinkyMV

Hi all, I'm new to programming and I am currently taking an intro class that is requiring me to create Wheel of Fortune in c ++. I've made some decent head-way (I think), but I'm still far from getting this right. Here's what I have so far: *NOTE* The function …

Software Development c++ puzzle
Member Avatar for dexter321
0
3K
Member Avatar for douglaspr

Good night, wondering how to get the entrypoint of an executable, and if possible the 32 bits coming after him. grateful.

Software Development pascal
Member Avatar for Duoas
0
90
Member Avatar for getnit

Hi, The Question I would like to ask is, where does Delphi stand in terms of application development tool. I have started my career in Delphi as a fresher and have concerns of its existence in the future. I haven't heard of many people using it and preference always goes …

Software Development career delphi pascal
Member Avatar for Duoas
0
118
Member Avatar for Dhruv Gairola

anyone here knows how to rotate an icon in Java?

Software Development java
Member Avatar for Dhruv Gairola
0
80
Member Avatar for 3FLryan

Hello All: I used to be an avid gamer (since I was 7 or 8 years old until recently, and I am now 24). I played anything but my greatest love was turn-based strategy. Games just weren't doing it for me any more - I felt like I could "see …

Software Development gaming open-source python
Member Avatar for 3FLryan
0
190
Member Avatar for gmfreak1991

Hey i'm doing a project, and i'm at the part where the user must enter a phrase or sentence and it must be compared to the phrase or sentence already imput to the computer via file. I'm asking a user to enter the sentence / phrase using cin.getline, but when …

Software Development c++ puzzle
Member Avatar for gmfreak1991
0
2K
Member Avatar for Lxyslckr

I just need to make sure that the snippet of code is correct. I don't have all the code as I'm still writing it. If it's possible I need help on the assignment. Maybe clues as to how to do it and maybe point to where I can find the …

Software Development java
Member Avatar for Eric Cute
0
218
Member Avatar for baconswife

Hello, for some reason I am having trouble remembering how to make it exit when they push the number 9. Can anyone help me? Also, I need it to repeat rather than at the end saying "press any key to continue" I know I will do this using while (choice …

Software Development c++
Member Avatar for baconswife
0
252
Member Avatar for winmic

Is there any way to set the maximum size of a ListBox (by pixels)? I know that there is a SetMaxSize but it is not enforced.

Software Development python
Member Avatar for phunehehe
0
718

The End.