64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gaz

hi i am trying to change some divs with the time however i seem to have gone wrong at some point and cant seem to figure out where. Please excuse the writting in them i am going to change it thanks.[CODE] <script type="text/javascript"> /*<![CDATA[*//*---->*/ var one, two, three, four,five, six, …

Member Avatar for network18
0
100
Member Avatar for jakesee

hi, just want to ask, is it possible to restrict friend acess to a single class member function only? in other words, if class A grant class B friend access to class A member function, then class B can call that class A function. *note: this is suppose to be …

Member Avatar for dkalita
0
135
Member Avatar for markhuz

Please help with my assignment, our teacher told us to write a code in c++. 1.Enter 15 students and their general average. 2.List the top 10 students with a highest general average. thank you very much for helping me.

Member Avatar for markhuz
-1
147
Member Avatar for sanjaypandit

[QUOTE]hi friends i am making a website depend on review on tourism places, but in it some weather data is needed according monthly for e.g. see this link [URL="http://www.holidays-uncovered.co.uk/united-kingdom/england/london.html"]Weather Link[/URL] in this u see there is a chart of avg. weather conditon of london city. i want show these data …

Member Avatar for network18
0
216
Member Avatar for xyz12

Hiiiii I m making an window application, in which i have written some text in the text property of the form, but i want that when application is running, in that case form text should not be displayed..... And i don't want to use the form property: FormBorderStyle-->None, Because in …

Member Avatar for xyz12
0
114
Member Avatar for Altairzq

Hello all. I have a mootools accordion in the website I'm building that uses two classes: "toggler" for the titles and "element" for the content. I'm in the need of adding an input field at the bottom of the "element" DIV that the user has opened. Problem is, every content …

Member Avatar for Altairzq
-1
148
Member Avatar for fazzer2

Hello people I have jusrt recently started to study C/C++ and I am using Borland 5.02. I am having a problem examining my outputs. when I run a successfully compiled program the Dos window that I should read my print from flashes on then flashes off:'( and I do not …

Member Avatar for fazzer2
0
157
Member Avatar for snakay

Hi All, I often tend to fetch data from datasource using DataReader , these are usually a single data or single record of data cases. Within same method I reach to several datasource tables, each using datareader. This is awkward and cumbersome. Is it possible to create a class to …

Member Avatar for snakay
-1
198
Member Avatar for goboman

ok so im making a program that finds postage rate according to its weight and category. The category is standard for weights under 50g and other for over 50g. If the user enters a weight out of its category it will say error and close. and it only works for …

Member Avatar for jice
0
90
Member Avatar for avirag

I have made an application in which there are two textboxes such that as I am writing in first textbox ,it automatically appears in second textbox. Like for enter key we can apply any functionality on enter key press event ... Is the same thing possible for spacebar key too...... …

Member Avatar for avirag
0
908
Member Avatar for Superfat

Is there a way to tack a variable onto the end of a print.drawString so it would show up like Text: <variable> Or: [CODE]page.drawString ("Text: " object1, x, y);[/CODE] Where object1 is the variable. I tried doing that, but i get an error ")" Expected on that line, i suspect …

Member Avatar for tonyjaa
0
104
Member Avatar for KimJack

Hi all, I wondering how to get started with this. I am working on a method that will take two ints. These ints represent positions in an arraylist of characters. I am trying to determine if the elements of the two positions are equal. If, so display the elements, if …

Member Avatar for masijade
0
161
Member Avatar for zorro-az

hi, everyone i am new beginner in JavaScript environment i have taken from internet image rollover script but i dont understand some tricks in JavaScript does anyone help me? below is my code Help with Code Tags (Toggle Plain Text) [CODE]<html> <head> <title>A More Effective Rollover</title> <script> window.onload = rolloverInit; …

Member Avatar for Troy III
-1
224
Member Avatar for Nishara

I am using C#.net.I want to delete a datarow from the sql server database table when the delete button is clicked.Specific row should be selected according to a text field value.Say user enters a userID to a text box...then he clicks delete button to delete the relavent row. Please help …

Member Avatar for sknake
0
99
Member Avatar for digtokiller

Hello people, i need a code so when someone join my site, the site resize after the size of the screen on the coputer joining. cause i have seen my site on a small screen and big screen but they look different... sÃ¥ if the site could resize so it …

Member Avatar for digtokiller
0
122
Member Avatar for triumphost

Ok the code below is supposed to edit a file called license.dat and replace texts in it... it works great it does all that but I want to implement user input in it. By this I mean I want the user to be able to enter the drive letter for …

0
80
Member Avatar for smvec

hi.. im dynamicelly creating text box in a html file using javascript.. [CODE]<script> function create_input_boxes() { if(document.getElementById("name0")) { return true; } var boxes=""; var num_boxes=document.getElementById("num_boxes").value; if(num_boxes) { for(var i=0;i<num_boxes;i++) { boxes+="<input id='name"+i+"' name='name"+i+"' value=''><br />"; } document.getElementById("textbox_container").innerHTML=boxes; } return false; } </script> </head> <body> <form id="theForm" action="dynamic.php" method="post" onsubmit="return create_input_boxes();"> …

Member Avatar for smvec
0
89
Member Avatar for new programer

Hello all, As my name indicates, I am a new programmer. I was doing a program which calculates the roots of a quadratic equation but unfortunately there seems to be something wrong as it ignores my if statements! Please take a look at my code and I'd appreciate your help

Member Avatar for new programer
0
79
Member Avatar for scrace89

[CODE]# This file contains python code that will determine whether a potivie range # of integers entered by the user will contain odd or even numbers, prime or # composite numbers, perfect/abundant/deficient numbers, square numbers, and # triangular numbers. def main(): import math firstNum = 0 secondNum = 0 n …

Member Avatar for Gribouillis
0
582
Member Avatar for StaticX

Hi ,im having a problem with my do while loop,basically I want it to loop so long as the users attempt is less than 10. However,it just doesnt want to seem to let me do this.Ive tried putting the "attempts++" several places through the loop as i thought this might …

Member Avatar for bennie22
0
146
Member Avatar for triumphost

Below is the code that I have to find the Mac address of any pc (physical host ID) I struggle to make it print to a file but now i have a problem... It prints MAC Address: XX-XX-XX-XX-XX-XX to C:\\Physical-Address.txt but I only want it to print the XX-XX-XX etc …

Member Avatar for triumphost
0
146
Member Avatar for froggy1976

Good evening, I am writing a program in C++ for a Tic tac toe game. Here are my directions: Create a C++ console application that allows two players to participate in a tic-tac-toe game. The program will be responsible for deciding who wins the game. The program should include the …

Member Avatar for froggy1976
0
329
Member Avatar for Star Frost

I have been struggling with this one for a day now and I cant seem to figure out if my problem is syntax or simple impossibility. The function in question looks something like this: [CODE] string *function( string temp[] ) { string sides[ 4 ]; // code return sides; }[/CODE] …

Member Avatar for Star Frost
0
127
Member Avatar for george21

I am getting an error that says "The type Chapter165 must implement the inherited abstract method ActionListener.actionPerformed(Action Event). Can someone help me with where I went wrong? [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; class Chapter165 extends JFrame implements ActionListener { private JTextField inputMile = new JTextField(10); private JTextField outputKm …

Member Avatar for BestJewSinceJC
0
3K
Member Avatar for red999

I am writing a program that reads from a file that contains a list of appointments and then put them into an dynamic array named day. I am having trouble figuring out what is exactly wrong with my program. It keeps on crashing before it finishes reading the file. I …

Member Avatar for red999
0
124
Member Avatar for number87

I got a question about c++ strings. Let's say string text = "0R14" and I access each element using text[0],text[1] etc does text[0] return an integer 0? or a character '0'? if it doesn't return an integer, how do I convert individual string element to integer type if I need …

Member Avatar for number87
0
165
Member Avatar for omotoyosi

Please all, I am currently working on a web application which i must submit as soon as possible. I have a button and a text box. What i want is that if the textbox is empty, the button should be invisible. Immediately the user starts typing in the text the …

Member Avatar for Geekitygeek
0
118
Member Avatar for lapassion

Hello everyone... I'm having a problem with RichEdit and its default scrolling behaviour. When a new line is added to a RichEdit (via a Timer OnTimer event), it autoscrolls to the bottom, which is fine. The problem is, while it scrolls to bottom, it also resets the horizontal scrollbar to …

Member Avatar for lapassion
-1
278
Member Avatar for Venom Rush

As the title suggests, I'm having trouble sorting the results of a union statement. I'm trying to sort the results by date descending and it's coming out ascending. [CODE=mysql] (SELECT a, b, c, d, e, f, date FROM table1 WHERE a=10 AND b=1) UNION (SELECT a, b, c, d, e, …

Member Avatar for Venom Rush
0
93
Member Avatar for genieuk

Hi, Ok.. i have some pages on my site that has a link like [code=text]<A HREF="<?php $websiteaddress ?>/webbuilder/downloads/download.php?filename=age_verification_popup.zip">Download</A>[/code] if you look carefully you will see using get in my below script i get the filename in this example [b]age_verification_popup.zip[/b] This is then sent to this script. [CODE]<?php @include ("/home/sites/genieuk.co.cc/public_html/includes/global.php"); // …

Member Avatar for Atli
0
124
Member Avatar for nadnakinam

Hi to all, page1 -- login page page2 -- secured page 1 [COLOR="Green"] No Problem[/COLOR], If user logged out successfully using logout button. session ends and doesn't allow user to go to secured pages. But... [COLOR="Red"]Problem[/COLOR], if user press backspace or back button in browser staying in page2, directed to …

Member Avatar for nadnakinam
0
252
Member Avatar for farsen

Hi. I have this console based Asynchronous VS project that works fine. And then i have a remoting project which also works fine. I want to edit the remoting project so it is non-blocking, using asynchronous calls. I´ve tried different examples, but I cant get it to work. None of …

Member Avatar for farsen
0
367
Member Avatar for avirag

I need one more help DdoubleD.In my application I have applied functionality for searching various string(form text) which are the combination of characters and math symbols. Now for varoius symbols like squareroot, cuberoot , fraction, exponent, power,we cannot enter them directly from keyboard.So I have made form text in such …

Member Avatar for DdoubleD
0
112
Member Avatar for saradha

hi all, i am new to c# ... i seek your help for a code snippet which can validate a form that is using asp tags like text box,a read only text box with a calendar control associated with it,a submit button which when clicked must validate the above said …

Member Avatar for saradha
0
120
Member Avatar for lotrsimp12345

Don't think you can pass any parameter unless you create a point in your main. [CODE] template<class T> void my_list<T>::show_sllist(my_node<T>* p) { if(p!=0) { cout<<p->data; show_sllist(p->next); } } [/CODE] Would i have to create a pointer of type my_node in main to show the list. [CODE] #include <iostream> using namespace …

Member Avatar for dkalita
0
104
Member Avatar for sushant17284

Guys, I need your help as I really can't seem to start on this query.I seem to not be able to come up with any logic. I have to create a query for a table. I have two tables in my DB . First one is a book table which …

Member Avatar for sknake
0
114
Member Avatar for Nickair

Hi i am looking for a good C compiler for windows vista. I found Visual Studio C++ 2008 express edition, will this work if im writing in c?

Member Avatar for Nickair
0
103
Member Avatar for lotrsimp12345

problem is that it prints out backwards, can't figure out a way to flip it. prolbem is with numbers[siz-1] which begins at last index not first. [CODE] template<class T> T my_vector<T>::show_vector(unsigned int siz) { if(siz==1) { cout<<"enter size of array is 1\n"; return numbers[0]; } else { cout<<"enter this statement"<<endl; …

Member Avatar for lotrsimp12345
0
89
Member Avatar for ttchiwandire

Hie everybody, Iam trying to insert multiple rows into a table at the same time. The form fields of the rows are defined as checkboxes in html. For example it requires a person to enter his qualifications by ticking appropriate checkboxes. Now a person may tick more than one checkbox, …

Member Avatar for network18
0
78
Member Avatar for wyett

So, I created a program that allows a user to create student, delete student, display all students, search students, and quit. They are labeled 1 - 5, respectively. However, if a user were to enter 1, create the student, be taken back to the main menu and typed in x. …

Member Avatar for wyett
0
191
Member Avatar for avirag

Hi!!! I have made a window application in which when a string is entered in textbox , the related links are displayed in listview. Since ,there can be any number of links related to that string. So,I want to display only 5-7 links at a time in listview and on …

Member Avatar for avirag
0
146
Member Avatar for kevlam

hello, I'm trying to create a database in SQL Server management Studio for a project. I have created a tabel named Employee and I have 14 columns. I need to set the firts column (Emp_ID) as Primary Key (accomplished) and then generate a unique number for each Emp_ID that I …

Member Avatar for kevlam
0
110
Member Avatar for AdventDeo

Is there any way to do this? I have multiple drop down lists and depending on which drop down is selected I want it to unset some sessions. Do I need to use AJAX for this?

Member Avatar for AdventDeo
0
218
Member Avatar for dqddani

Hello. This problem occured in a program that used dynamic memory, and the arrays were deleted and reallocated several times with varying length. It seemed to me that after deleting the arrays, the pointer is still pointing to some data with the same length. (And of course i didn't want …

Member Avatar for jbennet
0
516
Member Avatar for StarZ

I copied this code from the textbook, so the code should have no mistake? I typed the contructor file(I think thats what its called) and the actual codes. So the code looks like this: [code]public class TestCircle { public static void main(String[] args) { Circle spot = new Circle(); spot.setRadius(5); …

Member Avatar for StarZ
0
405
Member Avatar for EntangledDesi

The InputBox function needs to be used in a command button to prompt the user for a number. I know that the syntax is ([I]prompt, title[/I]), where[I]prompt[/I] is the message you want displayed inside the dialog box [in this case - "Enter a number"], and [I]title[/I] is the next you …

Member Avatar for EntangledDesi
0
99
Member Avatar for prefer

Hi everyone! I think I'll be on here allot from now on, pretty useful forum, well done! Anyways, I'm doing a project for school and it's got me stuck. See I didn't understand the error message the compiler gave me at first, but then I read it on ...some website, …

Member Avatar for House_of_Dexter
-1
257
Member Avatar for MrNoob

Hello here in k&r excerise of primitive calculator i get it and all but there something i think its weird and i don't somewhat get it here the getch and ungetch functions i don't get it's routine [code] #include <stdio.h> #include <stdlib.h> /* for atof() */ #include <ctype.h> #define MAXOP …

Member Avatar for MrNoob
0
314
Member Avatar for Vampdee

I have a really stupid question: In my job, once in awhile I have to perform maintenence on a client's website. I work for a small business so I don't have much staff to rely on, hence my post. I also do a plethora of other activities that have nothing …

Member Avatar for vuyiswamb
0
146
Member Avatar for TomW

I have a Crystal Report which has a background made up to match a work form that needs to be filled out with data queried & processed from the database. The finished report has only five single field values and up to six detail records (three fields in each detail …

-3
141

The End.