199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for progag

write a program that will multiply two dimentional arrays as follow: 1. The program should prompt the user for the dimention of the first array (row x coloum). 2. The program should get the values of the first array one by one. (e.g. program should display "enter value of a[1][1]= …

Member Avatar for Dave Sinkula
0
96
Member Avatar for ahvicm

#include<stdio.h> #include<conio.h> main() { window(10,55,22,77); textbackground(RED); clrscr(); } is this correct?? i run it but it didn't display anything. my prof. have an example bout this he said that the #'s inside the parentheses are the sizes of the box, (x1,y1,x2,y2) x1 is the top line of the box, y1 …

Member Avatar for mahi oberoy
0
123
Member Avatar for sanishan

Hi! i want to send 10,000 email to my users i have shared web hosting. i think i have only this solution. i want a simple php coding. if some one visit at my site an email automatically send from database list. i have a mysql table -------------------------------- | ID …

Member Avatar for sanishan
0
85
Member Avatar for muh_hatta
Member Avatar for confusedndazed

Hello all, I'm getting an error telling me "'}' is expected at the end of input" but '}' is there. Any help with these issues? Here's what I have so far: [CODE]#include <iostream> using namespace std ; void displayTitle () { cout << "Active Duty Navy Personnel Program" << endl …

Member Avatar for jonsca
0
123
Member Avatar for ruwanaru

This is my codes [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript" src="js/mootools.js"></script> <script language="javascript" type="text/javascript" src="js/getchqno.js"></script> </head> <body> <script type="text/javascript"> function buildSelect(select, options) { var select = $(select); select.empty(); options.each(function(item) { if($type(item) != "array") { item …

Member Avatar for ruwanaru
0
168
Member Avatar for Kruptein

I do php coding for some time and want to learn something new. After some researsh I ended up with 2 languages/frameworks but I can't choose between them. I'm a python programmer so python Django might be easier to start with. But I don't know a well-known website which is …

Member Avatar for Kruptein
0
527
Member Avatar for Phaelax

I need a method of rendering HTML in Java. I was originally planning to use [URL="http://www.genuitec.com/about/labs-webkit-for-swt/WebKit%20For%20SWT%20Developer%20Guide.html"]WebKit for SWT[/URL], but I'm having problems with it displaying images as specified in the CSS. Most examples I've seen have worked fine when loading an external html file, even the package mentioned above. My …

Member Avatar for ~s.o.s~
0
137
Member Avatar for dsmush

Hi I'm doing a project which requires a registration/login page. I have created both registration and login html pages and have done the validation servlet for the login page. I've also attempted the validation servlet for the registration page, but this is where I am struggling because I can't get …

Member Avatar for javaAddict
0
508
Member Avatar for new programer

Hello all, I have been trying to use swtich cases in conditions but it won't work what I mean is like this; [COLOR="Red"]do{ cout<<"Enter a valid number"; cin>>number; switch(number) { case 0: bla bla break; case 1: bla bla break; case default: cout<<"re-enter"; } }while(defalut);[/COLOR] if that can never happen …

Member Avatar for new programer
0
82
Member Avatar for whitestream6

This is the code for my TV guide website (stored on localhost)'s articles in PHP: [CODE] <?php //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDREMOVED"); //select which database you want to edit mysql_select_db("tvguide"); //select the table $result = mysql_query("select * from epdata"); //grab all …

Member Avatar for whitestream6
0
137
Member Avatar for whitestream6

This is an included file on one of my PHP sites on localhost: [CODE] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDDELETED"); //select which database you want to edit mysql_select_db("myradiostation1"); //select the table $result = mysql_query("select * from presenters"); //grab all the content …

Member Avatar for diafol
0
135
Member Avatar for veledrom

Hi, I have two classes. I user [inlinecode]throw new Exception("Error");[/inlinecode] in first class. I want to catch that error message in second class with "try catch". How do i do it? Thanks

Member Avatar for veledrom
0
146
Member Avatar for grv_

Hi, I am making a small image annotation tool for research purpose. I have many images shown to a <user> and the person has to click on the image to enter further information about the image. I would like to POST information about the <user> which is same for all …

Member Avatar for grv_
0
103
Member Avatar for JRM

I have found Javascript to be the most difficult language to find useful and CORRECT info on. Afterr working for several hours looking at various sites, I'm still somewhat stumped. All I know at this point is that these is a difference in the array formatting between PHP and JS. …

Member Avatar for JRM
0
364
Member Avatar for fenerista

do_gettimeofday(&tv1) current_kernel_time() do_gettimeofday function returns a value like that when the time was about 21:42: "1260819441.705069" and current_kernel_time() function returns a value similar to do_gettimeofday's value. the print code is for tv1: [CODE]len += sprintf(buf,"%10i.%06i\n",(int) tv1.tv_sec, (int) tv1.tv_usec);[/CODE] I don't know what these functions returns which time. I want to …

Member Avatar for fenerista
0
496
Member Avatar for big noob

installing java on my firefox explorer get right to the end of the installation and it gives me an error message saying "error 25099. unzipping core files failed" doesnt allow me to do please help as my name says im a big noob when it comes to pc shit.

Member Avatar for daslocu
0
133
Member Avatar for RichardCrickets

Hello DaniWeb. Here is my problem. I have an XML file that is arranged like this.. <document> <Word>apple</Word> <Word>hat</Word> <Word>car</Word> </document> I'm trying to figure out how to grab the actual words. This is how I'm doing it now. [Code] DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.parse(new File("data/general/words.xml")); NodeList …

Member Avatar for RichardCrickets
0
106
Member Avatar for bigjoke

Anyone has any idea how i can look inside my arrays for diagonistics purposes. I am using tail.exe on vista currently for general debugging purposes. regards.

Member Avatar for bigjoke
0
74
Member Avatar for adam1991

Ive got some information that i want to be sent to the database, first the information is taken from the database to the textboxes which works, i will then be able to edit the text, and send back to the database, ive got the Command all coded but when i …

Member Avatar for jbisono
0
71
Member Avatar for priyankkothari

Hello all. I am new to .net development. I am inserting the data and i want the data to get displayed in the grid view as i enter the data.But it doesn't get displayed immediately. If i refresh the page,the data gets inserted twice. I tried to solve this using …

Member Avatar for sknake
0
102
Member Avatar for rizzo18

I'm trying to execute this code to open a java GUI to run queries on the oracle express database I have set up but at the actionPerformed() class, I keep getting java.sql.SQLException errors. What I would like for it to do is when you hit the button, that table from …

Member Avatar for rizzo18
0
2K
Member Avatar for bluem1

Team - Please forgive my ignorance here, I am very new to xml coding. Basic situation is if I run the following code: [CODE] Dim feedXML As XDocument = XDocument.Load("c:\Feeds.xml") Dim bubba = From Feedmain In feedXML.Descendants("Feed") _ Where (Feedmain.Attribute("status") Is Nothing) OrElse (Feedmain.Attribute("status").Value <> "disabled") _ Select Name = …

Member Avatar for bluem1
0
90
Member Avatar for sethm

I am trying to get my date that people enter into a form from mm/dd/yyyy to input it into the database. I can't seem to get this to work, I guess I only know enough to hang myself, what would someone use to get this to function properly? I've been …

Member Avatar for sethm
0
165
Member Avatar for bobsta

Hi, I am writing a simple graphics engine using homegeneous coordinates (fourVector) and the corresponding 4matrices (fourMatrix). fourVector.cpp: [CODE]fourVector::fourVector(float x, float y, float z, float w): x(x),y(y),z(z),w(w){ };[/CODE] fourMatrix.h [CODE] class fourMatrix{ public: fourVector i,j,k,l; ... }[/CODE] fourMatrix.cpp: [CODE]fourMatrix::fourMatrix():i(fourVector(1,0,0,0)),j(fourVector(0,1,0,0)),k(fourVector(0,0,1,0)),l(fourVector(0,0,0,1)){} fourMatrix::fourMatrix(fourVector &i, fourVector &j, fourVector &k, fourVector &l): i(i),j(j),k(k),l(l){ } ... …

Member Avatar for MrSpigot
0
101
Member Avatar for Chad Gary

I have the following html form where the user enters username and password. I'm using ajax to send the values to a php page and in return depending on what the username and password is the php page sends a request back. It send a T if the username/password combination …

Member Avatar for Atli
0
105
Member Avatar for basakua

sand watch (for height 4 : 4 lines in the upper half and 4 lines in the lower): INPUT: 4 OUTPUT: ******* ***** *** * * *** ***** ******* i am not sure how to form a shape like this with C. can you help me?

Member Avatar for gerard4143
0
103
Member Avatar for judge6

What i am trying to do is create a conosle app in vb.net 2008. I have a XML file (data_file.xml), and a template file (template.txt). The template file contains a few sentences, each one containing a placeholder which needs to be filled. I need to create multiple output files (.txt), …

Member Avatar for judge6
0
219
Member Avatar for peter_budo

I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li …

Member Avatar for peter_budo
0
130
Member Avatar for transfernly

hi....i am writing a code which reads the contents of file....it has first name, lastname and phone number.....now i want ot read all the first names into one array second into another and phone numbers into third array....i tried but i could read only line by line.....please help out...my code …

Member Avatar for GrubSchumi
0
101
Member Avatar for lovely soso

Write a C++ program that asks the user to enter the length, width, and depth of a swimming pool using getValues( ). calculate the cubic volume using calcCubic( ). Print the result using printCubic( ).

Member Avatar for Divyab
0
91
Member Avatar for tqmd1

Dear Experts I have following codes to to show data in listview. It displays first column empty. The value of first column is displayed in column2. How to show value of first database field in column1 Please help Dim StudentID As Integer Dim Name As String Dim Address As String …

Member Avatar for me655321
0
772
Member Avatar for kylcrow

I am creating a small website for a little basketball league my friends and I are starting where I can enter the wins and losses for a player and a grid will display all the data for that player. I want the grid to display these fields: First Name, Last …

Member Avatar for jbisono
0
110
Member Avatar for Lida_pink
Member Avatar for sathya8819

Hi, I am developing an image processing application and I face one problem. When I run the application, all I get is a blank form, even though I have a lot of controls attached to it. I know it must be a dumb mistake on my part, but I am …

Member Avatar for Geekitygeek
0
170
Member Avatar for Xaenthe

I just know I'm doing something stupid. The part of my assignment I'm working on is to prompt the user to enter the name of a stock, earnings per share, and price to earning ratio, and then display it after everything is entered. What it's doing now is asking for …

Member Avatar for Mouche
0
107
Member Avatar for oluwafisayo

[code=php] < ?php // take in the id of a director and return his/her full name function get_director($director_id) { global $db; $query = ‘SELECT people_fullname FROM people WHERE people_id = ‘ . $director_id; $result = mysql_query($query, $db) or die(mysql_error($db)); $row = mysql_fetch_assoc($result); extract($row); return $people_fullname; } // take in the …

Member Avatar for SHARMA1
0
237
Member Avatar for mpgitc

Hi People I have a strange problem while using a delegate to update a textbox. I am using an SDK from Swyx, which is a VOIP (telephone software) package. The activeX triggers an onChnage event which has an event handler attached. I can change properties within my class using the …

Member Avatar for mpgitc
0
186
Member Avatar for sathya8819

Hi, I am developing an image processing application and I face one problem. When I run the application, all I get is a blank form, even though I have a lot of controls attached to it. I know it must be a dumb mistake on my part, but I am …

Member Avatar for me655321
0
103
Member Avatar for Phaelax

I've played around with HTMLEditorKit and HTMLDocument, and while I've managed to do the parsing I needed, I also need the complete source code of the document to pass along to a webkit renderer. Java's existing document throws out some tags after I read it in. [code] HTMLEditorKit kit = …

Member Avatar for Phaelax
0
113
Member Avatar for Mitja Bonca

I would like to ask someone, even someone has told me it is not possible. I have a child form2 which is always visible (there is a listView, which shows some data). Then I have a new child form 3 (which is currently opened) and the form3 now does come …

Member Avatar for Geekitygeek
0
123
Member Avatar for P00dle

I am using the netbeans gui builder. I dragged a filechooser onto my frame, and it does almost everything I want it to do. How do I remove the buttons? I dont need them - the user just has to select a file, or type in a file name, the …

Member Avatar for P00dle
0
58
Member Avatar for Roax

:( I am have been trying to update changes from my vb.net program to an access database file and it simply will not work. I have am using table adapters. I'm not familiar with SQL so i can't go that route. It updates the dataset fine but not the database... …

Member Avatar for reach_yousuf
0
265
Member Avatar for JBeginer7891

Hi members! Sorry I need a help with this snippet. I am still workin' on it... the thing is all the three buttons ain't working. And Can anyone tell how to compare the values of username and password against a database in Ms access. Thanks Here is my code import …

Member Avatar for JBeginer7891
0
604
Member Avatar for mhz42

Hello everyone, I'm quite new to c# and .Net, and i was wondering if you can give me some guidance on a specific problem that i have I'm currently trying to use Jxta.NET: a .net wrapper for JXTA-C, which is the C implementation of the JXTA protocol. So, i went …

Member Avatar for mhz42
0
223
Member Avatar for wildplace

[CODE]class calculator: def __init__(self, num, operator): self.__num = num self.__operator = operator def changeNum(self, newNum): a = newNum return a def getNum(self): return self.__num [/CODE] [CODE]def click(num): if num == "one": v = "1" elif num == "two": v = "2" elif num == "three": v = "3" elif num …

Member Avatar for Namibnat
0
105
Member Avatar for adcodingmaster

hi All i have a question. plz answer if u can. i must b very thankful to u question is Why use abstract classes at all? Why not just declare a class and then make sure you never instantiate any variables of that type? thnx in advance

Member Avatar for ~s.o.s~
0
94
Member Avatar for Vandithar

Hi, I am using MySQL Version 5.0.45. I am getting time out error while trying to access large data. I am performing 2 operations: a) I am loading the data file into the database b) I am retrieving the data from the database. 1) Loading the data file into the …

Member Avatar for Vandithar
0
196
Member Avatar for feoperro

Hi, I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays …

Member Avatar for feoperro
0
223
Member Avatar for lloydsbackyard

import javax.swing.*; import java.awt.*; public class sample { public static final int width=500; public static final int height=500; public static void main(String[] args) { JFrame mywindow=new JFrame(); myWindow.setSize(Width, height); JLabel myLabel= new JLabel ("How do i insert picture in this window? I want to create a photo gallery on this …

Member Avatar for vjmir
0
91

The End.