199,114 Archived Topics
Remove Filter ![]() | |
hello everyone how do i sort an array of 6 number with out using any type of sort and then printing the array sorted? i have a source text file with this numbers {10 , 5 , 20 , 3 , 50 , 40}. i copied the text file into … | |
Hello, I am having an issue with a page that works fine in IE and not FF. Bascially it is a <div> loaded with a basic coldfusion input form that posts back to parent of the div page. Problem I am having is a validation routine in javascript seems to … | |
I'm showing a directory listing in one page now, but I want to show it in pages. Currently I'm working like this: [QUOTE]gtsee.com/cgi-bin/nph-dirsub.pl?invoice=invoices/merchant_invoice_999999 [/QUOTE] and the script for showing the listings are: my $sql=SELECT id, name, url FROM free_dirs; my ( $id, $name, $url) = @{$db_row}{qw/id name url}; print " … | |
need help with a program let A= A(1), A(2)... A(1000) and B =B(1),B(2)... B(1000) two vectors (one dimensional arrays) comprising 1000 numbers eacht that are to be added form an array C such that C(I) =A(I)+B(I) for I=1,2...1000. Using the IAS instruction set, write a program for this problem. Ignore … | |
Thank you for your advancing helping. I do have a problem in how to encode a bank account that has : 1. account number,user name , intial deposit and balance (updatable) 2. that a specific user can see his balance 3. a user can withdraw money 4. a user is … | |
Part I True/False ( 40 points , 2 point each) 1. If you have created an exception class, you can define other exception classes extending the definition of the exception class you created. 2. Using the mechanism of inheritance, every public member of the class Object can be overridden and/or … | |
hey I'm trying to run this program on netbeans on Ubuntu #include <windows.h> #include <GL/gl.h> #include <GL/glext.h> #include <GL/glu.h> #include <GL/glut.h> void myInit(void) { glClearColor(1.0,0.0,0.0,0.0); glColor3f(0.0f, 0.0f, 1.0f); glPointSize(9.0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0.0, 640.0, 0.0, 480.0); } //<<<<<<<<<<<<<<<<<<<<<<<< myDisplay >>>>>>>>>>>>>>>>> void myDisplay(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POINTS); glVertex2i(400, 350); glVertex2i(100, 130); glVertex2i(150, 130); … | |
how do I Write a function call WelcomeMsg which displays the message "Welcome back! I wish you have a great Spring Break". Then write a calling statement for it? | |
Hi I am looking for an open source Java project such as (NotePad, Html Editor... etc) which consist of around 10 classes. I searched within source forge and I don't find a suitable one. I'll use this project in something called (Refactoring) which enhancing the code. This is not a … | |
Here's a fairly simple piece of code to get a message from the user, limiting its length to 10 chars. Problems arise when the message is 10 chars or more, and the program enters an infinite loop. I think the problem is getline() leaving somethin on the stream, but I've … | |
I’d like to have a php page that will retrieve the 10 most recent articles submitted to a database and create a static html page with the results from the query. The idea is to reduce the load on my mysql db by only hitting the db once instead of … | |
im in new to c, i did this is some program and i used the math library, but i was wondering how is the math library available within the the system? and how can we find the names of the files that correspond to that library? Also, i read something … | |
I have a txt file where data is arranged in a list eg: 0001 0002 0003 0004 etc... Andy i would like to change specific columns to the same data eg: | 0a01 0a02 0a03 0a04 | | |
I am a beginning Prog Logic and Design student. I have a project to write pseudocode and draw a flow chart to do the following. From an Alumni File I have the following fields Alumnus Number Alumnus Name Year Graduated Major I want to get all Alumni With a Major … | |
hello! I want to know about string tokenizer. i have a file of the following format:- Studentname StudentID Studentgrades each is separated by a tab. and the size of the file is unknown. I have to read each line using string tokenizer..Well, i dont know much about this, can someone … | |
Dear Friends Hope all of you doing well with Java, I am new in the field of JAVA, But I am highly expecting an answer & your help that from where I can get skill test questions for simple simple code,,,,,,suppose codeing for prime number. Wish you all best. and … | |
I am an absolute beginner and a bit desperate. I found some answers to my question on google, but they are formulated in a way that is not very explanative and simple. I have a mainform (form1) and a custom made dialog (form2). Form1 has a ButtonAddString and a Label1. … | |
Hi all, just a quick question.... is there ever a need to implement an infinite loop? in what situations would it be a good idea to use one (if any)? thanks for your time! | |
Hello, I would like to apply object-orientated programming in C++ to sets of 3D images. I would like to do 4 classes: -dataset:an array of 3D images, contain the nb of 3Dimages as an object -3Dimage:an array of 2D images, contain the nb of 2D images as an object -2Dimage:an … | |
I am not able to understand why in the following program it is mentioned in my book: The value of ~a is ANDed with 0x0f (0000 1111) in binary in order to reduce its value to less than 16, so it can be printed by use of the binary array. … | |
Is the only way to stores strings as a variable in C++ is by having an array of type char? | |
hi every body.... i need little help regarding project which we have to made in C++..... can someone guide me tht which type of topices can selected...... i am very much confused....:S | |
hi, i want to send e-mail using jsp. when i run my code no error is shown but the message is not sent to email address. here is the code [code=html] <html> <body> <form method=post action="aa.jsp" > sender<input type=text name=text1><br> Reciever<input type=text name=text2><br> Subject<input type=text name=text3><br> Message<textarea name='area1' rows=5 cols=30> … | |
Dearest One, I have created a web application in JSP & Servlet using Netbeans IDE, i am collecting blob image into a byte[] array and displaying in a table data "<td></td>". when i try to display the image, i am getting an exception getWriter() already called. but when i try … | |
I'm trying to create a program where it takes the first character of the Last name and place the person in a group due to the name. I tried comparing the words to numbers i.e. a=1, s=19, etc. any help at all would be appreciated [code] package GroupAssignment; import System.*; … | |
Hi all, I would like to know in what situation template is used instead of inheritance and vice visa. examples are appreciated. I just know template is static binding while inheritance is dynamic binding. so if speed is concern, template is better. | |
Hello everyone, I'm doing an assignment on VB.Net about cloning labels. I want to write a program of a form with a label. When the program is being run, the form will load with other 99 new lables which are being cloned. Each of which will have the same properties … | |
i am writing a c# program where i want to get only a single row per day.the database just has 2 fields 1)title 2)Message now i want to retieve and display only 1 message in the textbox and the database should automatically get the next row as soon as the … | |
First of all, forgive the corny title, I couldn't resist once I thought of it. ;) I have a small assignment for a statistics class that had been giving me a little bit of trouble. How we did the assignment was left up to the students since it is a … | |
I am a newbie to javascript and have written the following code to make sure that users have checked a radio button. It is set to work on submit. The form is generated by php and has approx 70 options; users may select one. I am not even sure if … | |
hi for all the expert here, i am now facing a minor problem on retrieving data here. MySQL do contain all the variables defined with data inside it. However, i juz need to know how to loop through the array to get all the data in a row? Below is … | |
I need to write each row of a daset to a separate xml file, which will be named based upon the ID of the current row. I am very new to XML, as I have never believed in it, which meant it was crap. Anyway, I am trying to merge … | |
i need to bind socket address and port for ipv6 programming... i canoot able to bind global ipv6 address by using normal bind command.... help me to bind ipv6 address and port number | |
helllo, I do have a problem with access... this is my code: <% var connection= new ActiveXObject("ADODB.Connection"); connection.Provider="Microsoft.Jet.OLEDB.4.0"; connection.ConnectionString = "Data Source=" +Server.MapPath("/database/Training11.mdb"); connection.Open; var SQL = "INSERT INTO User (FirstName, MiddleName, LastName) VALUES ('lolo', 'keymo', 'rub')"; connection.Execute(SQL); connection.Close(); %> And i do get this error message: Microsoft JET Database … | |
I have a problem on making user login, because I am not able to set up the roles and users in my Asp.net configurations. When I choose security I get this message "[COLOR="Red"]Unable to connect to SQL Server database.[/COLOR] " and when I try to choose a provider and select … | |
I have created a image upload for the site i am working on i now want the uer to be able to click on a preview button and this takes them to a separate page where they can see the images that have been uploaded. for this to happen would … | |
Hi All, how to pass server side (ASP.NEt 2.0 with C#.NET 2.0) array variable to another page's client script or How to access one server side web form's array variable in another web form's client script (javascript)? Thanks in advance. Raju | |
I am trying to write a command line bash script that will allow you to send mail to an email address using some variables. The email is a signup form with username and passwords. The subject line and most of the body will be hard coded. The script should ask … | |
[code] #include <iostream> using namespace std; class fibonacci { private: int num; public: long fibNum(int n); fibArr(); }; //============================ long fibonacci::fibNum(int n) { n=num; if (n<0) { return 0; } if (n<2) { return n; } else { return fibNum(n-1) + fibNum(n-2); } } //============================ fibonacci::fibArr() { int *Arr; Arr=new … | |
Hi just wonder if here are some that can help me with a boxover. Here is the code that i whant boxover in. [code]'Display the subject of the topic Response.Write(vbCrLf & " <a href=""forum_posts.asp?TID= " & lngTopicID & "&PN=" & intRecordPositionPageNum ) If intPriority = 3 Then Response.Write("&FID=" & intForumID … | |
Hello, I created this site on my local machine using PHP 5.0.4 and mysql 4.1 and it works perfectly fine. I then ftp it to my webhost but the code to retrieve values give me this error. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/laterallinks/ApplicantInformation.php … | |
I have a DHTML page with a treeview control in it which has a parent node and 6 child node in it. I want to check all the child node checkboxes when i check the parent node checkbox. Please help me.. | |
i have a textbox and a button,like this: [code=php] <form method='post' action=<?php echo $_SERVER["PHP_SELF"]; ?> > <input type='text' name='write'> </input> <input type='submit' name='push'> </input> </form> [/code] , and i want that everytime that i push the button the content to be listed on the page without the previous content being … | |
pls help!! can u give me some tips how to delete a string or list in a textfile based on this code....i created this code but i dont know how to delete it..pls explain in simple english because im not American..... :D tnx a lot...ur response is very much appreciated... … | |
I want to publish my DB2 data to PDF file using XSLT. Has anyone tried this? | |
I have looked at the syntax of SQL/XML query and tried to run a sample query. But not able to write my query using it. Can someone provide a tested and working SQL/XML? | |
I have recently started working with DB2 database. I have heard about Xquery. What exactly Xquery is? | |
Ive heard about Xpath a couple of times. Can someone explain me in detail what Xpath is? | |
Hi, I am new to this...so hope I can get some help from you all... I get XML feeds as input and have to store this data on our server. I have worked with databases but new to XML. Can someone tell me how I can store and manage this … |
The End.