132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rainny

Hi, all.. Does anybody have experiencing on store the spoken word into database? For example, when the program hear the voice spoken by some person, the program can store the spoken word into the database? The database system use is MySQL. Anybody have any idea on it?

Software Development java
Member Avatar for rainny
0
112
Member Avatar for imput1234

Hey guys, I've got a beginner question about this for some reason the getline function will not work, does anyone know why? I can't seem to figure it out [code]int main () { string studentname; int test1, test2; cout << "Enter first test score"; cin >> test1; cout << "Enter …

Software Development c++
Member Avatar for imput1234
0
96
Member Avatar for llemes4011

I don't know how to word this very well, so please bear with me... Is there any way to get a java program to respond in different ways to the results of other programs? Like, if an integer in the other program (not written in Java) is greater than say, …

Software Development java
Member Avatar for llemes4011
0
203
Member Avatar for shiniboy

[CODE] #include <cmath> #include <iostream> #include <fstream> #include <iomanip> using namespace std; bool InitializeBoard(int** connectNBoard, int numRowsInBoard ); bool MakeMove(int** connectNBoard, int numRowsInBoard, int player, int columnChosen); bool DisplayBoard( int** connectNBoard, int numRowsInBoard); bool CheckWinner( int** connectNBoard, int numRowsInBoard, int numConnect, int columnChosen, int player); int main() { int numRows, …

Software Development c++
Member Avatar for ff4930
0
73
Member Avatar for macuhail

I am attempting to write a shell script that executes a query on a mysql database. It seems to run fine in the mysql panel, but not in the script. The code is: mysql -u username -ppassword -e 'delete from table where forumid = 25 and replace (title, ' ', …

Software Development mysql shell-scripting
Member Avatar for macuhail
0
88
Member Avatar for mmeyer49

I am having a tough time grasping functions =/ the book we use is pretty much useless. My problems are 1) Knowing what to put into the function ( ) 2) How to validate it ( nothing in the book about it) Any help or ideas I will greatly love …

Software Development c++
Member Avatar for freudian_slip
0
182
Member Avatar for lightzoutdeuce
Member Avatar for dhir13

Hi, I have some text file like with following structure (also attached). I want to extract only data in the form of an array: ------------------------------------------ 2048 52 429 425 398 200.000000 0 638 940 921 906 25 26 27 25 61 4096 213 1116 1371 398 200.000000 --------------------------------------------- Could you …

Software Development c data-structure
Member Avatar for Dave Sinkula
0
129
Member Avatar for jkun2

I have a project where i am having to create a doubly link list of persons, with lastname, firstname, and id number. Basically, how do I implement my compareTo method in my add method of dbl list ??? thanks in advance. Here is my person class: [code=java] public class Person …

Software Development java linked-list
Member Avatar for jkun2
0
132
Member Avatar for Smed

I'm currently working on a project that manages multiple notepad windows in a MDI client area. It runs just as I want it to, except that the notepad windows seem to freeze up and become glitchy inside of the parent window. I was told to look into using InvalidateRect, but …

Software Development c++ window-manager
Member Avatar for rdjusr
0
177
Member Avatar for hinduengg

Please help me find the sine series . My program is: [code] #include<stdio.h> #include<conio.h> #include<math.h> float facto(int a); int main() { int n,g,k,y; y=1; float s=0.0; float f=0.0; float l =0.0; float x; int t=0; printf(" limit is \n"); scanf("%d",&n); printf(" no. is \n"); scanf("%d",&x); x=3.14*(x/180.0); while(y<(n+1)) { g=y; if(g%2==0) …

Software Development c
Member Avatar for hinduengg
0
143
Member Avatar for axn

>>> line = '2008-10-27 12:05:54........... >>> time = line.split(' ')[1].split('.')[0] >>> print time 12:05:54 i would like to add 45 or so minutes to the time i am parsing from a line i have tried print time.timedelta(minutes=45) Traceback (most recent call last): File "<pyshell#44>", line 1, in <module> print time.timedelta(minutes=45) …

Software Development python
Member Avatar for axn
0
106
Member Avatar for Danjb

Hey, This is my first time on a VB forum so this may well be a long post, as there are many questions I've been wanting to ask over the years - sorry! Oh yeah, and I'm using VB6. 1) Is there a way to make "global" variables - for …

Software Development visual-basic
Member Avatar for carson myers
0
121
Member Avatar for kapil.tandon

SqlDataReader rdr = objCon.GetData("SP_BudgetID"); while (rdr.Read()) { txtBudgetID.Text = rdr.GetSqlInt(64); } i m getting an exception hw is it possbile to assign values from dataeader to the control like texbox and i want to assign these value into an array. wat is the way of doing it

Software Development
Member Avatar for ddanbe
0
152
Member Avatar for swbuko

I'm currently writing a program that takes in a function such as ( 7x+19 ) and I need to evaluate the function that user inputs at range of numbers. I've got the loop figured out to loop through my desired numbers, but I don't know what to call the function …

Software Development c++
Member Avatar for skatamatic
0
239
Member Avatar for askhan

I am using a for loop and i want to print anwer vertically with the number. but rite now i am getting the answer horizontally i also \n but no luck below is the code. public String getMultiStringInformation(int num, String str) throws RemoteException { String result = "\n"; for ( …

Software Development java
Member Avatar for askhan
0
80
Member Avatar for Rocket452

Hello, I am trying to display SQL query results in a GUI. Right now I am displaying the information in a standard TextBox, but I would like to be able to sort by the different columns and stuff like that, much like if I had a excel spreadsheet open with …

Software Development gui sql
Member Avatar for rapture
0
459
Member Avatar for chris5126

Hi guys, i have a ksh script that gets some info on processes and puts it into a temp file: [code] /usr/ucb/ps -auxxx|awk '{print $3," "$4," "$2," "$1," "$11}'|grep -v 0.0|sed 1d > $TMP [/code] It gets the following data [code] 0.8 6.2158230724046144 9918 oracle 0.3 6.2158200964043168 15298 oracle 0.2 …

Software Development oracle shell-scripting
Member Avatar for JeoSaurus
0
184
Member Avatar for BmeEng

Hi guys, I have written this program so far which reads and sorts numbers from a file...WITHOUT the sort function. It sorts from largest to smallest right now. [U][B]My Question:[/B][/U] [B]How do I make my program list the numbers from smallest to largest instead?[/B] [B]File contains the following:[/B] 2 1 …

Software Development python
Member Avatar for lllllIllIlllI
0
99
Member Avatar for Trades

I have this except from my program and would like to change the line showing the error to say red, how would I do that? switch (choice) { case 1: { printf("\nThank you for choosing the Del Mar Store"); printf("\nThe price you entered is: $%10.2f<<<<\n", (price)); printf("The Sales tax on …

Software Development c
Member Avatar for twek
0
197
Member Avatar for tyserman5674

Hi All, I am sure having problems with reading from a sequential file. I created a .txt file and placed it several places within the vb.net file folder for the program that I am writing. The problem is that when I try and run the program I get the message …

Software Development file-system vb.net
Member Avatar for tyserman5674
0
161
Member Avatar for jillcatrina

In my HR interview, i had one question. But , i did not answer for this. Can any one give me answer for this? How to display the statement without using semicolon in c programming? i mean, you should use semicolon anywhere in the program. jillcatrina <snip fake signature>

Software Development c c# c++
Member Avatar for ArkM
0
102
Member Avatar for smakos

please i am a final year student in one of the universities in UK and and i am developing a school portal for a secondary school as my final year project and the portal b/c of time i have narrowed to down the scope of the project to only handle …

Software Development java
Member Avatar for bobocqu
0
112
Member Avatar for paynegm

I have the code below and I keep getting an error saying that swap isnt a function. Just wondering if anyone had any idea why. Thanks void swap(double *x, double *y ){ double temp; temp = *x; *x = *y; *y = temp; void sort(double h[], int size){ int i, …

Software Development c
Member Avatar for ddanbe
0
111
Member Avatar for localp

i need to write a c++ function that could read in the values of a text file, but in the text file we need to eliminate duplicate values; for example we may have values like ;;;; this is a text file, and it contains the above students, there first name …

Software Development c++ file-system
Member Avatar for iamthwee
0
145
Member Avatar for Seamus McCarthy

Hey i'm trying to use this trim function i wrote but its going wrong for me. I can trim from the front but not behind, e.g. if i enter **bob it works but if i enter **bob** it just prints nothing. please help [CODE]#include <iostream> using namespace std; void trimFunction( …

Software Development c++
Member Avatar for iamthwee
0
577
Member Avatar for localp

i have a text file as follows; james nnnnnnnnn mmmmm kristy llllllllllllllllll oooooooo james pppppppp ppppppppppp james iiiiiii kkkkkkkkkkkk now for the out put, i want it as follows ;;;;;;; james nnnnnnnnn mmmmm pppppppp ppppppppppp iiiiiii kkkkkkkkkkkk kristy llllllllllllllllll oooooooo the code i wrote for this is as;;;; [icode] void …

Software Development c++ file-system
Member Avatar for iamthwee
0
598
Member Avatar for shruti23

hi Sirs, i m using vb6 and acess2000, crystal report 9. i want to delete *.tmp files created due to crystal report 9. i want this in vb6 through coding. pls help me. these files are created on partition and of 0 bytes. so, pls help me its urgent. thanx …

Software Development visual-basic
Member Avatar for vponline
0
1K
Member Avatar for BenPrince

Hi, OK, am new to .net and am having some problems I can't seem to work out. I have a form called frmExchange that has two buttons and a text box on. what I want to do is type something into the text box and then click one button (btnAdd) …

Software Development vb.net
Member Avatar for timothybard
0
85
Member Avatar for Stefano Mtangoo

Hi All' How can I embed images (.png, .gif, etc) into a single py file and call them in program I saw them in wxpy demo but how exactly to embedd them?? Appreciation, Steve

Software Development python
Member Avatar for Stefano Mtangoo
0
93
Member Avatar for imraan

how database can be created during runtime in java

Software Development java
Member Avatar for masijade
0
52
Member Avatar for begyu

I have a file containing numbers in the following form: (it has 4 columns and 5 rows and the 3rd row is an empty line) [CODE] (0.761249,0) (0,-0.42632) (0,0.42632) (0.238751,0) (0.636502,0) (0,-0.42632) (0,0.42632) (0.363498,0) [/CODE] and I would like to have like this: (and there would be a number "2" …

Software Development shell-scripting
Member Avatar for chris5126
0
101
Member Avatar for saurabhnovice

I have just started learning C#. Please help me out...

Software Development
Member Avatar for LizR
0
129
Member Avatar for Bebbe

Hello forum! I'm new to this forum, but I hope someone will take the time to help me, I have been grappling with this for days. I would very much appreciate it if you could help me understand what I'm doing wrong/where my thinking is off target. I find this …

Software Development xml
Member Avatar for Bebbe
0
85
Member Avatar for thebiff

Hi i have been trying to write a code that takes a picture and gets the odd valued pixels and turns them red, and also get the even values pixels and make them brighter. I am stuck and any help would be appriciated. [CODE]/** * Decrypt.java * Starter file for …

Software Development java
Member Avatar for PoovenM
0
127
Member Avatar for K1Kingy

I am trying to make a program that will connect to my shoutcast page and then retrieve information. Eg song,dj,listeners etc etc Now when I try to run a web request I get this error: "The server committed a protocol violation" The code I'm using is [CODE=C#] HttpWebRequest request = …

Software Development http-protocol web-server
Member Avatar for LizR
0
132
Member Avatar for twek

Hello, im not necessarily new to c++ but i cant seem to find a good way to get input from other devices other then the keyboard. To get keyboard input i have been using [ICODE]GetAsyncKeyState();[/ICODE] i was wondering if there was a similar function to get input from other input …

Software Development c c# c++
Member Avatar for twek
0
247
Member Avatar for plazmo

im having problems with the following code it works fine when i have the sleep in but without the sleep it writes the same number twice does this have something to do with the way the computer generates the random number? like based on the computers time? [CODE] using System; …

Software Development display
Member Avatar for LizR
0
227
Member Avatar for hamidreza2790

Hi I run a batch file by VB6. The bach file need to pass a text file and a string (such as abc). I used the following commands but I faced errors : Shell "n:\aa.bat " & "c:\a1.txt" & "abc " , vbNormalFocus Shell "n:\aa.bat " & " " & …

Software Development file-system visual-basic
Member Avatar for bushman_222
0
188
Member Avatar for aksshe10

Hey i am making an exe which is made for handiling vulnerable data so i wanted to know wheather i could save some data (like name, passwords,etc) inside an exe because ini files and registry is not very secure. please help!!!

Software Development c++
Member Avatar for ArkM
0
105
Member Avatar for q8_dreamy

Hiiiiiiiiiii,:( I got a serios problem this time.. I need to create report each field in the report has different condition so, when i write the select statement I can't put all conditions in one where clause because it will check all of them together!!!! I used select union all …

Software Development vb.net
Member Avatar for q8_dreamy
0
97
Member Avatar for smart_pc

using c we can develop an o s but where will it run or start to execute. who will execute the instructions of the kernel ? how to make a kernel,any idea or hint ? where do we get those low level services provided by assembly language functions ? there …

Software Development assembly c
Member Avatar for jbennet
0
110
Member Avatar for abrou

Hello, I've been pulling my hair out trying to figure out how to fix this. I don't have a lot of experience with OOP, so I'm at a bit of a dead end. I am getting an error: [QUOTE]error: expected class-name before '{' token[/QUOTE] The header file is this: [CODE]#ifndef …

Software Development c++ oop qt
Member Avatar for ArkM
0
298
Member Avatar for q8_dreamy

Hiiiiiiiiiiiiiiiii :) I want to create crystal report filtered with specific values Iam creating the report with wizard... if i filter just one filed then every thing goes fine, put if i filter more than one filed i got the following error when run: Error in File C:\Users\kisruser\AppData\Local\Temp\test {8D5AD4DD-CCD0-451E-BF1F-7E3E31F22880}.rpt: Error …

Software Development vb.net
Member Avatar for q8_dreamy
0
116
Member Avatar for schmidty169

This is for a school project: write a GUI application that will generate multiple 3 digit numbers and count how many times each 3 digit number appears. To make the program more useful, provide the following: A label that displays the 10 most common 3 digit numbers and the number …

Software Development gui
Member Avatar for LizR
0
109
Member Avatar for jakethesnake86

I'm still working on the same project as in my previous post, [url]http://www.daniweb.com/forums/post723480.html[/url]. Its a program that should serve as an assembly code debugger. For simplicity I only use one instruction, ADDI, here. The program should read the instructions from a text file, load the desired information onto the registers, …

Software Development assembly c++
Member Avatar for ArkM
0
129
Member Avatar for adetya

[code=java] public class GameOfLife implements GameInterface { private boolean[][] originalMap, // The initial cell configuration map, // The current cell configuration newMap; // The next generation configuration private GameGUI gui; private int generation = 0; private FileIO fileIO; // GameOfLife constructor public GameOfLife() { originalMap = new boolean[MAX_ROWS][MAX_COLS]; map = …

Software Development gui java java-swing
Member Avatar for masijade
0
178
Member Avatar for grisha83

Hello, I am working on small program that reads in a string consisting of minimum two words and a space between them. My dilemma is that i keep getting an error message. Can anyone twlm me what it is that i a ding wrong? here is my code: [CODE] #include …

Software Development c++
Member Avatar for vmanes
0
96
Member Avatar for dinilkarun

Hi All, I am using the following code to populate a tree control. The dictionary currently I am using is ‘dictFolders’ and its structure is defined below. lstFolders=[] lstFolders = ["A","B","C","D"] dictFolders={} dictFolders = {"A":["Obj1","Obj2","Obj3","Obj4","Obj5","Obj6","Obj7","Obj8","Obj9"], "B":["Doc1","Doc2","Doc3","Doc4","Doc5","Doc6","Doc7","Doc8","Doc9"], "C":["Link1","Link2","Link3","Link4","Link5","Link6"], "D":["Obj1","Obj2","Obj3","Obj4","Obj5","Obj6","Obj7"]} # Setting the root node text to the Action ID entered self.treeAction.SetItemText(self.treeAction.GetRootItem(),”Parent …

Software Development python
Member Avatar for dinilkarun
0
105
Member Avatar for phingphing

I tried looking high and low for a sample of writing a code for a Binary Tree, there isnt one or i must have missed it somewhere. This is what i would need in assembly language. [code] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; insert Insert a new node in a binary search tree …

Software Development assembly
Member Avatar for NotNull
0
3K

The End.