199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nurulshidanoni

How to count> Is true I do this programming? [code=C++] { int count; count=0; count++; for ( int i = 0 ; i < students.size (); i++ ) { for ( int k = 0;k<students.at(i).examcode.size(); k++ ) { if (students.at (i).examcode.at(0)=0) { cout<<count++<< " "; } } } } [/code]

Member Avatar for hammerhead
0
150
Member Avatar for majestic0110

hi all, hope you are well. Just a quick question, been googling this one for a while but not found anything yet: How does IIS deal with session state? Many thanks for your time.

Member Avatar for majestic0110
0
133
Member Avatar for jinalh

hi all, m facing some problem when m trying to use calendar in my jsp with spring:bind tags. like below::: [code=html]<input name="popca1" type="button" tabindex="4" value="..." class="dateButton" onClick="if(this.blur)this.blur();gfPop.fDemoPopDepart(this.form.dc1,this.form.batch_date);">[/code] & 1 hidden variable :: [icode]<input name="dc1" type="hidden" value="06/08/2001">[/icode] with this in html tag after body tag i include ::: [code=html]<iframe width=174 height=189 …

Member Avatar for peter_budo
0
157
Member Avatar for amitahlawat20

// runtime error encountered , cannot resolve symbol i ,please help!!! class promote { public static void main(String args[]) { byte b=42; char c='a'; short s=1024; int i=50000; float f=5.67f; double d=.1234; double result=(f*b)+(i/c)-(d*s); System.out.println( (f*b) + " + " + (i/c) + " - " + (d*s) ); System.out.println("result …

Member Avatar for masijade
0
105
Member Avatar for codered152

hello i m trying to write a program in which program ask for user quiz score input and after user enter all the score then the program needs to drop the lowest score but i m keeping getting stuck at math.min method its keeping giving me errors. and i m …

Member Avatar for masijade
0
79
Member Avatar for serkan sendur

select CASE WHEN FirstColumn IS NULL THEN '' ELSE FirstColumn END + ' ' + CASE WHEN SecondColumn IS NULL THEN '' ELSE SecondColumn END as ResultColumn from myTable

Member Avatar for serkan sendur
0
63
Member Avatar for rainelyn

i would like ask you how i can generate a multilple choice questions chosen randomly from a list of questions with anwers using functions in visual basic 6.0?

Member Avatar for hawisme000
0
79
Member Avatar for serkan sendur

today i came across to an sql problem from one of the threads in the database forum : to solve the problem i created a table named "names" having these columns : PKID | name | lastname and i entered some rows having the same values for name and the …

Member Avatar for serkan sendur
0
123
Member Avatar for baliw53

can someone help me how to make this one: write a program using two-dimensional arrays that computes the sum of data in row and sum of data in column of the 3X3 array variable n[3][3]. sample output: 5 9 8 = 22 3 8 2 = 13 4 3 9 …

Member Avatar for baliw53
0
96
Member Avatar for Jennifer84

I might wonder if I have an int vector like this and I want to achieve the averagevalue for Element 0-8 wich is ((1+2+3+4+5+6+7+8+9) / 9) = 5 What method could be used for this ? std::vector<int> Number(10); Number[0] = 1; Number[1] = 2; Number[2] = 3; Number[3] = 4; …

Member Avatar for Jennifer84
0
194
Member Avatar for scream2ice

hey evryone; I've created a matrix class (called fmatrix), and im facin a problem with one of the functions: read()......i cannot fill the matrix through keyboard as an input device and keep getting this error: error C2679: binary '>>' : no operator defined which takes a right-hand operand of type …

Member Avatar for scream2ice
0
140
Member Avatar for Mikecc2691

Hi. I am new to DaniWeb so I hope I am doing this right. I am an amateur VB programmer. I wrote a VB6 program that featured a fruit machine with changing letters in the windows. To add sound I used the code line (e.g.) MediaPlayer5.Play. My recollection is that …

Member Avatar for Jx_Man
0
108
Member Avatar for miss.A

i have to create application that ask user to input Lower bound and upper bound (both intger) greater than 1 and determins all of the prime numbers within the specified bounds, inclusive. and write function procedure prime that returns True if a number is prime. False otherwise. i also should …

Member Avatar for Jx_Man
0
162
Member Avatar for serkan sendur

function SplitText(text,count) { if(text.length > count) { var _temps = text.substring(0,count); return _temps + "..."; } else { return text; } } Example : var s = SplitText("serkansendur",5); s will be "serka".

Member Avatar for DangerDev
0
64
Member Avatar for stalk

Is it possible to make this operation? $musica = vyber_detaily_cd($EAN_kod); $ciste = vyber_detaily_media($EAN_kod); $cd=$musica.$ciste; How I join this variable? $ musica and $ ciste to one variable: $cd ? function vyber_detaily_cd and vyber_detaily_media($EAN_kod) select details of product which is in database and I need display this detail in shop basket …

Member Avatar for petr.pavel
0
75
Member Avatar for c++noobie

I have been doing c++ for somewhere between 1 1/2 and 3 months (I'm awful keeping up with time). I have a program (one of my first) that I have taken and added pieces to since I made it and it has come to be the piece of work it …

Member Avatar for c++noobie
0
2K
Member Avatar for Thirusha

I have looked around this site but have not found anything to help me. I have a jsp page which takes user input, the page is then posted to a servlet using ajax, the servlet then sets a bean value. My problem is that when i go back to the …

Member Avatar for Thirusha
0
113
Member Avatar for ORA-MAN

Hi there, IN C# I use this way to define any variable (X for example) [code] using System; /// <summary> /// Summary description for Class1 /// </summary> public class Class1 { private _X; public Class1() { // // TODO: Add constructor logic here // } public String X { set …

Member Avatar for ORA-MAN
0
108
Member Avatar for barbiegirl

hi everyone :), i wanted to create a little program with makes the divisions of the elements of a table i wanted to create a loop which will indicate if there's a number in the table then we should c "the division cannot be made", if not we will get …

Member Avatar for barbiegirl
0
195
Member Avatar for Chotaliya Divye

My Name is Divyesh Chotaliya. I am your new friend. I want a help from any people who is working with java or any one know abt my problem answer. my problem is I want to get all connected computer's IP address.the computers that are connected with server. so,i want …

Member Avatar for peter_budo
0
109
Member Avatar for stalk

Hello, I have problem with this:\ $conn = db_connect(); $query = "select * from albumy, ciste_media where EAN_kod='$EAN_kod'"; Is this syntax good, when I used two tables? Because when I used one table its go correctly and when I used two tables, its doing problems

Member Avatar for stalk
0
98
Member Avatar for someoneelse

I am trying to implement an example of the built in login and createuser wizard. the ony problem is, (and this may be really retarded of me) is that when i publish it out to a web server it doesn't work. Of course, it works perfect locally. Does the aspnetdb.mdf …

Member Avatar for jayakumarjesus
0
267
Member Avatar for EduardoAndres

Hello there! I don't know if this is the right place to post this question. If not, I apologize. I'm developing a web application that at some point of its processes has to update a table in a remote database. Now, this remote database is located in my client's office …

Member Avatar for mostafadotnet
0
277
Member Avatar for shahriar2403

I need to get a total of a specific column of a table of access db in a text box in my visual basic application. What should be the code? I am using adodc to connect with the database. Help urgent please..........

Member Avatar for choudhuryshouvi
0
1K
Member Avatar for crazymanzach

Hey guys, I'm to to the whole VB thing...actually new to software coding in general. I'm trying to build a media center app. I have a form with a FileListBox that will list the movies files located in a specified folder. I'm trying to figure out how to have an …

Member Avatar for choudhuryshouvi
0
235
Member Avatar for stalk

hello, I have a problem : What is it? Warning: Unable to jump to row 0 on MySQL result index 2 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 899

Member Avatar for stalk
0
135
Member Avatar for andrewcross

Hi, this is driving me crazy so hope you can help. It seems quite simple. Basically I have a simple site consisting of an index.php page that loads in the other pages using php switch case. This all works great. The trouble I'm having is cleaning the url with mod_rewrite …

Member Avatar for andrewcross
0
133
Member Avatar for hjjayakrishnan

Hey actually when we are usin the random function we generally tend to take all the no.s eg.random(5) 012345 but i wanted to take random from only a few no.s like 3 5 7 5 9 and not ny other numbers.. cud neone help me

Member Avatar for WaltP
0
65
Member Avatar for cdfd1982

A file is ELL[COLOR="Red"]P[/COLOR][COLOR="Red"]S[/COLOR]YST[COLOR="Red"]A[/COLOR]TL ELL[COLOR="Red"]S[/COLOR][COLOR="Red"]U[/COLOR]YST[COLOR="Red"]L[/COLOR]TL * * *[COLOR="Green"] : . [/COLOR]* * *[COLOR="Green"] :[/COLOR]* * H[COLOR="Red"]H[/COLOR]ULJKL[COLOR="Red"]O[/COLOR][COLOR="Red"]P[/COLOR]OA H[COLOR="Red"]P[/COLOR]ULJKL[COLOR="Red"]P[/COLOR][COLOR="Red"]O[/COLOR]OA * [COLOR="Green"].[/COLOR] * * * * *[COLOR="Green"] : : [/COLOR]* * and it is a long file ..... so output shud be where there is[COLOR="Green"] : [/COLOR]and [COLOR="Green"].[/COLOR] counting start from E and …

Member Avatar for rikxik
0
141
Member Avatar for aravindkishore

Hi every one, Why I am getting wrong time when I am using date('H:i:s').I am working on localhost. Please help how to get correct time. Thanks and Regards, Aravind Kishore.P

Member Avatar for aravindkishore
0
85
Member Avatar for kings

[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry …

Member Avatar for silviuks
0
74
Member Avatar for hajjo

Hey guys below a program that I have as my homework.I am not askign for the code, but on how the calculatio is being done.I am asking about the mathematics part.I dont understand how it is being caluclated. someone told me i need this formulas. P = (rho * g …

Member Avatar for VernonDozier
0
115
Member Avatar for sbv

Here is data EnqSrNo 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 11 11 11 11 11 11 11 11 11 11 …

Member Avatar for sbv
0
113
Member Avatar for vijukumar

how to show error message whenever the person enters wrong or empty text fields in th login form itself rather than linking to other error page? error message should be displayed just above the login text fields... please pass me the codes so that i can understand. thank you

Member Avatar for vijukumar
0
116
Member Avatar for mahibha
Member Avatar for waterfall

hi, im using VS.net 2005 for developing a web application.im using stored procedure for inserting records into database.i want to insert time and task for a selcetd employee but its not working. kindly help me.her's my stored procedure: [CODE] create PROCEDURE [dbo].[AssignAndStore] -- Add the parameters for the stored procedure …

Member Avatar for waterfall
0
157
Member Avatar for hjjayakrishnan

hey i just created a game of hangman in c++ with multiplayer facilities and stuff...but i wanted to add some music to it...could anyone help me??

Member Avatar for vmanes
0
104
Member Avatar for zaouba

every one help me out....i have to save msword file to a particular foder..i need code........

Member Avatar for zaouba
0
60
Member Avatar for nurulshidanoni
Member Avatar for asrekdal

Hi, I am working with a wx.Python ListCtrl attempting to edit data in the second column. Is there a way of detecting which column,row has been clicked? thanks -- andrew

Member Avatar for asrekdal
0
92
Member Avatar for aarya

[B]Intro[/B] Web application development was once simple, there was HTML and a browser. There was no dynamic or business data, so no business applications. But this simplicity lasted for a small while. Today we are forced to do many complicated application developments. This tutorial assumes that you have the knowledge …

Member Avatar for swosti
0
259
Member Avatar for learnbash

Hi Folks I need help about a script. Here are the detail of of Script. I have total 3 files which have following records. 1. file1 -> contains all userids 2. file2 -> random userids, some are present and some are not. 3. file3 -> ls /home file, whever directories …

Member Avatar for eggi
0
138
Member Avatar for fonz87

I got some programs that i need help with and it would be awesome if someone can help me out with them. I've been lurking around this site and hopefully someone can help me. Thank you I m writing a program that should take number n and output it's sum …

Member Avatar for jrcagle
0
120
Member Avatar for naju

the user posts from time input box.. now i need to check is that in time format or not ... how??? if he doesnot input time ... then i have to inset null time in db with time datatype .. how??? pliz help .. thanks in advance

Member Avatar for naju
0
75
Member Avatar for langzhen

Hey everyone, my group and I have this finals project that we'll have to defend. It involves ASCII characters for the table. We've managed to fix the table and everything but no matter what we do, our program won't compute. Here's the program: [code=c]#include <stdio.h> #include <stdlib.h> #include <string.h> #include …

Member Avatar for langzhen
0
119
Member Avatar for heshangho

Does any body know how to configure a wamp server or any related web help available for it?

Member Avatar for heshangho
0
98
Member Avatar for vijukumar

what will be the type for salary field? should i use decimal or integer? please let me know which is the appropriate one.

Member Avatar for silviuks
0
93
Member Avatar for vijukumar

why we use these files in php? please tell me why they have been used and how they work?

Member Avatar for nav33n
0
108
Member Avatar for jrcagle

I'm having an opaque moment. +5 brownie points to anyone who can enlighten. The plan is to write a unit-testing module for the wxCanvas widget (good progress there :) ) So I wanted a row of different objects (similar to MS Paint) on buttons; the behavior of the different buttons …

Member Avatar for jrcagle
0
117
Member Avatar for kylcrow

Hi all, I am writing a program to make a binary tree. I have all the class/structure part fine, I just want to make the program unbreakable. I am asking the user to input strings, and I am putting those strings into the tree as all lower case (I also …

Member Avatar for dougy83
0
109

The End.