199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vuyiswamb

Good Day All i have a Jquery code defined like this [CODE] // Let's add it to textarea this time $(".cnt").focus(function() { // Check for the change if(this.value == this.defaultValue){ this.select(); } }); [/CODE] and i am creating a textbox on fly and after creating it i bind data to …

Member Avatar for stbuchok
0
351
Member Avatar for conan19870619

it's classic traveling salesman problem using dynamic programming. the peseudocode is given : Inputs: a weighted, directed graph, and n, the number of vertices in the graph. The graph is represented by a two-dimensional array W, which has both its rows and columns indexed from 1 to n, where W …

Member Avatar for XDenasdc
0
688
Member Avatar for quartaela

hi there i am working on a memory game project and my main problem is when i start the game user must not see the icons of buttons, when he/she press on a button then the i con should reveal, but some methods like [CODE].setPressedIcon()[/CODE], [CODE].setRollOverIcon()[/CODE] dont work if i …

Member Avatar for mKorbel
0
292
Member Avatar for circles

Hi, I'll preface this by saying I am about as beginner as it gets (the "installed compiler on saturday, open first book saturday night" kind of beginner) Basically, I have a small program that reads the current directory for any file with ".txt" and then opens and scans those files …

Member Avatar for circles
0
205
Member Avatar for hindu times

Hi there, I'm currently adding in a recaptcha to a contact form that I didn't create in the first place, so I've been tentatively working my way around it. For some reason though, every time I complete my form, no matter whether the captcha I entered was right or not, …

Member Avatar for pritaeas
0
267
Member Avatar for Mafia_ir

[COLOR="Green"]Hi there ,[/COLOR] i created a music player with c# , but i have two problems : [LIST=1] [*]If you attention to music files they have a picture (for example : picture of its singer ) how can i access to this image in my app and how can i …

Member Avatar for charlybones
0
215
Member Avatar for whiteyoh

Hi All, I currently have an .htaccess set up to rewrite to a single URL. at the minute it is for places. so mysite.com/region/town will rewrite to places.php i now need to add another, this time for skill i.e. mysite.com/construction/bricklayer and i want it to redirect to skills.php i have …

Member Avatar for pritaeas
0
108
Member Avatar for mihirpatel12

Hey guys .. i want to insert data into data base from my combobox, which parameter should i use in insert query ? example.. insert into login values ('"+ComboBox1. ?????? +"') Thank You in advance

Member Avatar for roottybrian
0
112
Member Avatar for minhviet93

I wonder what this problem is :error C2664: 'mine' : cannot convert parameter 1 from 'int [100][100]' to 'int' 1> There is no context in which this conversion is possible Here is my full program. [CODE]#include <stdio.h> int mine(int ,int,int); int main() { int m,n; int i,j; int u,v; int …

Member Avatar for WaltP
0
222
Member Avatar for morrisproject

Hi I have created a new Recordset which uses the ConveyorNumber to display information relating to a particular conveyor. The recordset should use this from the conveyornumber field on a prevoius page so when history is clicked the hostory of that one conveyor will appear. I have added a Dynamic …

Member Avatar for Nick Evan
0
180
Member Avatar for rchris2121

[CODE]#include <stdio.h> #include <ctype.h> int isPalindrome( char *str, int length ) { if ( length < 1 ) { return 1; /* no more chars to compare, its a palindrome */ } if ( str[0] == str[length-1] ) /* Are the two ends same? */ { return isPalindrome( str+1, length-2 …

Member Avatar for WaltP
0
165
Member Avatar for vlaskiz

So i was in a making of my homework where im supposed to write a program to write (output) 2 tables to .txt file 1) given data 2) calculations that were done with that data. heres the code [CODE] /* L3-7. Turime tekstiniame faile studentų apskaitos sąrašą: pavardė, vardas, įstojimo …

Member Avatar for vlaskiz
0
216
Member Avatar for IanArcher

Here is my website [url]http://projecttower.site50.net/questions/[/url] I have a collapsible panel there that whenever it's clicked it shows a form where you add a question, answer and ID. the first form is for a file on my server called [URL="http://projecttower.site50.net/questions/questions.htm"]questions.htm[/URL] the index.htm file is a live search results page that reads …

Member Avatar for Stefano Mtangoo
0
308
Member Avatar for Buppy

Hi, I'd like some help on this - i have a textarea field, where the user can enter text. The line breaks (\n\r) has to act as real line breaks. So, i've successfully replaced the breaks with the <br /> tag, however, here's the problem - when the user edits …

Member Avatar for diafol
0
83
Member Avatar for eikonal

Hi there, I've got a little script which is not working nicely for me, hope you can help and find the problem. I have two starting files: traveltimes: contains the lines I need, it's a column file. The lines I need are separated by a line which starts with 11 …

Member Avatar for Gribouillis
0
170
Member Avatar for supershame

Hi, Good day. I want to get the attributes of an xml using libxml2 and save it to a stl map in c++? Can someone help me? tnx.

Member Avatar for supershame
0
333
Member Avatar for bantex07
Member Avatar for djmonster

Hello, I have a Java homework that I need to extract the data from ASCII Text file. Here is the ASCII text file [url]http://weather.noaa.gov/data/nsd_bbsss.txt[/url] 72;211;KTPA;TAMPA INTERNATIONAL AIRPORT ;FL;United States;4;27-58N;082-32W;27-58-04N;082-31-33W;8;11; 72;212;KCTY;CROSS CITY AIRPORT;FL;United States;4;29-38N;083-06W;29-37-49N;083-06-31W;13;12; 72;213;KAYS;Waycross / Ware County, Ga;GA;United States;4;31-15N;082-24W;31-15N;082-24W;46;46;P 72;214;KTLH;TALLAHASSEE REGIONAL AIRPORT ;FL;United States;4;30-24N;84-21W;30-23-46N;084-21-20W;25;16; 72;215;----;Peachtree City, Ga.;GA;United States;4;33-22N;084-34W;33-22N;084-34W;262;244; I need …

Member Avatar for hiddepolen
0
589
Member Avatar for PH.Ric

Hello can someone teach me how to delete the selected item in data grid? please i really need it. thanks.

Member Avatar for mokong
0
228
Member Avatar for chemes12

can u help me put codes in the search button pls? here's my program tnx [url]http://www.mediafire.com/?21sprht484fb4qp[/url]

Member Avatar for mokong
0
75
Member Avatar for soft_coder

Hi! I am facing a peculiar issue. I have four update panels in an aspx page and each contains a Timer with Interval increasing by 1 millisecond, each inside a webpart. The issue is the first timer is triggering correctly but when the 2nd timer is triggered then it is …

Member Avatar for soft_coder
0
173
Member Avatar for LiquidSolid

Hey guys, I am making A Vending Machine Program and seem to be getting error's when trying to do things outside a class and stops the Program. (Vending machine should keep looping until Quit is typed, and it will display a summary of money and cans left. [CODE] ******SODA MACHINE …

Member Avatar for Zaad
0
165
Member Avatar for smmcfarl

I am trying to make a program to add, delete, and print a sorted linked list. I have tried many different things and now I am getting a Segmentation Fault so I was wondering what I am doing wrong? Here is my code so far: [CODE]//ItemType.cxx #include "ItemType.h" ItemType::ItemType() { …

Member Avatar for raptr_dflo
0
449
Member Avatar for empyrean

I am trying to find the way to generate bezier curve using de casteljau algorithm for one of my assignment here. I am able to generate bezier curve using normal method but unable to start on generating using the above algorithm. It will be of great help if someone can …

Member Avatar for raptr_dflo
0
2K
Member Avatar for ronthedon

Hello All, I am having a problem making my program display and output correctly. When i run my program my count will display but my word will just give me some kind of line. Can you please help me correct this? Thanks Ronnie [CODE] #include <iostream> #include <string> #include <iomanip> …

Member Avatar for vidit_X
0
216
Member Avatar for Labdabeta

Is it possible to define a union at creation. ie: [CODE]union Colour { unsigned int i; char c[4]; struct{ char a; char r; char g; char b; }col; }Black(0xFF000000),White(0xFFFFFFFF),Red(0xFFFF0000),Green(0xFF00FF00),Blue(0xFF0000FF)/*etc...*/;[/CODE]

Member Avatar for Labdabeta
0
130
Member Avatar for alexanderlegend

Colorbox is a modal window that is jQuery based and is lightweight. I decided to use it in my blogger blog for a one-time subscription box based on the tutorial at: [url]http://www.bloggermint.com/2011/06/how-to-create-modal-subscribe-box-using-jquery/[/url] On a test blog, it worked perfectly. : [url]http://downloads.neuronhub.com[/url] (Ignore the missing images) However, when I tried the …

Member Avatar for Sorcher
0
204
Member Avatar for maple123

Hey everyone, I need help creating a program that will add and multiply polynomials using linked lists. The polynomials that will be added and multiplied by my program are taken from an input file. This file contains the polynomials in the form: 3 2 5 1 3 0 XXX 2 …

Member Avatar for raptr_dflo
0
739
Member Avatar for Nawaf15

Hi everyone, I'm trying to code a calculator that performs the following operations: +, -, /, *, %, ^, !, L ! factorial = x! L log10= log10(x) and im having trouble running the code because of the last three functions. I will post my code and I hope to …

Member Avatar for raptr_dflo
0
411
Member Avatar for moni.

Write a C++ program using DarkGDK with functions that asks the user for a positive integer no greater than 15. The program should then display a square on the screen using the character “X”. The number entered by the user will be the length of each side of the square. …

Member Avatar for moni.
0
100
Member Avatar for korobaton

SO YEH MY problem is its not reading the whole file and inputing it to the stucture.. i believe that the problem lies in the adt.( the last source code on the bottom) in the private adt search function, insert function, and traversal..... ive been wreking my brains out trying …

0
158
Member Avatar for kv79

hello, I want to use this code1 [CODE]#include <windows.h> #include <tchar.h> #include <stdio.h> TCHAR* envVarStrings[] = { TEXT("OS = %OS%"), TEXT("PATH = %PATH%"), TEXT("HOMEPATH = %HOMEPATH%"), TEXT("TEMP = %TEMP%") }; #define ENV_VAR_STRING_COUNT (sizeof(envVarStrings)/sizeof(TCHAR*)) #define INFO_BUFFER_SIZE 32767 void printError( TCHAR* msg ); void main( ) { DWORD i; TCHAR infoBuf[INFO_BUFFER_SIZE]; DWORD …

Member Avatar for raptr_dflo
0
264
Member Avatar for Dwillich87

Hey Dean here again, I've been assigned to make an earnings calculator with user input I'm just having trouble in making the final sum work I just get NaN for an answer [CODE] function getValue() { var values = new Array(239.99, 129.75, 99.95, 350.89); var name = prompt("Enter your name: …

Member Avatar for Dwillich87
0
104
Member Avatar for predator78

Hello first off I appologize if this is posted in the wrong forum and I'm sure if it is a moderator will kindly move it to the correct location. I did try to find a suitable place and this seemed the most logical choice to me, I did also try …

Member Avatar for ret801
0
136
Member Avatar for bennetk2

I am having problem with converting and initializing errors. Any help is appreciated. I am a 2 yr Computer Science major, so be gentle. Here is Code: Sorry its long! [CODE]// Kyle Bennett // CS 318 // Paint Throwing Disturbance #include <iostream> #include <iomanip> // set width and decimal #include …

Member Avatar for raptr_dflo
0
378
Member Avatar for VIPER5646

Hi all I created a RDCL in the designer. I would like the User to Determine what is shown in the Report. How can I change the query at runtime? (ex. changing the customer Name) This is the query that I have in the properties SELECT [Date], Address, Customer, Orders …

Member Avatar for VIPER5646
0
18K
Member Avatar for cwilli23

The US uses a progressive approach to income taxes. Tax rates for 2011 (for singles) are 10% taxable income from 0 to $8,500 15% over $8,500 to $34,500 25% over $34,500 to $83,600 28% over $83,600 to $174,400 33% over $174,400 to $379,150 35% over $379,150 There are also a …

Member Avatar for woooee
0
192
Member Avatar for pseudorandom21

Windows API Can the KEYBDINPUT structure in the INPUT structure be used to send a mouse click? I know there is a different structure for the mouse but I would like to use the KEYBDINPUT structure if possible.

Member Avatar for ret801
0
164
Member Avatar for triumphost

I have a game client that has a button to allow input and when toggled on it will block input.. Thing is sometimes even when u toggle it off, it still blocks user input.. Other times there is an extremely HUGE delay before it accepts input.. I was thinking if …

Member Avatar for ret801
0
224
Member Avatar for ramy84

hello, Below is the program written to enter item description, price and date of purchase. finally it is going to give the total amount. here i wanted to write the output of this program to a file created and saved on the desktop .To create a file, i have used …

Member Avatar for ramy84
0
866
Member Avatar for myrongainz

My teacher showed me something like this with functions but I don't quiet get it. Since, I can't ask him right now...I came here for help. I'm suppose to write a function to display days in a month. This is my first time using functions so all the help I …

Member Avatar for myrongainz
0
165
Member Avatar for trektrak

I really need help on this,I know nothing about ajax.. and I really need this to include in my page this is the original code : - [CODE]<html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="Andy Moore: http://locationdetection.mobi/"> <title>TEST1</title> </head> <body> <div id="geo" …

Member Avatar for trektrak
0
306
Member Avatar for Behseini

Hi, Can you please let me know how I can run two windows form at the beginning of an application which one of them can be something like a "Quick Start" form or "Tip of Day" form and also the main application form which is running at the background and …

Member Avatar for Behseini
0
247
Member Avatar for Gobble45

Hello everyone at DaniWeb, this is my first post here, so please correct me, if i am wrong in asking this question. Firstly, i had a 10minute search amongst Google, and here at Daniweb. But im not entirely sure what to search for. So my question. i have a Python …

Member Avatar for Gobble45
0
924
Member Avatar for SweaterGirl

I'm a beginner, just starting to take a java class! I'm doing this for homework. When I try to run this, it runs- but when it gets to the question that asks "Which kind- Chocolate Chip or Gingerbread Man?" and I answer, it just skips right to the next question. …

Member Avatar for SweaterGirl
0
163
Member Avatar for manhthaodn

I have 3 tables: A, B, C. How to insert 100000 rows into table B, while inserting have data is the random data are taken from Table A and C Thanks for help!!!!

Member Avatar for BitBlt
0
554
Member Avatar for odysseous

Hi, I have a problem with reading a csv file with SQL server UNH+ATOPHOEXEDI+AVLABL' PLD+AII+RE11S' TRV+1+40+DU03+MAN+LCA+20110706:0000:1' ACC+1+SUNNY HILL HTL APTS ?+ POOL 3*:11113+:: PAPHOS+20110706+3:3 STAR++E:1:999' PRC+A:825:3*C:0:1:15+9+5:2475:9:1BDR APT 2/4 INLAND VIEW+2:4++SC: SELF CATERING' TRV+2+40+DU03+MAN+LCA+20110706:0000:7:N:20110713:0000' ACC+2+SUNNY HILL HTL APTS ?+ POOL 3*:11113+:: PAPHOS+20110706+3:3 STAR++E:1:999' PRC+A:4900:3*C:0:1:15+9+5:14700:9:1BDR APT 2/4 INLAND VIEW+2:4++SC: SELF CATERING' . …

Member Avatar for BitBlt
0
227
Member Avatar for asif49

I'm searching a mysql database getting results which match the searched keyword. When the keyword is found within the search string I want to show the searcher that keyword before cutting the showed string down to 500 chars, therefore I move back from the keyword 1 char at a time …

Member Avatar for asif49
0
123
Member Avatar for oberlin1988

I want to randomize a range of numbers without "random.shuffle." Instead it would be using "randint(0, n-1)" If I put in 4 into the function it could return [1,3,2,0] or [3,1,0,2]. I know that starting with an empty list and running through with a while list would work.

Member Avatar for Gribouillis
0
92
Member Avatar for neo_31591

[code] BufferedReader reader = new BufferedReader(new FileReader(strPath)); String line; while ((line = reader.readLine()) != null) { out.println(line); } [/code] My textfile is like: Statement1 Statement2 Statement3 the output i get is: Statement1Statement2Statment3 I need the output as it is..same as the text file...i have tried to identify the newline charc …

Member Avatar for neo_31591
0
786

The End.