199,114 Archived Topics

Remove Filter
Member Avatar for
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, …

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, …

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, ' ', …

Member Avatar for macuhail
0
88
Member Avatar for julseypart

Hi, i am trying to find a good final year project to do which is relevant to the modules im studying and course (bsc software development). I've thought of making an Online Backup Application / Manager which would facilitate the storing of files online with various other functions such as: …

Member Avatar for peter_budo
0
134
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 …

Member Avatar for freudian_slip
0
182
Member Avatar for Mattmans1

Hello to all at daniweb.com. I'm really hoping someone here can help me out. I need to complete a final year project at uni to graduate, i have taken database design and administration last year as a module which covers microsoft enteprise manager, creating tables, relationships, stored prcedures and triggers …

Member Avatar for dickersonka
0
96
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 …

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 …

Member Avatar for jkun2
0
132
Member Avatar for BoogyB
Member Avatar for brianmaddox
0
138
Member Avatar for kaushik259106

Hello all, I am trying to do something like this.I have did this before with C# and asp.net but it was long back and currently am not able to recall anything similar. This time i need to make it work with [B]vb.net and ASP.net[/B] I want that only a administrative …

Member Avatar for brianmaddox
0
108
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 …

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) …

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) …

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 …

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

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 …

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 ( …

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 …

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 …

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 …

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 …

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 …

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>

Member Avatar for ArkM
0
102
Member Avatar for ocbphoto

I can make the INPUT for QTY pass the value to my hidden field of quantity, what i want to try is something really easy. I want the user to choose the quantity and pass the variable to my form, please help Thank you for your time amigos OCB [code=php] …

Member Avatar for ocbphoto
0
284
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 …

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, …

Member Avatar for ddanbe
0
111
Member Avatar for stevehart808

Hi guys, I have a media player that opens its own window and works fine with Firefox but it's not working for internet explorer. Been trying for ages and lots of different suppose solutions but still no go. The only thing that happens when you click the link is, bottom …

Member Avatar for stevehart808
0
106
Member Avatar for jobojo

I am trying to write a simple program to calculate income taxes owed based on gross wages that are input by a user. The HTML page needs to accept the input (wages from 4 users) at once and then utilize a button to submit the information to an external javascript …

Member Avatar for jobojo
0
310
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 …

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( …

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 …

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 …

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) …

Member Avatar for timothybard
0
85
Member Avatar for BeEasy

Hi I'am doing an online cinema ticket reservation system and i have face a problem with the database design i have these entities: Movie, Branch, Hall, Seat, Admin and customer there is a relationship between the admin and all other entities except the customer which is the admin can add …

Member Avatar for timothybard
0
132
Member Avatar for RockNRoll

Im sure theres a way to do it in php , just point me in the right direction. I appreciate all the help i can get. :)

Member Avatar for RockNRoll
0
96
Member Avatar for cy163

Hello ALL, I did the following query. the EXPLAIN result showed 'NULL' in the 'key' colume, meaning that NONE of indexes have been used. However, indexes have been created on Name fields for both tb1 and tb2. I wonder why MySQL does not use the indexes to speed up the …

Member Avatar for varmadba
0
101
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

Member Avatar for Stefano Mtangoo
0
93
Member Avatar for imraan
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" …

Member Avatar for chris5126
0
101
Member Avatar for bigbadowl

Hi All I have following code running on Vista Business under IIS7. It works, but is incredibly slow (about 20+ seconds). I have the same code in Java and it's instant. It appears to be the line "int bytesRec = sender.Receive(bytes);" that is the killer I'm very new to ASP …

Member Avatar for dickersonka
0
1K
Member Avatar for saurabhnovice
Member Avatar for LizR
0
129
Member Avatar for mangel.murti

hi all, i made two commbox in my page cropcat,subcat.my coding is below.when i select a item form cropcat related subcat fetch from database mysql and displayed.but my problem here is that when i select item form cropcat page refresh and selected value not display in cropcat ?please help me …

Member Avatar for pritaeas
0
114
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 …

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 …

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 = …

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 …

Member Avatar for twek
0
247
Member Avatar for srijapnair
Member Avatar for peter_budo
0
99
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; …

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 " & " " & …

Member Avatar for bushman_222
0
188

The End.