199,114 Archived Topics
Remove Filter ![]() | |
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: | |
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 … | |
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 … | |
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 … | |
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 … | |
I've heard the word "Literal" many times in Python But I don't understand it ! what does this mean ? Thanks ! :rolleyes: | |
[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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!!! | |
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. | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
| |
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: | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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() … | |
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, … | |
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 … | |
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> … | |
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 … | |
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 … | |
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. | |
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> … | |
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 | |
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 … | |
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 … | |
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 … | |
hello, how to close all open sql server connections from vb.net? please help. | |
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 … | |
![]() | 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? |
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 … |
The End.