199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for s0312001

Hi guys, can anybody tell me how to add a log file??? when the user finishes using the application I need, the info that is recorded in the textbox to be saved in a log file, on the desktop. :rolleyes:

Member Avatar for s0312001
0
89
Member Avatar for manar

hi i finished writing c# algorithm that is applied on a '24 bit depth' bitmap image that i called from file, and it was success; but when i apply the algorithm on a 32 bit depth image a break while running occur which is : " Value does not fall …

Member Avatar for manar
0
232
Member Avatar for ben1977

I'm trying to write a Java application that will read five double values and find the total, average, minimum and maximum of the values entered. For some reasons after trying to find what wrong with it it's still not building. I'd appreciate someone's expertise on the matter. import javax.swing.JOptionPane; class …

Member Avatar for ben1977
0
168
Member Avatar for letmec

Hello, I am using VB6.0 and crystal report8.5. my problem is that my report is not behaving dynamically. Iam using MS-ACCESS database. Some of my may help you figure out. [CODE]Dim conn As ADODB.Connection 'CONNECTION TO BROKER QUERIES Dim rs As ADODB.Recordset 'HOLDS ALL DATA RETURNED FROM QUERY Dim crystal …

Member Avatar for aparnesh
0
107
Member Avatar for carryyb

Hello Can I get 20 pictures opened from visual basics, for example I have a list box with the name of the pictures, unfortunately I cannot open none of them, can someone please send me some code, all I want to do is have a right and left arrow, and …

Member Avatar for pattyandme
0
192
Member Avatar for thare

I've heard the word "Literal" many times in Python But I don't understand it ! what does this mean ? Thanks ! :rolleyes:

Member Avatar for vegaseat
0
117
Member Avatar for Acidburn

[code] #include <iostream> #include <string> #include "scanner.h" using namespace std; void program(string &sym); void body(string &sym); void stmt(string &sym); string sym; int main() { openfile(); sym = getsym(); program(sym); return 0; } void program(string &sym) { stmt(sym); //cout << sym; if(sym!="$") { cout << "Parser failed" << endl; } else …

Member Avatar for HackWizz
0
97
Member Avatar for nathanpacker

Hi everyone. I'm trying to start a website that will host a large number of files to be downloaded. I need a download manager of some sort that will allow me to post links automatically in some sort of alphabetical order, linked to the files to directly download. Creating html …

Member Avatar for junaidzamir
0
262
Member Avatar for Young Teck 06

I am kind of having some problems, I asked on dBForums but nobody responded, guess its safe to say... soooo much for their knowledge of knowing things: I have 2 scripts running on my site, one is an ASP.NET Storefront and the other is a database manager (since technically I …

Member Avatar for Young Teck 06
0
183
Member Avatar for rcasinillo_s

I retrieved data from database, output to a form thru loop after that iwant to change something and then i will send it back to the data base for update here is the output datails so that you will the idea what iwantl. [URL=http://www.nwafh.med.sa/eng/php/progs/edit_book_test.php]http://www.nwafh.med.sa/eng/php/progs/edit_book_test.php[/URL] Thank you in advance Roland

Member Avatar for rcasinillo_s
0
98
Member Avatar for Tigerdude

I'm working on yet another graph problem. This time, we have to sort it topologically, using a DFS Based algorithm. I've been able to write most of it down, but there is one for loop that confuses me. Our instructor did not make it very clear as to how it …

Member Avatar for Tigerdude
0
261
Member Avatar for mixthis

to all, I'm a newbie to vb.net, currently I'm using vb.net ver. 2003, I'm trying to add a clock to my project. The following is what I have: Dim timer1 As Timer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load timer1.Interval = 10000 Timer1.Start() End Sub …

Member Avatar for FPForum
0
102
Member Avatar for degamer106

I wrote a program up with linked lists that creates a circular list containing 9 nodes. Each node contains a number (ranging from 1-9) as an item. My question is...in the while loops, how does [CODE]x = x->next[/CODE] cause the pointer to move across the list? [CODE]#include <stdio.h> #include <stdlib.h> …

Member Avatar for Drowzee
0
101
Member Avatar for iamboredguy

for my project, I need to generate an n*n matrix (n is user input) with numbers from 1 to x (x<n) positioned randomly. I tried implementing it with this code but it doesnt seem to work. x = n*n - number of holes. the number of holes is user input …

Member Avatar for iamboredguy
0
199
Member Avatar for softwarecaz

Hello. I am doing one of my final year assignments; I have done most of the assignment, but am a little confused on some part of the code, as you may be aware I cannot put the code on line due to other students having a look. I would really …

Member Avatar for Comatose
0
136
Member Avatar for Chrisms

Alright. i'm hoping someone out there knows the answer to my question and is willing to help. I'm intrested in building my own periphial, and then writing a program to control it. The actual hardware part is easy enough once i figure out how to get my computer to communicate …

Member Avatar for Chrisms
0
303
Member Avatar for princess_lia

Hello everybody, I have recently joined this forum. I am facing a problem of which I cannot see any solution anywhere. :sad: Please help. I am trying to write a C program in MSDEV(VC++6.0). [B]My problem is "FindFileData.cFileName" is picking only the first letter of the existing filename, and so …

Member Avatar for Ancient Dragon
0
285
Member Avatar for gropedersen

Hi all, I am working on an assignment on creating a program that recognizes whether an expression has balanced parentheses or not. The program has to use ADT (Abstract Data Type) stacks. The user should input all data in form of an algebraic expression, fx (a+b)/(d-e) or ((a+b). The program …

Member Avatar for Lerner
0
753
Member Avatar for c_est_la_vie

already done the TIO one as follows: do { dStr=JOptionPane.showInputDialog("Please enter "+name+"'s demand:"); d=console.nextInt(); if (d<0) System.out.println("Demand can't be negative."); }while(d<0); but don't know how to transfer it into GUI style? anyone can help me? Thx!!!!

Member Avatar for Dark_Omen
0
101
Member Avatar for fdrage

Hi, How do you go about in creating a direcory folder? I've been playing around with class [B]File [/B]which has the method [B]mkDir()[/B] (no arguments and returns type boolean), which i thought would be the answer to making a directory but apparently not, or perhaps i just dont understand it.

Member Avatar for jwenting
0
121
Member Avatar for lsu420luv

I am completly lost with arrays. I have scoured my book and the exaamples it gives are way to simple. I can wrerite them like those in the books, but I cannot seem to get the real problem to work. Also I am doing ifstream and ofstream so I cannot …

Member Avatar for Lerner
0
667
Member Avatar for lanario

I need to validate the numbers 1-16 within the given array. Any numbers that are duplicate or are outside of the range need to be outputted. While if all numbers 1-16 are inputted only once then the boolean value is true. The numbers for the array theSquare are inputted previous …

Member Avatar for WolfPack
0
244
Member Avatar for TomCo

Hi, I’m doing a little project at the moment that’s centred around the optimisation of insertion sort. I removed the various stalls when possible, made various modifications and unrolled some loops. I got it down to about 14927 Cycles with a CPI of 1.007 when sorting 100 elements. Is this …

Member Avatar for TomCo
0
417
Member Avatar for Dani

[b]Necessity for Repetition [/b]Loops allow particular segments of code to be executed over and over again. For example, suppose a program wants to keep doubling the value of a number until a boolean condition is met. Or suppose one simply wants code to execute a set number of times. Repetition …

Member Avatar for anupam_smart
0
374
Member Avatar for degamer106

How do I make selection sort work with strings in a structure?? My compiler doesn't seem to like my variable assignments under the show_alpha() function. :cry: [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #define SMAX 12 #define LEN 20 #define EMPTY 0 void show_empty_num(struct data *); void show_empty_list(struct data *); void …

Member Avatar for Micko
0
210
Member Avatar for gampalu
Member Avatar for anupam_smart
0
91
Member Avatar for frank1984

Hiiiii :) iam new member from saudi arabia and i need help for my program in c language ,the out put dont perform the operation of linklist please help me :rolleyes:

Member Avatar for Salem
0
153
Member Avatar for jclui

pls help me on this problem: "Allow a user to accept a positive even number. Number is distributed around the loop. The sum of two consecutive number is a prime number." hope for you all to help me,, im graduating student, i need to do this problem, for me to …

Member Avatar for mrmike
0
182
Member Avatar for olddocks

I have a very weird problem. I have a site where a php gd library script dynamically generates gif/png images as a bar indicator. These images i have checked are about 76 bytes each. Yet it loads slowly. Earlier, i used mod rewrite to rewrite my url as a pure …

Member Avatar for olddocks
0
93
Member Avatar for jglw

Can anyone tell me why the following ligitimate code does not work, creating a linked list of characters from stdin? struct Nodec { char element; Nodec *edge; }; void Nodecin(Nodec *N) { char c; Nodec *tmp; if (N == NULL) {N = new Nodec;} tmp = N; do { c …

Member Avatar for orko
0
278
Member Avatar for jcmoles

First of all, let me say I am new to this forum. It has been a while since I attempted any programming. I have used vb.net, HTML, vbscript, and javascript in the past. Here is my problem. I am wanting to make a web page with pictures, under the picture …

Member Avatar for Techscrip
0
153
Member Avatar for lanario

I need to validate the numbers 1-16 within the given array. Any numbers that are duplicate or are outside of the range need to be outputted. While if all numbers 1-16 are inputted only once then the boolean value is true. The numbers for the array theSquare are inputted previous …

0
87
Member Avatar for wsafdbv

For a major simulation project in our lab, we are receiving a series of integers from the lab equipment (note: we usually have in excess of 100 numbers per simulation). These numbers represent some actions of an ant colony. We need to return the number of elements in the largest …

Member Avatar for Phaelax
0
133
Member Avatar for skalra63

[U]what i want it to do : [/U] enter a barcode search grid if [I]barcode exists [/I] then increase Quantity by 1, recalculate subtotal, set vIndex to last row. if [I]barcode does not exist[/I] then search database for data, insert data ( getProduct, currently working) [U]current code[/U] [CODE]Private Sub searchItems() …

Member Avatar for skalra63
0
691
Member Avatar for tripnip

I'm completely new to Java, and programming in general, and I'm trying to do something that I thought would be simple but I'm stumped. I probably did something wrong thats obvious to other people but not to me. I'm trying to display a GPA after you put in the grades, …

Member Avatar for tripnip
0
207
Member Avatar for KaRy
Member Avatar for janito2008

April 6, 2006 I have school project that I am working on. I got it to run and it displays the first form. The problem is that I am having trouble figuring out how to get to to display all three forms I need. Here are the 3 forms: 12/25/2005 …

Member Avatar for Ancient Dragon
0
160
Member Avatar for HelpMeImLost

Hey guys How can I input a data field into a class Is it with the use of ([I]int[/I])? Here is the question [B]Design a job class with three data fields--Job number, time in hours to complete the Job, and rate per hour charged for the Job.[/B] [I] #include<iostream.h> #include<conio.h> …

Member Avatar for HelpMeImLost
0
113
Member Avatar for Roadkill

just wanted to say heya to everyone first, ok im doing a C++ assigment on linked list but im stuck. i need to write a program that reads records from a text file and then stores them in a linked list. i can read the data from a text file …

Member Avatar for Roadkill
0
107
Member Avatar for Saint48198

I'm having trouble with a program. The program needs to do a selection sort of last names. I have the program sorting the names correctly, but I can not get the correct first name to appear next to its last name. I've tried a loop and either get the same …

Member Avatar for Saint48198
0
170
Member Avatar for jax_123

i want to develop a c program from which i can lock the dos commands. example. when user enters a dos command, it request for a administrative password. after providing password, it executes that command.also, it facilitates to lock and unlock commands of dos.

Member Avatar for Ancient Dragon
0
77
Member Avatar for darylesha

Hey ya'll, I am working on this assignment that has me that is as follows: /* Modify the following shell sort to use the fibonacci sequence, instead of the sequence h = 3h+1. Hint use dynamic programming to do this. */ #include <iostream> using namespace std; #include <stdlib.h> #include <fstream> …

Member Avatar for SpS
0
602
Member Avatar for jlouang

ok so i need to make a program that where the user enter a day, month, year. has to be 3 ints, functions must display months name I have no clue where to start

Member Avatar for jlouang
0
373
Member Avatar for timbajaj

Hi I am new to web designing and need some advise I don't know whats the best web desiging tool/software in the market. I have heard dreamweaver is good but its too complicated, is there any other tool that is good. I am looking for something that is easy to …

Member Avatar for Lafinboy
0
124
Member Avatar for Acidburn

hello, ive got my code but ive split it up. however i keep getting the following errors: [quote] --------------------Configuration: main - Win32 Debug-------------------- Compiling... main.cpp interpreter.cpp D:\language systems ica\interpreter.cpp(16) : error C2065: 'Code_table' : undeclared identifier D:\language systems ica\interpreter.cpp(16) : error C2109: subscript requires array or pointer type D:\language systems …

Member Avatar for Lerner
0
233
Member Avatar for ljegal

I have a shell script, /path/adir/script1.sh, that calls another script, /path/bdir/script2.sh. Now, I am in the directory /path/cdir/, and I call the first script like this: ../adir/script1.sh The problem is that script2.sh cannot be found. In fact, even if script2.sh is in the same directory as script1.sh, the same problem …

Member Avatar for datrinite
0
166
Member Avatar for oak
Member Avatar for Spasticmoose

Hi, i was wondering if anybody could give me sum help with ideas for programs. Ive been programming in c++ for a while, but im not really very advanced yet. At the moment im making things to output random messages, like a magic 8 ball, using arrays, but thats getting …

Member Avatar for Spasticmoose
0
173
Member Avatar for Geek-Master

What is the best approach to scan a file if you are looking for more than one pattern. Lets say you have a text file "example.txt", and you want to search for an array of strings {"error", "warning", "failed"} within the file. What is an efficient way of doing this?

Member Avatar for Lord Soth
0
103
Member Avatar for chaom79

Hi guys, this is like a continuation from previously coding that i've posted here in this forum. Now, when I'm tried installed it at Windows 2000 platform, with 128MB RAM,and Pentium III processor, this error occured; Fatal error: Maximum execution time of 30 seconds exceeded in c:..\virus\index.php on line 81 …

Member Avatar for chaom79
0
135

The End.