199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for satish.paluvai

Memory allocation of variables declared in a program is ------ a) Allocated in RAM b) Allocated in ROM c) Allocated in stack d) Assigned in registers. which one is correct please tell me the answer in 24 hrs...

Member Avatar for desijays
0
97
Member Avatar for shaggysc96

I have come across a slideshow I want to use on my site. I am using coldfusion to write the site, but know very little javascript. I cannot figure out how to get the text to show up and change with each slide. I am posting all of my code. …

0
107
Member Avatar for 7arouf

hi can anyone tell me what do we mean by: system( "PAUSE" ); and system( "CLS" ); in C++ thanks

Member Avatar for Lance Wassing
0
562
Member Avatar for Caped Sam

Hi, I'm very new to C++ and I am getting the following error when I try to compile: [Linker error] undefined reference to `CSerial::CSerial()' [Linker error] undefined reference to `CSerial::Open(char const*, unsigned long, unsigned long, bool)' [Linker error] undefined reference to `CSerial::~CSerial()' . . . etc. This is the code …

Member Avatar for satish.paluvai
0
380
Member Avatar for Duki

Hey everyone, this is a big one. The question has asked that I define functions and then write the function main to test the functions I wrote. I keep getting the following error at my first cout in main: error C2679: binary '<<' : no operator found which takes a …

Member Avatar for Duki
0
583
Member Avatar for s1lang

Here is my problem I have a league system, however to input a teams score, I select the team via input of an int ID number (int) however I need to enter a the Team name (String) from the array. I cannot get it to work. Can someone please help …

Member Avatar for s1lang
0
89
Member Avatar for shy_wani

[I]hi..[/I] my system should select the maximum QuestionNum from one of the my table in the database. after all, i would like to increment the value QuestionNum to 1... but i keep on receiving error [B]"[I]Cast from type 'DBNull' to type 'String' is not valid." [/I][/B]this is my code... Public …

Member Avatar for shy_wani
0
260
Member Avatar for shsh_shah

Hi, I am going to ask a question which is small bit silly but for me not as i want to grasp this information in mind. The question is i have seen samples of different codes which have as following [code] Class A { int [] arr=new int[5]; public A() …

Member Avatar for shsh_shah
0
81
Member Avatar for nzd
Member Avatar for justinm
0
119
Member Avatar for Adam_Sanderson1

Hi i basically new to visual c# and i want to create a stock portfolio program to store my stock information, i have decided to use SQL server 2005, but i'm not sure if i should use mangement studio that comes with sql server to create the database or a …

Member Avatar for Adam_Sanderson1
0
91
Member Avatar for staneja

I was executing a simple core java application using JDK1.5 I wrote code and complied using javac it gave some errors that i fixed and at last it got complied successfully But when i tried to exeute it using java it gave me an error message Error in thread main.NoSuchMethodFound …

Member Avatar for vinod_javas
0
142
Member Avatar for nanodano

Is it possible to have a perl script and a bash script in one file? Like: [code] #!/bin/perl print "This is perl"; #exit perl #!/bin/bash echo "This is bash" exit 0 [/code] This is probably just a complicated solution to a simple problem. I have a perl script, and at …

Member Avatar for KevinADC
0
151
Member Avatar for nanodano

I have a very specific problem. Does s/// work with strings that are contained in single quotes? I've been debugging and I'm trying to replace a string that contains a $ in it. If I use double quotes, it works for the string up until the $. If I use …

Member Avatar for KevinADC
0
142
Member Avatar for vssp

Hi friends I am using mete tage to redirect the page in my php script.but the latest version firefox only not support the meta tag page redirect option -- unable pass the query string values. but older version its working correctly. How can i fix the issue . Please advice …

Member Avatar for vssp
0
82
Member Avatar for mahajanrahuld

[B]i want to disply the database content on webbrowser . The program writeen syntax free but it can not display anything on web browser [/B] [B]why ? [/B] [B]i can use the MS Access 2000 database[/B] [B]plz help me [/B] [B]code is ..[/B] [B]#!usr/bin/perl[/B] [B]use Win32::OLE; use Win32::OLE::Const 'Microsoft ActiveX …

Member Avatar for katharnakh
0
112
Member Avatar for vallala

<html> <head> <title>student details</title> <script language="JavaScript"> function sum() { window.document.form1.total.value=parseInt(s1.value)+ parseInt(s2.value)+ parseInt(s3.value)+ parseInt(s4.value)+ parseInt(s5.value); } function grd() { var s1,s2,s3,s4,s5,avg; s1=parseInt(window.document.form.s1.value); s2=parseInt(window.document.form.s2.value); s3=parseInt(window.document.form.s3.value); s4=parseInt(window.document.form.s4.value); s5=parseInt(window.document.form.s5.value); avg=(s1+s2+s3+s4+s5)/5; if((s1>=40)&&(s2>=40)&&(s3>=40)&&(s4>=40)&&(s5>=40)) { if(avg>=70) window.document.grade.value="distinction"; if(avg>=60) window.document.grade.value="a grade"; if(avg>=50) window.document.grade.value="b grade"; if(avg>=40) window.document.grade.value="c grade"; else window.document.form1.grade.value="fail"; alert("sorry u need to improve"); } alert("congratulations"); } function …

Member Avatar for vallala
0
81
Member Avatar for kenjutsuka

[code] void entry(int itemsales1[255][255], int itemcount1, string itemnames1[255]) { int count; char *days[]={"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}; cout << "Enter item's name: "; cin >> itemnames1[itemcount1]; for (count = 0; count < 5; count++) { cout << "Enter " << days[count] << " sales: "; cin >> itemsales1[itemcount1][count]; } return(itemsales1, …

Member Avatar for kenjutsuka
0
94
Member Avatar for ntredame

I can't figure out what I have wrong in teh following program. I am trying to count total characters, vowels, and consonants. I have even worked through it with a friend and neither of us can figure it out. The code follows: [code=cplusplus] #include <iostream> #include <string> #include <cstring> using …

Member Avatar for ntredame
0
4K
Member Avatar for Matt Tacular

I am making a tic tac toe game, and for the grid, I had originally made 9 variables to represent the grid's spaces, but instead, I would now like to use a single char array. I can make the array and print certain parts, but I can't change them. For …

Member Avatar for WaltP
0
97
Member Avatar for galmca

i've written a code for insertion in a linked list for all the 3 cases that is ...at the end,in the beginning & in between.....when i run this code then it runs successfully for insertion at end and in the beginning ,it is also showing no errors while compiling the …

Member Avatar for John A
0
179
Member Avatar for CRD
Member Avatar for 7arouf
0
76
Member Avatar for enggars

Hello. I have an ASP page that require printing. The page is about showing some data from database. I use the simple javascript printing : [B]javascript:window.print() [/B]The page design use some css templates. Well it does print. But it only prints the images and the texts. The print out seems …

Member Avatar for enggars
0
96
Member Avatar for yaya_star

i need a code, that generate a 100 array of size (10) and 100 array of size of(50), and 100 array of size of(100), and 100 array of size of(200),with random numbers, then for the 1oo array of size(10), in log file then for each array of the 100 array …

Member Avatar for jan1024188
0
262
Member Avatar for Cerberus

Hi, i've got a component that displays two JSpinners with a JOptionPane but the JSpinners are stretched across the dialog window. Does anyone know how i can format the JSpinners so they're smaller? Here's some of the code [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; public class TComponent …

Member Avatar for Cerberus
0
413
Member Avatar for blufab

I am creating a DefaultSingleSelectionModel subclass. Is there anyway to discover what component is the owner of the model from inside the model?

0
58
Member Avatar for collegestuffs

Hello i have an important homework assignment which is due up on mon 26th and i need a competent java programmer with netbeans expirence. Problem is as follows: It's a small project and i have basically designed all the forms and buttons needed etc. Now i need someone to link …

Member Avatar for jwenting
0
685
Member Avatar for A Yasir

[COLOR=#000000]Hi ! I have a problem in connecting JSP pages with My SQL database using JDBC connector. I m using:[/COLOR] [COLOR=#000000] [/COLOR] [LIST] [*][COLOR=#000000]For TOMCAT -- apache-tomcat-5.5.23[/COLOR] [*][COLOR=#000000]For JRE -- Java EE 5 SDK[/COLOR] [*][COLOR=#000000]For database -- MySQL 5.0.37[/COLOR] [*][COLOR=#000000]For JDBC -- mysql-connector-java-3.0.17[/COLOR][/LIST][COLOR=#000000] [/COLOR] [COLOR=#000000]JSP pages other than database working …

Member Avatar for A Yasir
0
294
Member Avatar for ajaxjinx

Hi, I am making a small software. As a part of the Command Line Interface I am supposed to include the "tab help facility" .Incase the user is typing a command and in between he presses the Tab key, the software should display all the avavilable commands. I am unable …

Member Avatar for vijayan121
0
989
Member Avatar for Gwtf

As the code was entered on this forum, I spotted the damn error. Sorry for noobing it up. >_<

Member Avatar for crazynp
0
85
Member Avatar for yaya_star

code of genertaing 100 arrays of size 10 with random numbers in it? in c++

Member Avatar for stymiee
0
72
Member Avatar for miaaa00

I have created the following stored procedure in sql server 2005.I m using asp.net with C# 2005. Can someone please rectify my errors why i m getting such type of the errors... [code] ALTER PROCEDURE CompanyStoredProcedure @uspcompanyid INT NULL, @uspcompanyname VARCHAR(20), @uspaddress1 VARCHAR(30), @frmErrorMessage AS VARCHAR(256) OUTPUT, @RETURNVALUE AS INT …

Member Avatar for davidcairns
0
618
Member Avatar for Fenerbahce

Hi, SELECT * FROM veriler WHERE (name LIKE '%in%') This line doesn't work in Ms Access, IN either. No error is given is well. But It works in SQL server. How can i do in Access? Thanks

Member Avatar for Henry Schubel
0
87
Member Avatar for FarnazM

I am trying to write the tic tac toa game using java.I have problems & in need of help....HELP

Member Avatar for FarnazM
0
58
Member Avatar for kapil.goyal

i have used a link button and write some code on click event of this. the application is working fine on my system but when i deploy it to server the link button click ebent not fired. can anybody tell me the reason?

Member Avatar for anupmca
0
76
Member Avatar for shmay

For my C class, I have to write a program where the user enters how many fahrenheits he will be entering, but the fahrenheits have to be in an array. So a dynamic array seems the obvious choice. In main, we can only have initializations and function calls. For example, …

Member Avatar for ft3ssgeek
0
212
Member Avatar for Zatnik

I've finished my assignment (messily) and it works well enough in the uni linux computers - but I can't make file input work at home under XP. I wouldn't have thought that the windows/linux change would make a difference with the JRE... (But then I'm new to this "com-puuuu-tah" stuff) …

Member Avatar for thekashyap
0
112
Member Avatar for ram maradola

[B]hi frinds this is ram, the following program is my problem, i don't know how to do this program plz help me [/B] create a GUI solution that displays a collection of some sort. The collection must minimally be 4 x 4 (four or more categories and then four or …

Member Avatar for thekashyap
0
103
Member Avatar for bkerr06

Hi all, I've been working on a program that simulates a racquetball match. The problem I am having is getting the match to end when one player is the clear winner of 'n' games. I've tried adding modules, altering loops, adding variables, etc. Is anyone able to help by pointing …

Member Avatar for liz517
0
812
Member Avatar for eeeman

Hi I am having trouble creating a system to log in to a system. If you look at a picture its like this. User selects thier user name from a dropdown box, and then select thier Picture(instead of typing in a password to login. There can I get more info …

Member Avatar for thekashyap
0
208
Member Avatar for kevinmscs

I have this class: [code] class Pizza{ protected: string desc; public: Pizza(){ desc = "unknown pizza"; } virtual string getdesc(){ return desc; } virtual double cost(){ return 0; } }; [/code] And one of its subclass: [code] class Small: public Pizza{ public: Small(){ desc = "Small"; } double cost(){ return …

Member Avatar for thekashyap
0
141
Member Avatar for guy40az

Does any one know of a complier that supports the 80 bit long double?? Or do you have any idea how to get one on VC++ 6.0 Thanks

Member Avatar for John A
0
226
Member Avatar for Duki

Hey all, I'm doing hw, and I did a desk-check for this program and got completely different answers than that of the computer when the program was put into the compiler. The question says to consider the function `defaultParam` void defaultParam ( int u , int v = 5 , …

Member Avatar for Duki
0
105
Member Avatar for lukis

Hi there, how can i Create non rectangular labels? I need to create a circular arena and the labels will be the seats. Thanks and Regards, Luke

Member Avatar for waynespangler
0
96
Member Avatar for kevinmscs

I have this error but cant seem to see why. This code compiled would give 1 error. Anyone please advise, thanks. [code] #include <string> using namespace std; class Beverage{ protected: Beverage *beverage; string desc; public: friend class Bev_Iterator; Beverage(){ beverage = 0; desc = "unknown beverage"; } virtual string getdesc(){ …

Member Avatar for Infarction
0
98
Member Avatar for B.Y

Well, I happened to download Dev C++ on my laptop today ... I jus wrote a simple "Hello World" program .... but when I compile & run ... compilation is successful but the result window flashes & disappears ... Can anybody plz help me with this?????????? Also, how can I …

Member Avatar for ~s.o.s~
0
96
Member Avatar for DATABASE

[COLOR=royalblue][B]hi [/B][/COLOR] [COLOR=royalblue][/COLOR] [COLOR=royalblue][B]i need help :lol: [/B][/COLOR] [COLOR=royalblue][/COLOR] [COLOR=royalblue][/COLOR] [COLOR=royalblue][B]how can i write a code (php) for "tell a friend" ?[/B][/COLOR] [COLOR=royalblue][B]i mean i want to tell a friend about a web page by sending an e-mail from the same page[/B][/COLOR] [COLOR=royalblue][/COLOR] [COLOR=royalblue][B]thanx in advance [/B][/COLOR]

Member Avatar for DATABASE
0
86
Member Avatar for guy40az

When you output data to the screen do you recommend using cout or printf, I must admit when I first starting using C++ last week I really liked cout. Now I like printf better, It seems easer to format the output like you need it. I am not really sure …

Member Avatar for ~s.o.s~
0
527
Member Avatar for algo_man

How to sort a number of elements in stack1 ordering with the smallest is on the top of the stack, and you can use temporary stack 2?? What is the idia and time complexity of your algorithm? Can any one push me to idea?:eek: I can do it with 3 …

Member Avatar for iamthwee
0
75
Member Avatar for jamello

Hi there folks. I am a wannabe in Java. Can you guys help in recommending books (e-books preferably) I can get to jumpstart me. I have got quite an experience in other languages like vb.net and c# so where or how do I start? Thanks for the help!

Member Avatar for Cerberus
0
102
Member Avatar for mrjoli021

I have an Excell file that I need to read to be able to bring the cells into a struct. I have tried using fstream and I get garbage. How can i go about this??

Member Avatar for iamthwee
0
91

The End.