132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jennifer84

I wonder if I have something like this where Replace is the same as/"contains": Number == 5. My question is if it is possible to put this: Number == 5 to a std::string in any way through Replace ? [code] #define Replace Number == 5 [/code]

Software Development c++
Member Avatar for Jennifer84
0
391
Member Avatar for hemamohanraj

How do i store images in the database and retreive them in vb.net? Please help.... Thanks in advance

Software Development sql vb.net
Member Avatar for bwkeller
0
88
Member Avatar for SolTec

I have a program that I'm building and I have a form load event that loads the data from a table, but when I try and load the data from a query I get an error. Here is my code: MyTable = MyDa.GetData() If MyTable.Rows.Count > 0 Then Dim MyRow …

Software Development operating-system vb.net
Member Avatar for Jx_Man
0
140
Member Avatar for Lensva

[code] #include <iostream> using namespace std; typedef unsigned short ushort; typedef unsigned long ulong; ulong power(ushort, ushort); int main() { ushort x,y; ulong z; cin>> x; cin>> y; z=power(x,y); cout<< z; return 0; } ulong power(ushort i, ushort j) { if (j==1) return i; [B]else return (i * power(i, j-1)); …

Software Development c++
Member Avatar for Lensva
0
99
Member Avatar for abhi287

Hi all I want to acess the rows from the excel database with first row the maximum value, then next row with less than maximum and then thired row with less than and so on.. from the same column. menas values will be displayed as -- first max,then less than …

Software Development java
Member Avatar for masijade
0
86
Member Avatar for null_guy

Elo guys, i have been trying to create a real-time graph for my application!! I'm using JFree_Graph! I have modifed a code so as to include a thread but eventually got errors. [copyrighted code removed] And the output is [QUOTE] Entering Thread Now = Wed Mar 12 14:58:16 EET 2008 …

Software Development java
Member Avatar for null_guy
0
285
Member Avatar for bradleykirby

Hi, How do I test Perl scripts in a web browser on a mac? Im using OSX 10.4.11. Ive got some documentation on how to edit the /etc/httpd/httpd.conf file, but its read only for some reason (even though Im on my own laptop). I also run MAMP and thought that …

Software Development apache perl web-browser
Member Avatar for bradleykirby
0
105
Member Avatar for _::suhanna::_

would you all help me? how do i do, when i double click at item using list view then bring and display the items at textbox and option button at the another form??please help me...im in urgent...thank you so much..

Software Development vb.net
Member Avatar for SolTec
0
1K
Member Avatar for newport

I'm trying to make a program that will ask the user to which file they want to sort, sort it, then output the sorted text into a user specified file. the text file will contain names and the program should make lowercase and uppercase letter the same. [CODE] #include<stdio.h> #include<stdlib.h> …

Software Development c
Member Avatar for jephthah
0
110
Member Avatar for fufu123
Member Avatar for leokuz

Hello! I have this simple Internet browser. It works “fine”, but I’d like part of the URL (most of it actually) to be predetermined (always same website, but different pages). For example, [COLOR="Green"]I want to be able to type only some middle part of the URL[/COLOR] & then click "[B]Go![/B]" …

Software Development vb.net web-browser
Member Avatar for leokuz
0
234
Member Avatar for Zelores

Hi, I just joined today and i need some help with python. I just started using python not to long ago in my intro programming class. We have an assignment coming up and i need some help. How do you get the sum of an integer. ie: you put in …

Software Development python
Member Avatar for Zelores
0
197
Member Avatar for spec80

Hi, I need to write a program that reads from an input file (input_equations.txt) the values of the numbers that will be inputed into a function to find the quadratic root of the 3 numbers. For example, the input file could contain: 1 0 1 1 3 -4 2 -4 …

Software Development c
Member Avatar for jephthah
0
173
Member Avatar for IT Girl

Hi everybody, can you help me to solve this problem ?!! I need your help please .. [COLOR=#000000](1) [/COLOR][COLOR=#000000]Define a structure named menuItemSpecificationType that stores ingredients in a menu item (string [4]) and a brief description of the item (string).[/COLOR] [COLOR=#000000](2) [/COLOR][COLOR=#000000]Define a structure named menuItemType with four components: num …

Software Development c++ data-structure
Member Avatar for lAmoebal
0
451
Member Avatar for c++noob

So I have a program i am writing. relatvely simple, but i am not sure what to do. the first I am trying to make a program that displays loan amount, monthly payments, and number of payments based on the input (annual interest rate), (number of payments), and (amount of …

Software Development c++
Member Avatar for lAmoebal
0
142
Member Avatar for zellex

Hello, I'm designing a C++ Program for a connect 4 game. I have the matrix set up, the test to determine if there is a winner, and now I need to design the computer to go against the player. This seems to be quite a challenge. First, I need to …

Software Development c c# c++
Member Avatar for mentkapto
0
1K
Member Avatar for monster597

Hello, I am new to java i am writting a small java program using threads to sort values in a array of integers. So far I have my array of integers but im having trouble writting the threads that do the actual sorting. Can anyone offer please offer me help …

Software Development java
Member Avatar for Ezzaral
0
102
Member Avatar for dokumen

i'm newbie here.. i'm not a programmer.. i'm really interesting with this kind of application.. it's a chat application.. it is made with asm.. it has 4 button: Join chatroom, Leave Chatroom, Kick and Send Text.. can any1 help me to modify this application so there are new feature like …

Software Development assembly
Member Avatar for jephthah
0
156
Member Avatar for kooljoycie

hi everyone, am new here and it's nice seeing all the notes u all dropped off for newcomers like me. please i urgently need help in java. started java for a while, even wrote the certification but i did not make it so i abondoned it for a while. right …

Software Development java
Member Avatar for Ezzaral
0
68
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]

Software Development c++
Member Avatar for hammerhead
0
150
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 …

Software Development java promotion
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 …

Software Development java
Member Avatar for masijade
0
79
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?

Software Development visual-basic
Member Avatar for hawisme000
0
79
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 …

Software Development c
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; …

Software Development c++
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 …

Software Development c++
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 …

Software Development video visual-basic
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 …

Software Development vb.net
Member Avatar for Jx_Man
0
162
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 …

Software Development c++ ios
Member Avatar for c++noobie
0
2K
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 …

Software Development c++
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 …

Software Development c
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 …

Software Development client-server java
Member Avatar for peter_budo
0
109
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..........

Software Development visual-basic
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 …

Software Development image visual-basic
Member Avatar for choudhuryshouvi
0
235
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

Software Development c++
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 …

Software Development shell-scripting
Member Avatar for rikxik
0
141
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 …

Software Development c mathematics storage
Member Avatar for VernonDozier
0
115
Member Avatar for mahibha

hi friends how to create data reports in vb6.0 thanks

Software Development visual-basic
Member Avatar for mahibha
0
75
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 …

Software Development
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??

Software Development c++
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........

Software Development vb.net
Member Avatar for zaouba
0
60
Member Avatar for nurulshidanoni

how to print output in the text format?

Software Development c++
Member Avatar for WaltP
0
67
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

Software Development python
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 …

Software Development shell-scripting
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 …

Software Development python
Member Avatar for jrcagle
0
120
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 …

Software Development c
Member Avatar for langzhen
0
119
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 …

Software Development python
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 …

Software Development c++ data-structure
Member Avatar for dougy83
0
109
Member Avatar for harshaaithal

i am a beginner ,just started using python from 1 week..... without using time.sleep()... i want a handler to call a function whenever timer of 1 sec expires repeatively....

Software Development python
Member Avatar for jrcagle
0
4K

The End.