199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ssreevidya.m

Hi, I have web page containing 4 ImageButtons for get new id,delete a record,edit the record and save a record.The three of them worked correctly. But when clicking on the save button, a message of microsoft internet exolorer displayed like this: The Web Page you are Viewing is trying to …

Member Avatar for ssreevidya.m
0
102
Member Avatar for avillachandok

hi, can someone please tell me what is the no. estimated for compares and data moves required by these three algorithms to sort N strings. And what is the order for calculating the time measurement to sort these strings. thanks.

Member Avatar for vmanes
0
125
Member Avatar for sid78669

I have recently been doing an assignment which had us making a text editor. What I was trying to do is to get the terminal screen size so that I could use the coordinates. Can somebody tell me how I can save the environmental variables as integer values? I googled …

Member Avatar for sid78669
0
158
Member Avatar for madurai07

[code] #!/bin/bash # Days and Procs declaration DAYS="3" PROCS="dyyno" # 3 days Old date AGO=$(date --date="$DAYS days ago" +"%b %d") # Getting pids PIDS=$(ps eaxo bsdstart,cmd,pid | egrep "^$AGO"' | egrep "$PROCS" | awk '{ print $4}') # killing the processes echo "Killing $PROCS process created $AGO days ago" kill …

Member Avatar for eggi
0
159
Member Avatar for vivichie
Member Avatar for gpittingale

Hello Again everyone, I have two forms on the same page, i have text input fields and the drop down boxes i created are auto submit boxes i created with javascript. Now the problem is that when form 1 submits itself it resets form 2 and vica verca i am …

Member Avatar for almostbob
0
100
Member Avatar for blizeH

Hi, I'm currently [URL="http://www.daniweb.com/code/snippet794.html"]using this fantastic script[/URL] by Fungus1487 (thanks!) but am having a bit of trouble getting it to detect Saturdays. For example, when I enter a start date as a Thursday, then enter an end date that's a Friday it'll return 1, fine. If I enter a date …

Member Avatar for essential
0
120
Member Avatar for JackDurden

Im trying to make a circular queue. Why does empty keep saying my q is empty? [CODE]using System; namespace CQueue { class Program { static void Main(string[] args) { List queue = new List(); Double number = 9.13; queue.Enqueue(number); queue.Enqueue(number); queue.PrintQueue(); } } } class List { object[] thisIsQ = …

Member Avatar for Ramy Mahrous
0
113
Member Avatar for rosenberg_a

I have a header file and a cpp file that i cannot get to compile. The exercise in the book states i need to make a static char of the months. But for some reason i am having trouble initializing the static char[12][25] array for the 12 months. Getting error …

Member Avatar for Ancient Dragon
0
152
Member Avatar for winrawr

I'm using a windows port of gcc, g++, etc. as a compiler. How would I compile a DLL, and define/use its exports? Can I compile header files, classes, etc. into a DLL or only functions? Can DLL functions call functions in a program, or is it only one-way? For example, …

Member Avatar for Ancient Dragon
0
139
Member Avatar for nor_d83

Hello everybody.. Here I have a question regarding my “Budget System” project. It’s about to link the annual budget amount (txtBudget) from form 1 to the (txtBudget) in the form 2. It means that the system user have to set the value txtBudget in the form 1, so that it …

Member Avatar for nor_d83
0
143
Member Avatar for mzd12111

hi there pals. i am writing some codes for a scaffolding application. consider i want to implement : [IMG]http://ce.sharif.edu/~zamanian/untitled.JPG[/IMG] when user click in Delete Link, DB delete that row and make it disappear from the page with Ajax. i put the whole table on one DIV , and i want …

Member Avatar for Luckychap
0
123
Member Avatar for OWL76

Hey guys, complete noob, been trying to figure out how to wrap my head around cffile for a couple of weeks now. I can get a file to upload to the server, even change the name once saved. But i am having problems entering the data into my database.any help …

Member Avatar for danarashad
0
146
Member Avatar for Phil++

Hey there, the problem that I am having is that I'm trying to make a simple scripting language that is coded in notepad, then opens the Engine and it displays the code in a console window. I am currently stuck at displaying text on the screen, if I enter a …

Member Avatar for StuXYZ
0
112
Member Avatar for gpittingale

Can anyone please help here I have a form that i wish the user to select a product from a drop down box and then query it in a mysql then i would like to the user to input a number in the next field the press the submit button, …

Member Avatar for Fest3er
0
140
Member Avatar for serkan sendur

swap.h : [CODE]#pragma once class Swap { public: Swap(void); public: ~Swap(void); public: void SwapNumbers(int & number1, int & number2); public: void SwapNumbersViaPointer(int * pNumber1, int * pNumber2); };[/CODE] swap.cpp : [CODE]#include "Swap.h" Swap::Swap(void) { } Swap::~Swap(void) { } void Swap::SwapNumbers(int & number1, int & number2) { int tmp = number2; …

Member Avatar for serkan sendur
0
168
Member Avatar for rosenberg_a

[CODE] const char *getName() { return name; } [/CODE] Looking at the following code which is a member function of a class, why would one pass the array of a person's name as a pointer and lock it so it cannot be modified when they can just pass a copy …

Member Avatar for StuXYZ
0
154
Member Avatar for Sam_Surrey

Hi everyone, im not competely new to C++ but we are being asked to create a new program for converting celsius to farenheit which is an easy code set, but we have to create it using seperate units, which i have to admit is massivley confusing me ! [code=cplusplus] #pragma …

Member Avatar for ddanbe
0
138
Member Avatar for gsingh2011

Hi, I'm a beginner at VB.NET and I want to know how to change the appearance of a form when you click a button. Basically, I have a table that holds information. The user can choose between this table view or a preview. If he chooses preview, the table will …

Member Avatar for Ramy Mahrous
0
111
Member Avatar for rickarro

Hey All, I've got a web page that displays multiple boxes of text using php. The text are coming from .txt files instead of using a database to store the data. I can update these text files when I want to change the information. My problem is that I need …

Member Avatar for almostbob
0
217
Member Avatar for serkan sendur
Member Avatar for real_castilla

Hi all, I'm a newbie with C or C++. I have a raw PCM file 16-bit (like a wav file but no header). I need to build a console application that can read the file, store data in an array, modify it (ex: add 100 to each value of the …

Member Avatar for rafi867
0
4K
Member Avatar for subhas.236
Member Avatar for death_oclock
0
107
Member Avatar for devlin021

Hey all Iam new to programming, so please help me with my problem.... I want to take voice input into a Java program and save it in the form of string....?? Plesae help..

Member Avatar for devlin021
0
123
Member Avatar for daviddoria

[code] double P = 3.5/(.1 * sqrt(2.0*3.14159)) * exp(-pow(5.0,2) / (2.0*pow(.1,2))); cout << P << endl; if (P==0) cout << "P is zero!" << endl; [/code] Is this underflowing so it is getting rounded to zero? The problem is that I am taking the log of this, so if it …

Member Avatar for Rashakil Fol
0
116
Member Avatar for dmanw100

I'm having a pretty weird logic error. It seems that this code is always ending my arrays with 3. It should (being a recursive function) iterate through 0, 1, 2, 3. My test array is of length 4 but I am completely missing the reason. Can anyone else see the …

Member Avatar for dmanw100
0
145
Member Avatar for tania khan

[QUOTE=ardav;788833]This sounds like a clear cut research job that YOU should be conducting for your coursework (or whatever). BTW This is a pHp forum[/QUOTE] [code] Hi I need your help in my project of "online examination”. I am developing this for my lab. backend: sql server 2000 front end: ASP …

Member Avatar for peter_budo
0
132
Member Avatar for sierrasoft
Member Avatar for skisy

Now I'm fairly sure this is a simple answer. And I am sure at some point I knew the answer to this question but I just can't remember it. All I need to do is only allow the users to add new records, I am not using a datagrid rather …

Member Avatar for Ramy Mahrous
0
97
Member Avatar for flipjoebanana

Hello, I am trying to as the title says within linux environment within my C program this is what I have so far: [code] int file_out = open(filename_var,O_RDWR|O_CREAT); if((child_pid = fork()) >= 0) /* successful fork */ { if(child_pid == 0) { /* Child process */ close(1); dup(file_out); close(file_out); f(execvp(command_var,command_args) …

Member Avatar for csurfer
0
79
Member Avatar for daviddoria

I wrote a pause function: [code] void Pause(void) { printf("Paused...\n\n"); fgetc(stdin); } [/code] It generally works fine (hit enter to continue). But one program doesn't seem to want to stop at all... [code] if(P == 0) { cout << "P=0!" << endl; //just as another attempt to stop it , …

Member Avatar for Nick Evan
0
150
Member Avatar for love_dude1984

hello frendz.. Well, im a beginner in Asp.Net.. im using a win vista home premium & also installed IIS,Visual studio 05. I created a new web site using a Location as HTTP. my prob is whenever i try to run the website, it gives me the error shown in the …

Member Avatar for love_dude1984
0
118
Member Avatar for sskelton

I'm trying to make the data display as compact as possible so thought to use response.write (data) & "<br/>" instead of using a gridview or detail view. this sort of works (I can get something out of the DataTable) but the output is from the top of the page, which …

Member Avatar for Comatose
0
82
Member Avatar for SubProf

Hello Everyone, I have three forms, Form1, Form2 and Form3. Form3 runs first and has a button that when clicked runs Form 1 and a webBrowser window. Form1 has two buttons. When one is clicked it runs Form2 and the other button calls a function in Form3. Form2 has two …

Member Avatar for Ramy Mahrous
0
204
Member Avatar for Rashakil Fol

From [url]http://www.daniweb.com/forums/thread172120.html#post791196[/url] : [quote=Ezzaral]On a side note, never throw exceptions from main(). Use a try-catch block.[/quote] Why?

Member Avatar for ~s.o.s~
0
151
Member Avatar for The Idiot

I’m building a tagger that searches through a corpus of IM data and tags any instances of words that occur on a wordlist. I've run into a problem and was hoping to find help. I'd like to try and understand exactly why it's not working, so I've laid out everything …

Member Avatar for The Idiot
0
92
Member Avatar for gpittingale

Hi everyone i cant seem to get my drop down boxes to retain the data the user selected is this code right? [CODE]<select name="bap1" id="bap1" onchange='this.form.submit()' value="" > <option>Select One</option> <option value='Energy Efficient Cooking' <?php if($_POST['bap1'] == 'Energy Efficient Cooking') echo "selected"?>>Energy Efficient Cooking</option>[/CODE] Tahnks in advance anyone!!

Member Avatar for gpittingale
0
93
Member Avatar for Wiizl

I have written windows application for managing specific win service. it can start, stop install and uninstall. also i have setup project ( in the same solution of course). the problem is that after i uninstall the application (add/remove programs) the service of course remains in the service list, if …

Member Avatar for Wiizl
0
176
Member Avatar for caroll

sir, pls help me to write a coding in c for algebraic reconstruction method..... 1 2 3--------->6 4 5 6--------->15 7 8 9--------->24 | | | | | | | | | 12 15 18 Its a three dimensional one in dat first row addng threenos get into 6 and …

Member Avatar for devnar
0
161
Member Avatar for EvilOrange

I have written this Parser for a formal grammar, to me it looks like it should be ok but when i tried to run it a Segmentation Error comes up - i have run valgrind its got leaks but it does come up with an error. Can anyone spot what …

Member Avatar for mad93
0
124
Member Avatar for are_nice

can u give me an example of a program like this? write a program that allows the user to play the game called the secret number with the comp. the user will try to guess the secret number, a number known only by the comp. this secret number is an …

Member Avatar for Nick Evan
0
69
Member Avatar for adarrell

Hi, I have been trying for several hours without success to write a function that takes a filename, opens the corresponding file, populates a std::vector<double> with values from the file, and returns the std::vector<double>. I can't get past the passing the filename stage unfortunately, despite reading about this here there …

Member Avatar for Nick Evan
0
209
Member Avatar for mona515

Hi, I'm new to the whole programing world, so I'm a bit lost. The problem is: Enhanace the "BankAccount" class by, 1.) Rejecting negative amounts in the deposit and withdrawl methods. and 2.) Rejects withdrawals that would result in a negative balance. (Simply return from the method without modifying the …

Member Avatar for Ramy Mahrous
0
116
Member Avatar for Anandmahalakshm

i want to Call a Div tag in validating a form.....that means i need a div call at the onblur condition....in that time i want to recieve a msg like this username is already exits....like that

Member Avatar for diafol
0
111
Member Avatar for skaterz

Hello, I have a script written in C# (.NET) and within this script I have an IF statement and when this IF statement is TRUE I want to execute the following external script that I placed just under the </head>: <script id='name' type='text/javascript' src='https://xx' integration='jscart-wizard'></script> How can I do that? …

Member Avatar for LizR
0
143
Member Avatar for AaMar

Hello! Experts i want to build an app like dictionary (e.g Babylon, Urdu dictionary). Only one text box and button when i wrote a word in text box and click button then display meaning in other label. I confused. Thanks

Member Avatar for Ramy Mahrous
0
93
Member Avatar for nikesh.yadav

Hi Can Anybody can give me code for hotmail / live id friend importer and send mail to friend...

Member Avatar for nikesh.yadav
0
109
Member Avatar for ishaanarora

Suggest a nice college project for subject named Object Oriented software engineering ...preferable coding language is C++.............

Member Avatar for Freaky_Chris
0
120
Member Avatar for atsirk

hello guys, am a newbie here.. and i just want to ask for some help.. if any1 knows more on visual basic and how can i interface it with some hardwares (e.g. 7seg, LED, fan, Buzzer) some stuffs like that. Can you help me understand how can i make a …

Member Avatar for cguan_77
0
131
Member Avatar for hieuuk

If you’re an enthusiastic developer, sure you have done a lot of personal projects. The problem is that what you will do when you want to start a serious medium size project (which could take month(s)). I don’t think there is a best way to start a project however there …

Member Avatar for LizR
0
109

The End.