199,114 Archived Topics
Remove Filter ![]() | |
I am trying to search an array of object, for example lastName, a private variable of the object, however, the array might have more than one same last name from different objects.. i need to output all the same last name onto the screen, how should i do that? code … | |
Hi, Could anyone please tell me how to go about linking some folders which are already in php to the login page. For example once you have logged in successfully, the next thing you want to see is the admin homepage. How do you link the login page to the … | |
My question is to calculate the mean of a comma separated dataset stored in a file. The program will be run on a system with no floating point library. Obey the following rules: 1.Maximum 100 values in dataset 2.Each data entry in the dataset is a byte (0 - 255) … | |
i Dont have window.h header file , can i make a programme for copying picture from one drive to another?Any one help me in interpets . I am new using c++ so please please help. | |
Hello! I'm compiling a project in VC++ 2005 express, and for some reason it is hanging. It gets to a certain point and just doesn't seem to do anything. This is the readout when it is happening: [CODE]c:\Qt\4.3.3\bin\uic.exe RoboSearch.ui -o ui_RoboSearch.h g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT … | |
Hi, I am using a simple code to retrieve values from database. but i am getting error while i retreive an Integer value on line number 3 , 4 5. [CODE] <% line1 while(rs.next()){ line2 String productname = rs.getString(1); line3 int productprice = rs.getInteger(2); line4 int cartid =rs.getInteger(3); line5 int … | |
Is the opcode leal(load effective address) primarly used to calculated the address of a value that was pushed on the stack? If anyone knows of any good web sites on this topic could you pass it on to me. Thanks in advance....Gerard4143 | |
Hello, mighty helpers of Daniweb! We have been running this application for two years and have hundreds of users distributed at many customer sites. Suddenly, in January, one particular user logged in, clicked Ordering and got "Page not found" in the secondary pop-up window. The only workaround was to create … | |
import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import javax.swing.event.*; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class MyPaint extends JApplet implements Runnable { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; JTextArea drawTextArea; JScrollPane drawScrollPane; JLabel line, color, paint,kid,cil; JButton circle, rect, poly, ellipse; JComboBox cbLine, cbFill; GridBagLayout g; … | |
i have a dataset [code] Dim query1 As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM AnswerList WHERE SurveyID=83 AND QuestionNum='" & counter & "'", strConnection) Dim ds As New DataSet query1.Fill(ds)[/code] how can i refer to specific column for example if i want to search for column QuestionNum=1 in table AnswerList … | |
Hi i sow on WC3 school [url]http://www.w3schools.com/html/html_formatting.asp[/url] and i am confused about text , there is a lot of text format like , small , strong,computer code text, keyboard text,sample text. And i am confused about text, i see the difference but i do not know why is called computer, … | |
I am attempting to use a function to check for a valid email address before being read in. I am attempting to use a function as well and this is something I don't have a lot of experience in. Does the following code look correct? In addition to the test.csv … | |
Hiiii, here is my script-- [Code]: BackupLocation="$OPTARG" if [[ $LFlag -eq 1 ]]; then echo "Either option l or L should be given to $Programname" echo "$Usage" echo "$Programname is terminated" return $ERR; fi if [[ $isBackUp -eq 1 ]]; then if [[ ! -d $BackupLocation ]]; then echo "Non-existant … | |
Hello All, I have absolutely no experience with linked lists. I have an array of Animals that I am trying to reference from a linked list located in another class. Can anyone point me in the right direction for starting this program? Any assistance would be appreciated. Thanks | |
Hi Everyone In a html document I declare several input tags. They all have the attribute name="input[]". So when they are intialized as input[0], input[1], etc. Now after they have been intialized I want to be able to access them using Javascript. How would I do this? The usual code … | |
Greetings I want to take part of a word remove it and then append something new. Here is my xml [inlinecode] <Symbols> <Item> <Symbol>UPS2008</Symbol> <Order>usg_05Y</Order> </Item> </Symbols> [/inlinecode] My python code should remove the 2008 in UPS and change it to 2009 (basically write to file with elementtree), except I … | |
Can over running of array lead to the catastrophic failures? If ‘Yes’ then why does not C++ provide bound checking on array operations and who is responsible to prevent array overruns? | |
Hello I have the following code to display my time difference on a label and it works fine until my endtime is less ie. "01:00:00" and now() is more ie. "13:00:00" What can I do to rectify this? [code] Dim EndTime As New DateTime(Now.Year, Now.Month, Now.Day, My.Settings.EndHour, _ My.Settings.EndMinute, 0) … | |
[CODE]#include <iostream> using namespace std; typedef struct List { int data; List*link; List(){ data=0; link=NULL;} }SList; SList*L,*P,*temp; int x; SList*createnew(int x){ temp=new List; temp->data = x; temp->link = NULL; return (temp); } SList*findLast(SList*L){ temp=L; while(temp->link != NULL) temp=temp->link; return (temp); } void printList(SList*L){ temp=L; while(temp!= NULL){ cout<<temp->data<<endl; temp=temp->link; } } … | |
Hi hope someone can help, command1.click if line1.bordercolor = vbBlack then line1.bodercolor = vbRed else line1.bodercolor = vbBlack End if end sub I need each time I hit the command button for a line (line1.bordercolor) to toggle between red and black. I'm switching on a wire in a circuit and … | |
Ques. Write a function which prints the cards which are missing from a set of playing cards.Cards are represented in the form of string whose first letter represnts type and second is the card number. S-1=one of pade S-A=A's of spade C-k=King of clubs H=j=jack of Hearts....so on | |
any pls help mo on How to load a filename on a LISTBOX. also pls teach me that when i click on the filename loaded on the listbox it will run, i only need to load the names of my movieclips which is all (.avi) then when click will play … | |
hi, i am runnning a php script where i try to decompress a file and the untar it. the file in suppose x.tar.gz. so in my php script i call system command system("gunzip /home/trial/x.tar.gz"); now to untar i use system("tar xvf /home/trial/x.tar"); now the error creeps in. i am able … | |
Hi y'all I need to create a user control on a web page and I have no idea whatsoever of how to go about it. The control should consist of a 3 by 3 grid, with each grid cell having its own color, and also the capability of displaying a … | |
Hi everybody! i working in oracle 10g forms and reports.... i try to use this crystal report in 10g... please help me how to call this report in application.....my application server remote how will i call the remote server in my crystal report.......please help me.... thank you, saravanarajan... | |
Hi Guys, This is probably the most silliest of questions, i am still learning php and mysql :-| . I have this code below which brings up data from the database and displays it, what i want to do is to give the table headers a bgcolor how do i … | |
I was able to develop a simple user name and password code that would enable users log into my website before viewing the home page.This worked.Now i have tried to apply this code below to ensure that no link when typed into the browser from any of my web page … | |
hello , i am working on application of running an exe on client side i use following javascript for this var theShell = new ActiveXObject("Shell.Application"); var theApp = "C:\\Windows\\Notepad.exe"; theShell.ShellExecute(theApp, "", "", "open", "1"); but when i run the application on any system i got the error message is permission … | |
Hi friends i have a big problem... i want only the first Character to be Upper and all the rest lower and then the next name to be upper and then lower.. for eX. Geeta Lopez Can u Plz Help Me | |
What is the easiest or most elegant way to let the user input a list in a console program? | |
Hey, I have a this readblog.cs file in projects App_Code folder, and at main folder I have Blog.aspx -> Blog.aspx.cs file. And I have a Table control in Blog.aspx file, called Bloglist, and I am trying to modify it from App_Code/readblog.cs class file and I dont know how to use … | |
Hi folks This will be my first ask for help here;) I'm working on a database at the moment and have exhausted my resources on this one. I have a report with an underlying muti-table query. The report uses an input box to set the date criteria rather than Parameter … | |
Hi, I have a query in VB. I have two forms. The first form loads after few seconds my second form has to load. How do I code for this. Someone help me out. Thanks, Priya | |
Who can help me with this programming assignment about the token stream, character stream, source stream. And even tokenizer program? Please help me with this lexer program.. Thanks in advance... | |
hey guys.. can you help me explain this code? public Boolean insertAfter (double key, double dd) { Link current = first1 while (current.dData != key) { current = current.next; if (current == null) Return false; } Link newLink = new Link(dd); if (current == last) { newLink.next = null; last … | |
Hi this is what I need to do [LIST=1] [*]Declare a word array A with 2 elements with initialized values. [*]Declare a word variable B with initialized value as 0. [*]Calculate the cvalue of B with the following expression: B= A[0] + A[1] -6. [*]Make sure B's value is saved … | |
Hey guys, im really on the verge of my seat about my final sem project. I have decided to do a photo uploading site similar to deviantart. I want to add options so that each user will be able to watermark images. I need some ideas guys..My project idea is … | |
I am developing a framework to simplify creation of embedded software applications. Resources are typically limited in this type of environment, so I need to make it very efficient in its use of memory space. One goal is to be able to reference any variable by a <typeNumber, instanceNumber> value … | |
I have been given a project to do for college and have the option of doing it in either C++ or Java; both languages Im relatively new to. The scope of the project is fairly open ended, some are planning to do games but Im personally just going to do … | |
Hi, I am new to PHP oop. I was wondering when and why should we use the following: 1) Public 2) Protected 3) Private 4) are there any other??? An example would be appreciated. Thanx | |
Hello i have spent hours and days and couldn't find how i can make a variable that has rounded to 2 decimal digits. But i dont want to use myVariable.value....or myVariable()....styles. In the net i have seen something like BCD that is related for official accounting issues but i coudn't … | |
so here's the code. [CODE]#include<stdio.h> #include<conio.h> void main() {struct { char seat; }a[19]; int x,z; char y; a[0].seat='A'; a[1].seat='B'; a[2].seat='C'; a[3].seat='D'; a[4].seat='A'; a[5].seat='B'; a[6].seat='C'; a[7].seat='D'; a[8].seat='A'; a[9].seat='B'; a[10].seat='C'; a[11].seat='D'; a[12].seat='A'; a[13].seat='B'; a[14].seat='C'; a[15].seat='D'; a[16].seat='A'; a[17].seat='B'; a[18].seat='C'; a[19].seat='D'; clrscr(); printf("Flight Seat Reservation:"); printf("\n\n\n\t1\t%c\t%c\t%c\t%c", a[0].seat, a[1].seat, a[2].seat, a[3].seat); printf("\n\t2\t%c\t%c\t%c\t%c", a[4].seat, a[5].seat, a[6].seat, … | |
hi ..... i'm designing a simulator and initially i have to click on the Tkinter interface to place a small oval(dot).That is the initial point where i want the simulation to start. can anyone please help me or if possible give me the piece of codes here is my code.... … | |
Not sure what I am doing wrong. My homework says Design C#solution with a `Main()` method that holds an integer variable named seconds to which you will assign a value. Create a method to which you pass this value. The method displays the seconds in minutes and seconds. Add a … | |
Hello, I am a fairly inexperienced programmer, and I am confusing myself. I want to have a member function or a different class return an array of structures. I've read that I have to do this by reference, but I can seem to get it right. Can someone help? The … | |
[code=c] int main() { int a,b,c; a=b=c=1; c = ++a || ++b && ++c; printf("%d %d %d", a,b,c); } [/code] here the expression is considered from left to right. but the confusion of mine is: && has got higher precedence than that of ||. so ++b && ++c should be … | |
i am writing a pogram where i have to find out which all computers are up on my lan...for this i have called shell script program from my C code which pings to all computers on lan....now i want the shell script to return to the C code "1" incase … | |
Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website … | |
does anyone knows how to make randomizing frames appear only once... because i'm using randomized questions, with the use of frames for my games., but my questions appear more than once...can you help me about this?... |
The End.