199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for severman

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 …

Member Avatar for jephthah
0
103
Member Avatar for macslayer

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 …

Member Avatar for Suomedia
0
357
Member Avatar for hhheng

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 " …

Member Avatar for jephthah
0
127
Member Avatar for diggles05

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 …

Member Avatar for diggles05
0
879
Member Avatar for hafhag

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 …

Member Avatar for hafhag
0
288
Member Avatar for sayso36

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 …

Member Avatar for Ancient Dragon
0
370
Member Avatar for madfrenzy

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); …

Member Avatar for Comrade Ogilvy
0
115
Member Avatar for Jboy05

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?

Member Avatar for Narue
0
85
Member Avatar for algo_man

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 …

Member Avatar for Ezzaral
0
80
Member Avatar for JamesMil

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 …

Member Avatar for Narue
0
87
Member Avatar for karl.goddard

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 …

Member Avatar for sDJh
0
90
Member Avatar for wonder_laptop

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 …

Member Avatar for jephthah
0
95
Member Avatar for Lord_Polo

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 |

Member Avatar for Lord_Polo
0
113
Member Avatar for LOgle0917

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 …

Member Avatar for Waseemn
0
170
Member Avatar for dkwantee

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 …

Member Avatar for Narue
0
91
Member Avatar for fnbhns

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 …

Member Avatar for majestic0110
0
59
Member Avatar for yonderboy

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. …

Member Avatar for Narue
0
359
Member Avatar for majestic0110

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!

Member Avatar for majestic0110
0
157
Member Avatar for daymick

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 …

0
60
Member Avatar for amitahlawat20

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. …

Member Avatar for Phaelax
0
66
Member Avatar for Run.[it]

Is the only way to stores strings as a variable in C++ is by having an array of type char?

Member Avatar for Run.[it]
0
97
Member Avatar for Lalarukh khalid

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

Member Avatar for Lalarukh khalid
0
278
Member Avatar for Praveeninfotech

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> …

Member Avatar for jwenting
0
73
Member Avatar for narayanabhilash

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 …

Member Avatar for jwenting
0
228
Member Avatar for bmanoman

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.*; …

Member Avatar for bmanoman
0
137
Member Avatar for dophine

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.

Member Avatar for Narue
0
139
Member Avatar for pmtheint

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 …

Member Avatar for Easle
0
73
Member Avatar for taffer23

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 …

Member Avatar for taffer23
0
87
Member Avatar for Ripture

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 …

Member Avatar for vmanes
0
126
Member Avatar for 1supergirl

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 …

Member Avatar for 1supergirl
0
75
Member Avatar for eparse

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 …

Member Avatar for nav33n
0
108
Member Avatar for SheSaidImaPregy

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 …

Member Avatar for SheSaidImaPregy
0
892
Member Avatar for gsivaram

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

Member Avatar for jephthah
0
120
Member Avatar for zanzo

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 …

Member Avatar for zanzo
0
145
Member Avatar for Jihad

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 …

Member Avatar for noldbcat
0
125
Member Avatar for kevin wood

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 …

Member Avatar for kevin wood
0
107
Member Avatar for Raju5725

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

Member Avatar for noldbcat
0
304
Member Avatar for chrchcol

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 …

Member Avatar for riotxix
0
213
Member Avatar for Lensva

[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 …

Member Avatar for Lensva
0
126
Member Avatar for Jogge

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 …

Member Avatar for Jogge
0
118
Member Avatar for iketunde

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 …

Member Avatar for visagar
0
484
Member Avatar for dinilkarun

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..

Member Avatar for Mbt925
0
82
Member Avatar for ssahil11
Member Avatar for dilasing
0
151
Member Avatar for soultrav

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 …

Member Avatar for soultrav
0
110
Member Avatar for Syntax Error

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... …

Member Avatar for masijade
0
133
Member Avatar for v.godhe

I want to publish my DB2 data to PDF file using XSLT. Has anyone tried this?

Member Avatar for v.godhe
0
185
Member Avatar for karsoods53

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?

Member Avatar for karsoods53
0
211
Member Avatar for ssahil11

I have recently started working with DB2 database. I have heard about Xquery. What exactly Xquery is?

Member Avatar for dilasing
0
367
Member Avatar for kzubair96

Ive heard about Xpath a couple of times. Can someone explain me in detail what Xpath is?

Member Avatar for dilasing
0
171
Member Avatar for s.piyush58

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 …

Member Avatar for apuri976
0
364

The End.