199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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!! | |
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 … | |
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 ? | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 | |
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. | |
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 | |
| |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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:", … | |
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 … | |
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? | |
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 … | |
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){ … ![]() | |
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 … | |
hello im new in java and i have to do simple program and can read from txt file ![]() | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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") … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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) … | |
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 | |
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" … | |
can anyone show me the point to get the tutorial on how to print using shared printer in java (windows os) ? thank you all | |
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" … | |
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 … | |
hello this is my problem  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 | |
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 … | |
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 … |
The End.