199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hprem991

Hi All, I am designing a web page using JSP / JDBC / JavaScript and apache tomcat 5.5. There seems to have a major issue after few page request. Initially, all pages respond was excellent but after few ( 10 - 15 ) requests, the respond time drops to minutes …

Member Avatar for harinath_2007
0
103
Member Avatar for Daigan

for (y = 1; y < num1 + 1; y++) { for(x = 1; x < num2 + 1; x++) { if (y >= 1 && y <= 4 && x >= 1 ) { printf ("%d x %d = %d", y, x, y*x); printf (" || "); } else …

Member Avatar for Vish0203
0
159
Member Avatar for JasonWung

Hi, Can someone tell me how to make this. I have winform wich read from file and make post request to web. I want to have one textbox where i can put time betwen every request. for example: I run my app and read whole file with(1000rows) and 2sec delay …

Member Avatar for JasonWung
0
288
Member Avatar for Vish0203

Hello everyone! I tried a lot to understand the spacing procedure in pascal triangle.. but it all went to vein!! Does anyone knows about this spacing??? Why are we using this loop: for(x=40-3*y;x>0;--x) printf(" "); need help ASAP!!

Member Avatar for Vish0203
0
342
Member Avatar for blaaam

Hi! I have started learn about Query and PHP, and i don't know what to do next. I have made table with query help i can show in table records from my Database, so far i have well, but next what i want to do is every record in table …

Member Avatar for Biiim
0
325
Member Avatar for resiak

i'm an IT student. Our Instructor gave us assignment to edit and delete txt file. how to edit and delete text file in java? can you give me the code ?

Member Avatar for DavidKroukamp
0
227
Member Avatar for rdhiravani

Hi, I have a swing application which works on CSV file. It reads full file line by line, computes some required statistics and shows output. The Upper part of output screen shows each record from file in that order in JTable, whereas lower part shows statistics computed based on that …

Member Avatar for JamesCherrill
0
174
Member Avatar for rajesh1158

public class Twisty { { index = 1; } //need clarification here int index; public static void main(String[] args) { new Twisty().go(); } void go() { int [][] dd = {{9,8,7}, {6,5,4}, {3,2,1,0}}; System.out.println(dd[index++][index++]); } } In the above code, inside the instance initialization code, index is used. But it …

Member Avatar for JamesCherrill
0
149
Member Avatar for Rage A Lot

Having issues fixing these issues: error LNK2019: unresolved external symbol "public: __thiscall grid::grid(void)" (??0grid@@QAE@XZ) referenced in function "void __cdecl `dynamic initializer for 'GridObject''(void)" (??__EGridObject@@YAXXZ) F:\Dev103\thermonuclear war game\thermonuclear war game\Grid.obj error LNK1120: 1 unresolved externals F:\Dev103\thermonuclear war game\Debug\thermonuclear war game.exe 1 //header file #include <iostream> using namespace std; class grid{ int …

Member Avatar for mitrmkar
0
668
Member Avatar for FrodoBaggins

Hi people I have coded a data-based website in asp.net, and want to run it on a lighttpd webserver using debian as the host os I am wondering how to set up mono and allow my Databases to be read and written to I have read through this: http://www.mono-project.com/FastCGI_Lighttpd and …

Member Avatar for diafol
0
217
Member Avatar for pjh-10

how do i get output which would normally appear on the screen, as in the Microsoft visual studio command prompt, written to a file such as a simple text file. say << X << is the output, what do i do from here? thanks

Member Avatar for BobS0327
0
491
Member Avatar for Esmerelda

I just want to know the exact difference between intialising and assigning a variable. Is it possible to initialise a variable multiple times in C prog or is it just initialise once n assign all the other time...can somebody help me out please.

Member Avatar for WaltP
0
102
Member Avatar for Farhad.idrees

Hi Friends... i just want to make chat in php like "Online help chat" for different website... can anyone guide me where i can get material? Regards... Farhad

Member Avatar for breakzzzz20
0
111
Member Avatar for Sonia11
Member Avatar for MarPlo
0
80
Member Avatar for needhelp919

An office furniture company sells furniture in three colors: red, black and green. Every item in their inventory system has a 5-character code. The last two characters are always used to represent color. If an item is red, the last two characters are “41”. If an item is black, the …

Member Avatar for WaltP
0
134
Member Avatar for FraidaL

This code is just a function in a bigger code, but I'm having a problem with the break. I'm not sure I'm doing it right, but basically if the factors are zero, then the program should say the equation can't be factored. It does that, but then continues through the …

Member Avatar for zeroliken
0
111
Member Avatar for phorce

Hello, I'm trying to determine where a small matrix would fit inside a big matrix.. But, the small matrix is not in the big matrix so I need to see how simular they are.. The one with the lowest value, is the best fit.. So my difference function is this: …

Member Avatar for Lerner
0
160
Member Avatar for hay123

I am fairly new at C++ and Im having a lot of trouble understanding how to do it. This is part of a homework assignment due next week and I have no idea how to even start it (much less finish coding it). Can anyone out there help? ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Create …

Member Avatar for rubberman
0
153
Member Avatar for Hektik1

Hey guys, I am trying to make a program that allows you to input music artist into an array. The array row length is dependent upon a number entered by the user. There are only three column. I am having trouble with a line inside the for loop printing twice …

Member Avatar for Hektik1
0
179
Member Avatar for phorce

This may sound really noobish, and I'm probably missing something really stupid.. But, I'm trying to calculate the differences between matrices, and the one with the smallest value (result) is the matching number.. But, for some reason my algorithm seems to be missing the smallest number and I can't figure …

Member Avatar for rubberman
0
115
Member Avatar for baseballer

I am trying to write a program that will allow the user to search for a first or last name within a document full of people's names, and respond with the position of that name within the .txt file. What I have right now keeps returning -1 for the position …

Member Avatar for NormR1
0
223
Member Avatar for sofia85

Hi, I have a big text file (2 GB) with 4 columns looking like this: C START END A 1 10583 10583 0.14 1 10611 10611 0.02 1 13302 13302 0.11 I also have another file where I have extracted a string of information and if this string matches col1:col2:col3 …

Member Avatar for macanohost
0
189
Member Avatar for gspeach79

With this program I am supposed to **use ASCII operations to do addition and subtraction on positive integers of any length represented in characters.** I have no idea how to fix this program could anyone help me fix it? Thanks! include irvine32.inc .data msg1 byte 0dh, 0ah, "Enter a number:", …

Member Avatar for macanohost
0
175
Member Avatar for dark_sider_1

This is probably a really simple and stupid question, but when I try to "Build and Run" an OpenGL program on XCode, it seems to debug it and open the window for a split second and then close. There aren't any compilation errors and it finishes saying that the debugging …

Member Avatar for gusano79
0
258
Member Avatar for CesarG

I have just downloaded this C# Command Line Caller sample program of Ozeki VoIP SIP SDK: http://www.voip-sip-sdk.com/p_163-c-command-line-caller-voip.html It is very easy to use and meets my requirements, but I would really appreciate some extra info from more experienced developers. Has anyone ever built a C# Command Line Caller?

Member Avatar for skatamatic
0
392
Member Avatar for TotalZombie

So, I'm playing around with SDL and I've come across a bit of a bump. I have one image and I am trying to "free" that image to put on another one. Here is what my code looks like.. [CODE] // I did get a good section of this code …

Member Avatar for rfrapp
0
216
Member Avatar for Wolxhound90

Hey guys, I have a problem with searching for a string within a string. Here's the code I have at the moment: $query = mysql_query("SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA = '".$db."'") or die(mysql_error()); while($table = mysql_fetch_array($query)){ $checktbl = $table['TABLE_NAME']; foreach($_POST['fields'] as $f){ $f = substr($f,strpos($f, '.')); if($checktbl == $f){ …

Member Avatar for diafol
0
126
Member Avatar for dctb13

Hi, I'm trying to sort a list of names in c++ (first name and last name). I'm running into a couple of problems with my code. I'll post the code first then state my problems. #include <iostream> #include <stdio.h> #include <cstring> using namespace std; const int numNames=3;//this makes the code …

Member Avatar for BobS0327
0
7K
Member Avatar for ct_hunny
Member Avatar for javaprog200

Hello, The following program has a JFrame which contains an image, JTextArea and and a textfield. How can I display the image inside the text area? I will be grateful for any help! Thank you! import javax.swing.*; import java.awt.*; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.awt.event.*; public …

Member Avatar for DavidKroukamp
0
5K
Member Avatar for JGlen

Now i have every thing working, the pagination is a bit fine, only when i click next to go to page 2 or 3, nothing is being shown on the page, the browser shows that i am on the page2 but no data is beeing shown, now when i force …

Member Avatar for JGlen
0
252
Member Avatar for jdm3

Hello, I'm new with Python and running into an error trying to print data I have retrieved from a database. The code works but there are characters being printed with it that are not displayed in the database...here is my current code: con = mysql.connect(host="silo.soic.indiana.edu", port=3306, user="XXXXXXX", passwd="XXXXXX", db="XXXXXXXXX") cursor …

Member Avatar for TrustyTony
0
260
Member Avatar for samoo

Hi everyone i am new here and i have problem with my project this is the project Use x86 assembly language to write a program that works as a following: 1) When the program is executed, it asks the user to enter a password 2) If the entered password matches, …

Member Avatar for angham
0
255
Member Avatar for arelius

Hello, I have a datagridview and I allow a user to fill in some checkboxes which call stored procedures to show only certain data based on the criteria given by the user. [COLOR="Red"]I then want to take all that data that is currently shown in the datagridview and copy it …

Member Avatar for CaptainRon
0
5K
Member Avatar for JDSkywalker

I have a bound datagridview and I add 2 unbound columns and set the cell value for each row to "X" for the unbound PKG column and "Y" for the MISC column. When the window comes up, the 2 new columns are stil empty. I put a Msgbox to show …

Member Avatar for Mitja Bonca
0
446
Member Avatar for Wolxhound90

Hey guys, I have a form that is used to navigate through records in a table one at a time. The form generates the number of textboxes required automatically. Navigating through the records is easy enough, but when I click the update button it comes up with the error: Object …

Member Avatar for Wolxhound90
0
133
Member Avatar for choosechrist

i've been all over the internet to solve this problem, but i've found no solution to my problem.my concept is this. Based on selected value within a combo box, the datagridview will populate with values from the database. For test = 0 To containerdetaildatatable.Rows.Count - 1 DataGridView1.Rows.Add() DataGridView1.Rows(test).Cells(0).Value = containerdetaildatatable.Rows(test).Item("Roundtrip") …

Member Avatar for adam_k
0
992
Member Avatar for lj81

Hi I'm currently writing a program which applies collision detection to balls on the screen. My code works to a certain extent (the balls collide however they do not rebound away from each other) but it is not written efficiently. Here is the code that partially works: private void checkForCollision(Ball …

Member Avatar for lj81
0
173
Member Avatar for Om Alooi

I have a problem im my order form the user enter the order he chose the customer name and the product name and they should print in the list box the user should click on next product so he can enter another product for the custmer and when he finish …

Member Avatar for thines01
0
147
Member Avatar for <HHH>

I have an ArrayList Contain Strings as follow 1, 200, 2 , 434 , 3 , 400 , 4 , 500 ............................... and so on how i can remove the number 1,2,3,4 i tried the followinh code but its not worrking for (int i=0;i<content.Size();i++){ if(i%2== 0 ) // if the …

Member Avatar for JamesCherrill
0
130
Member Avatar for nova37

i have little problem with one algo . first i have two tables there are above one lac records in each table . table 1X structure id domain 1 google.com 2 daniweb.com 3 yahoo.com table 2X structure id domain 1 google.com 2 facebook.com 3 youtube.com now my task is to …

Member Avatar for smantscheff
0
214
Member Avatar for FC Jamison

I am trying to learn how to write a merge sort function, but I have only gotten so far with the book I am using now: [code] template <class T> void mergeSort(vector<T>& s) { mergeHelper(s.begin(), 0, s.size()); } template <class Itr> void mergeHelper(Itr start, unsigned int low, unsigned int high) …

Member Avatar for Lylla
0
178
Member Avatar for Begginnerdev

Hello my fellow DaniWebbers, I have a discussion topic for everyone. Winforms VS. WPF ITT: Your opinion on the two Your reason for coming to that discision Your approval/disapproval of Microsoft abandoning WinForms How this impacts your vb.net skills

Member Avatar for Begginnerdev
0
176
Member Avatar for Kitt3nkat

I am trying to create a 2d table that asks for user input to create table size, adds all the numbers across each row, and creates the next row by multiplying by the first row. Here's what I have and it's now giving me an "Exception in thread "main" java.lang.NullPointerException" …

Member Avatar for NormR1
0
889
Member Avatar for robin99

can anyone show me the point to get the tutorial on how to print using shared printer in java (windows os) ? thank you all

Member Avatar for robin99
0
591
Member Avatar for George_91

Hello, I am trying to include a Contact Form in my website. I'm using WAMPserver and Free SMTP Server to test it. The problem is, everytime I click in my button of Send Mail, this error appears in my browser: *Warning: mail() [function.mail]: failed to connect to mailserver at "localhost" …

Member Avatar for pritaeas
0
1K
Member Avatar for Jesi523

I am trying to write an MVC application. I am rather new to MVC and I am taking the project over from someone else whom started writing it. This is what I am trying to do. I have some html documents that are located within my application. When a user …

0
99
Member Avatar for don't give up

hello this is my problem ![help11](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8zL2hlbHAxMS5wbmc%3D/500 "help11") how can do that in php ? <html> <FORM> <TABLE BORDER="0"> <TR><TD> facbook account :</TD> <TD><INPUT TYPE="text" NAME="facbook account" MAXLENGTH="50"><TD><INPUT TYPE="SUBMIT" NAME="save1" VALUE="save"></TD></TR> </FORM> </html> thanks

Member Avatar for don't give up
0
113
Member Avatar for rogerg

Hello, I'm trying to set up a website where user can upload files to which should be readable by everybody. Logged users should be able to comment on the files and rate the files. I'm new to MySql and quite new to PHP so it has taken me already lots …

Member Avatar for rogerg
0
507
Member Avatar for polarbear125

I have the following program, and I want to print the appropriate return statement for the numbers given. I am currently getting the error "cannot find symbol variable result, lines 18 & 19"... how do I get it to work, though? I've tried a few different ways, and this is …

Member Avatar for polarbear125
0
183

The End.