132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leverin4

I'm working on a program to find a way out of a series of underground tunnels. The LinearStructure Interface and the Location Class were written for me and I wrote the LinearStack and LinearQueue Classes, and they are working fine (as far as I can tell). My problem comes in …

Software Development java
Member Avatar for BestJewSinceJC
0
121
Member Avatar for vipinsagar

hi any body describe me how to get the form value on a popup to print in java..... i.e i want that value on form come on a new popup window when i click submit button so that i can print these values accordingly

Software Development java
Member Avatar for vipinsagar
0
103
Member Avatar for k2k

my last thread was just solved that i can run my java programs in my linux box. now i would love to know if some one knows how to make a html/xml page that has a link that if i clicked and it would execute my java program. all i …

Software Development html-css java xml
Member Avatar for k2k
0
169
Member Avatar for raseel

hello this is my project to convert from arabic numerals to roman one's and vice versa but i have some problems in it ,dont know what 2 do ??/so pleassse help me 2 know or even 2 correct it thanx alot MODEL SMALL .STACK 1000 ORG 100H .DATA INPUT LABEL …

Software Development assembly encryption operating-system
Member Avatar for rm_daniweb
0
258
Member Avatar for tabooxchanz

Hi guys, I need some help with a project...apart of it requires me to add, delete, edit and view records from a file, I have gotten the add to work so far but it will not delete records from the file, I am wondering if it has to do with …

Software Development c file-system
Member Avatar for tabooxchanz
0
186
Member Avatar for leroi green

hey guys, i've got an 'if' statement that works but i have to change it into a 'loop' statement. i originally chose 'if' because it's easier for me to understand but... it's gotta be a loop. so if anyone could, what would be the best loop style and how would …

Software Development visual-basic
Member Avatar for leroi green
0
75
Member Avatar for SCHarris

I am quite new to C++ and while trying to 'link' functions (methods?) together to make more interesting code. I found that you cannot call a function that is below the function you are calling it from. example: main() { "code" run(); } run() { "code" } This doesnt work. …

Software Development c++
Member Avatar for SCHarris
0
84
Member Avatar for neox183

My homework problem is the following :Write a program that accepts a string from the user and then replaces all occurrences of the letter e with the letter x. I got the following code below that can recognize to find characters and where they are at but I don't know …

Software Development c++
Member Avatar for neox183
0
136
Member Avatar for harshaldhote

hello all, I have to write the code to read the file line by line and sort its words in alphabetical order n store into another file, i have done with the feathing the line from one file but strugling with the sorting part can anybody suggest how should i …

Software Development c
Member Avatar for jephthah
0
386
Member Avatar for M^2

suppose the input file is... 5(number of cells) 1 2 -1 4 0 2 3 4 1 0 3 -1 2 -1 3 1 2 0 1 -1 how will i Write a function to read data from an input file to create a dynamic array of pointers to cells, …

Software Development c++
Member Avatar for M^2
0
109
Member Avatar for tondeuse34

Hey guys, i just re-installed python and began writing a script, when i go to run it a syntax error appears. The syntax error allways points to the quotes i use, meaning something like [CODE]print "Hello"[/CODE] a syntax error will appear and point at the end quote ' " ' …

Software Development python
Member Avatar for adam1122
0
67
Member Avatar for pridathabah

Hi... This is prida thabah doing my MS in Medical Software..... Right now i am working on 5/3 and 9/7 filters, in this i have understand the logic of it. But, regarding the Lifting Scheme on this code i have few doubt, i want to know how they have used …

Software Development pascal
Member Avatar for thoughtcoder
0
152
Member Avatar for vishy_85

hello all , i have to initialize the array of stucture singleIMEIarr to null , using NULL doesnt work , when i assign {'\0'} it doesnt execute. any suggestions at to where im wrong ? [code] struct singleIMEI { string planname; string plandescription; string scriptexec; string startdate; string starttime; string …

Software Development c++
Member Avatar for Ancient Dragon
0
1K
Member Avatar for lancevo3

Hey guys I need to write a function that separates a line into five different individual fields. My first question is how do I set the entire line of input from a file to an array. These are my directions. void dissectCustLine( char *, char *, char *, char *, …

Software Development c++
Member Avatar for nucleon
0
112
Member Avatar for jam7cacci

I'm trying to add all the square root answer but why am i getting this output: -858993430 #include <iostream.h> void main() { int input; int sqrt; int i, sum, add; cout << "Please enter your desire number: "; cin >> input; for (i=1; i <= input; i++) { sqrt = …

Software Development c++
Member Avatar for jam7cacci
0
107
Member Avatar for tintincute

Hi I have a code here composed of Array. I would like to know what does this mean here: (please see last 3 lines) What does it mean? Thanks & regards ArrayList numbers = new ArrayList(); string yourValue; Console.WriteLine("Give the value (b to end)"); Console.WriteLine(); do { Console.WriteLine("Give the value:"); …

Software Development
Member Avatar for tintincute
0
123
Member Avatar for Laik

How to make a new scripting language in C++ ?...I need: parser,scanner,grammar,included functions,syntax.Where I can start?. I think I use JavaScript/PHP syntax.

Software Development c++
Member Avatar for siddhant3s
0
259
Member Avatar for doha786

i am very new in java. anyone pls tell me step by step that how can i make executable jar file for my ListFile.java file .... I made a directory named "Test" where put ListFile.java & ListFile.class file. then i made a "mainClass.mf" file in same directory where having this …

Software Development file-system java
Member Avatar for BestJewSinceJC
0
101
Member Avatar for jam7cacci

I'm trying to do a for loop where in it will count the number of times it will be clicked. For example I have a button where i can click that says purchase. Now, from there I want to restrict it by only once. One purchase and that's all he/she …

Software Development java
Member Avatar for Ezzaral
0
90
Member Avatar for boydale1

I am working on a set class and I have successfully written an insert function, but I need the function to insert in an ordered fashion. [code]bool Set::insert( const EType & A ) { bool Flag = false; unsigned Position = 0; Node * Prev = Head; Node * Curr …

Software Development c++
Member Avatar for Clockowl
0
109
Member Avatar for 6pandn21

Hello guys! I am totally new in visual basic and have got desperately stuck for 4 hours with this problem which I bet is very stupidly simple. The simple program loads a .rtf file in a rich text box and using a textbox and a button, I have to search …

Software Development vb.net visual-basic
Member Avatar for Teme64
0
521
Member Avatar for scrypt3r

You can use rundll32.exe to run a dll as a app, i am using this code [code] Process p = new Process(); p.StartInfo.FileName = "C:\\WINDOWS\\system32\\rundll32.exe"; p.StartInfo.Arguments = "C:\\Dll.dll" //Dll.dll is a simple "hello world" program p.Start(); [/code] but it is not working, any ideas?

Software Development
Member Avatar for scrypt3r
0
95
Member Avatar for 3pid

Hey guys, Well I have a lecture about "Fundamental File Structure Concepts". I`ve read some articles about it and I really have a problem with the File Dump part!and also I didnt find any useful thing about it in internet can anyone please help me?? thanks :)

Software Development c++
Member Avatar for MosaicFuneral
0
75
Member Avatar for Alicito

<email snipped and color code tags deleted> this is the solution for this problem its kinda long and boring ,but it works properly [code=cplusplus] #include <iostream> #include <iomanip> using namespace std; void main() { const int r=4, c=4; int ar1[r][c]; int ar2[r][c]; int sum[r][c]; int prod[r][c]; int s=0, y, x; …

Software Development c++ email
Member Avatar for Ancient Dragon
0
893
Member Avatar for alicem

'bitstream' is an array where each element contains 8 bits, i.e. ['01100000', '11110101' .... ] etc. etc. I want to print out this array to a file so it'll be recognised and can be opened as a jpeg. I have tried the following: [code]output = open('outputfile.jpg', 'wb') for i in …

Software Development python ubuntu windows-vista
Member Avatar for vegaseat
0
172
Member Avatar for PhiberOptik

Hi Guys, I have been googling for a while, I think the problem is I don't know what I'm looking for is called. I want to write a program that watches my screen (I assume it would take screen shots really fast) and then analyzes them finding the moving pixels. …

Software Development java
Member Avatar for PhiberOptik
0
109
Member Avatar for BestJewSinceJC

I'm using the same file menu with the same menu items in multiple places. As such, they should have the same actionListeners etc since the same windows should open when they are clicked. How do I get netbeans to automatically do this (make them all use the same events and …

Software Development java
Member Avatar for Ezzaral
0
103
Member Avatar for konczuras

Hello! I'm trying to add some undo/redo functionality for my app. It deals with many controls, (mostly textboxes, checkboxes and radiobuttons), and I want to write one void for each type. When someone enters to one of them, the Enter event fires, and gets the text, value of the current …

Software Development
Member Avatar for Ramy Mahrous
0
294
Member Avatar for Bladtman242

Hi, im VERY confused about this, and i get a lot of different explanaitions, so now im asking you guys, because you properly know:) What can .net be used for? what is it good for? .net vs. gtkmm? Can i use the .net framework with c++? and how? Thanks in …

Software Development asp.net c++
Member Avatar for Bladtman242
0
423
Member Avatar for everard

I have a program that writes on a text file. I'm using CStdioFile to write on a text file. The problem is, once the writing size exceeds 190kb, it stops from writing and causes the program to not to respond. I tried threading in my application and the "not responding" …

Software Development c++
Member Avatar for Clockowl
0
95
Member Avatar for connoisseurodg

I have been rushing trying to get this done by Monday 2am est. I'm trying to create a new project which consists of at least two classes: a base class and a derived class. The code of your project should include * a composite object * an example of inheritance …

Software Development c++
Member Avatar for Clockowl
0
144
Member Avatar for enuff4life

hopefully its easy. in main class I have got method from proff [CODE=java] private class AddBBQChips implements ActionListener { public void actionPerformed(ActionEvent ae) { addChips( BagOfChips.Flavor.BBQ ); } } private void addChips(final BagOfChips.Flavor flavor){ BagOfChips bag = new BagOfChips( flavor ); System.out.println(bag.toString()); }[/CODE] and from my class "BagofChips" [CODE=java] public …

Software Development java
Member Avatar for JamesCherrill
0
139
Member Avatar for karan_the

Write a JAVA program that generates a "random" (drunk) walk across a 10 X 10 array. Initially the array will contain all periods(".") The program must randomly "walk" from element to element – always going up, down, right, or left (no diagonal) by one element. The elements "visited" will be …

Software Development java
Member Avatar for javaAddict
0
176
Member Avatar for TechnoArt

Can somebody provide me the solution's for below 3 question: 1) Construct a program that is capable of printing the multiplication table for two variables. For example if the user enters x as 5, and y as 6, the multiplication table that will be printed out is as follows: 1*6=6 …

Software Development java
Member Avatar for masijade
0
164
Member Avatar for charlie81

I am getting an error saying NumberOperations can't be instantiated. Here is the code. [CODE][LIST=1] [*]public static void main(String[] args) { [*] // TODO Auto-generated method stub [*] // declare variables [*] int num1, num2, sum, diff, product, average, absolute, max, min, adjusted1, adjusted2, adjustedSum; [*] // Display Program Title …

Software Development java
Member Avatar for knowledgelover
0
173
Member Avatar for nitinmukesh

Hi, How can i find the OS name in C++ on which the program is executed. like Windows 2000, Windows XP or Windows Vista? Thanks for any help.

Software Development c++ windows-vista
Member Avatar for nitinmukesh
0
297
Member Avatar for kehar

Hi, Pl tell me the code to [COLOR="Red"][B]copy the existing table of Access or SQL [/B][/COLOR]and give the [B]new file name to it[/B] from VB6 at Run time without changing the field name. (k. S)

Software Development visual-basic
Member Avatar for rm_daniweb
0
107
Member Avatar for aiosarem

I've been trying to figure this out for a while and figured I'd ask some experts: For a school assignment, I need to create a datebook program. One of the classes is a DateAndTime class. One constructor on the class is supposed to take an unsigned integer and convert it …

Software Development c++
Member Avatar for ArkM
0
4K
Member Avatar for kelechi96

I need someone to explain to me this code step by step: [code=cplusplus] /* File config.txt: num = 123 str = hello flt = 12.2 */ #include <iostream> #include <fstream> #include <sstream> #include <string> using namespace std; struct Config { int num; string str; double flt; string myadd; }; void …

Software Development c++ regex
Member Avatar for Ancient Dragon
0
141
Member Avatar for k2k

I fixed the StackOverFlowError problem from my last thread.. however, my ActionListener is still not working. if any GUI guru here may point out the issue, it would be great. i think this is something very simple and i miss it. [code] //my ActionListener class import java.sql.*; import javax.swing.*; import …

Software Development gui java java-swing
Member Avatar for k2k
0
115
Member Avatar for guest7

Hi, How can i delete the file in the middle of the program in C++ Thanks

Software Development c++
Member Avatar for MosaicFuneral
0
171
Member Avatar for gretty

Hello, I have to make a program that takes in a 2 character & out puts their eqivalent in ASCII Decimals. For example; input = j b , output = 106 98 (ie, j= 106 in ASCII table, b= 98) eg 2; input = J B , output = 74 …

Software Development c++
Member Avatar for Ancient Dragon
0
569
Member Avatar for sivak

i have one serial file n1\n2\n2\n4\n5\n6\........n want to read last file only in above file....can any one tell me how come/

Software Development c
Member Avatar for Aia
0
399
Member Avatar for mbirame

Hi friends, This is my first post here. Please forgive me as I am a complete novice with Python. I have experience with HTML and CSS, but my main gig is electronics...So, please excuse me if I am out of line asking this question here! A friend was helping me …

Software Development google html-css python
Member Avatar for mbirame
0
1K
Member Avatar for Waffles_2411

Help Please!! I made a struct array, and I'm trying to pass the entire array of that object to another function. [code=c] struct Crypt { char english; char code; int count=0; }; void main (void) { Crypt Key[26]; analyze(key); } void analyze(?????????) { int i=0; /*just a sample of the …

Software Development c
Member Avatar for jephthah
0
166
Member Avatar for neutralfox

Hello everyone, I am currently developing a chat application and I want to encrypt all send messages. I am using the example below: [code] import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.NoSuchPaddingException; import javax.crypto.IllegalBlockSizeException; import javax.crypto.BadPaddingException; import java.security.Key; import java.security.Security; import java.security.NoSuchAlgorithmException; import java.security.InvalidKeyException; public class DESCryptoTest { public static void main(String[] …

Software Development encryption java
Member Avatar for neilcoffey
0
646
Member Avatar for redmaverick

[CODE] import java.util.Scanner; public class testcircle { public static void main(String[] args) { System.out.println("welcome"); double i; Scanner sc = new Scanner(System.in); Scanner scan = new Scanner(System.in); String choice = y; while (i<=10) { while (choice.equalsIgnoreCase("y")); { System.out.println("Enter the Radius"); String radius=sc.next(); System.out.println("Enter the Object name"); String Object = scan.next(); if(Object.equalsIgnoreCase("circle")) …

Software Development java
Member Avatar for BestJewSinceJC
0
450
Member Avatar for sautap4u

I want to rank sentences in a text based on weights.. for example i want to extract certain important sentences from a text based on its weights(importance).. please help if possible with an executable algorithm...

Software Development algorithm c++
Member Avatar for nucleon
0
112
Member Avatar for JainishP

I am currently writing a simple program that matches a already written program, with certain specifications that are required. For the most part I have written what seems like working code, but I do have problems. Here is the program that I have to make: [URL="http://mavdisk.mnsu.edu/wangj/lab10sol.exe"]Sample[/URL] 1st problem: When the …

Software Development c++ user-interface
Member Avatar for Clockowl
0
156
Member Avatar for vijaysoft1

this program will replace a substring from the string with a new string . It is working perfect ... [CODE]#include <stdio.h> #include <conio.h> #include <string.h> #include <iostream.h> char *replace(char *st, char *orig, char *repl) { char buff[50]; char *ch; if ( !( ch = strstr( st, orig ) ) ) …

Software Development c++
Member Avatar for ArkM
0
131

The End.