199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mattb_25

Hey guys, i need some help with 2 programs that my teacher assigned me.. I just cant seem to figure them out. I'll type out what the program is, but I really dont have much code to show since I dont really know how to even get started so any …

Member Avatar for Ancient Dragon
0
110
Member Avatar for sarah24

Hi Experts! i need some help now i have written a code but my output is not correct its reading everything from text file but not computing it correctly,,,pls pls help. here's my code.... #include <iostream> #include <iomanip> #include <stack> #include <fstream> #include <string> using namespace std; using std::string; using …

Member Avatar for sarah24
0
108
Member Avatar for Dave Sinkula

I don't know the correct term to use in the title. It's been ages since I've messed with XML, and I don't use it in any professional way, nor am I headed that direction. (Before during and after this question, I will be searching [url]http://www.w3.org[/url] and other sites.) My question …

Member Avatar for Dave Sinkula
0
168
Member Avatar for sarahger9

Hi, I'm a beginner, so please forgive my inadequate knowledge. I'm am trying to write a program that searches one file for specific words and their replacements found in another file. As of yet, all I have is a program that opens my files and counts the words in them. …

Member Avatar for Ancient Dragon
0
135
Member Avatar for nathanpacker

Hey, this is kind of a dumb problem, but I'm stumped by it. I wrote a little script to track my morning bike rides, and I have a time field to put in the time that I rode. Mind you, this is not the time of the day that I …

Member Avatar for seagram
0
112
Member Avatar for thundaga

hey, i've been doing c++ for uni for a few months and have got an assignment which is giving me some problems... i have to use data from a txt file, import it into c++, perform calculations with it, then produce an output file which is to be made into …

Member Avatar for Ancient Dragon
0
134
Member Avatar for alsoumhi

Hi guys, how are you? I need your help in a tic tac game, I have created a program that asks a user to specify first the index whether [0][0],[2][1],[2][2],etc..and to enter the char letter either 'x' or 'o' but I don't know where is the wrong? can any any …

Member Avatar for Ancient Dragon
0
108
Member Avatar for eranga262154

Hi all, I have a console application, and I want to run it though a GUI. Its a simple GUI. Say there is a button called "Run", when I click the button need to execute the application do the task. Can you guys guide me to do it. I'm really …

Member Avatar for n.aggel
0
173
Member Avatar for claudiu_is

I have a Dialog window with a [INLINECODE]Button ko[/INLINECODE] and a [INLINECODE]JLabel l[/INLINECODE]. The button`s label refreshes at 1000ms from 5 to 1. There are 2 problems: the [INLINECODE]JLabel l[/INLINECODE] it`s not displayed before the counter starts, it`s displayed after that, and the button doesn`t work during the countdown, if …

Member Avatar for claudiu_is
0
157
Member Avatar for SheSaidImaPregy

I have retrieved a value from a query and need to put it into the Label called "lblViews". Every way I try, it says there is no instance for this object. How do I write/set the text of the label to the query I retrieved in the Page_Load method? Thanks. …

Member Avatar for SheSaidImaPregy
0
117
Member Avatar for padmaja_3

Hi all, I have written a query like this. [code] $dbh= DBI->connect("dbi:mysql:dbname=$database;host=$hostname", "$username", "$password"); $statement = "SELECT patient_intime from $table_name where patient_intime=$ARGV[0])"; [/code] I want all the "patient_intime" values to be retreived, where there are other columns(fields) also. Pls suggest me how to proceed. Thanks in advance. Padmaja T N.

Member Avatar for Reno0513
0
103
Member Avatar for SheSaidImaPregy

Since I have not found a way to add values into the header of my repeater, I was forced to use literals or a new DataList/Repeater. I only need to display a name and an ID in a header for a datalist, but cannot seem to make this happen! So …

Member Avatar for SheSaidImaPregy
0
188
Member Avatar for sean25hun

Iam after doing this program and it isnt working properly , it should give an output like january 1, 1900 february 8, 1985// random number january 1, 1900 may 25 , 1913 // random number january 1, 1900 august 6 , 1912 // random number [code] #include <iostream> using std::cout; …

Member Avatar for sean25hun
0
72
Member Avatar for kako13

Hi, I'm having problem reading a sequential file, I have done some searches all without any positive result. I trying to read a sequential file, but the problem is that the last record is read doubly. Any help would be appreciate. [CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> using …

Member Avatar for Narue
0
1K
Member Avatar for punkazz

Hi everyone! I am very new to programming and SQL. I have created (designed) an application for a school project; that now needs to be coded to be functional. I have been able to pull data from SQL without a problem; however, I am stuck on inserting data into sql. …

Member Avatar for punkazz
0
104
Member Avatar for Schmitty27

Hello thar, I'm working on a problem that needs to input data into a list in sorted order. So far I'm getting some output, but it ignores some of my inserts, (ie "Hammy" in this case) and the output is not sorted. I've looked at this for a while but …

Member Avatar for vijayan121
0
106
Member Avatar for tbathgate

[COLOR=midnightblue] HI all, I am very new to SQL server and have been working my way through a book to learn ASP.Net v2 and SQL by building a e-commerce site. There are 3 stored procedures which are used to implement paging from retrieving products from the catalog, which are either …

Member Avatar for BalochDude
0
119
Member Avatar for ronghel

im having problem in my last page.... i dont how to do mathematical equations in php wahuhu... i want to do is multiply the number of units he taken in the enrollment to 306. (20*306) then i'll add it with 6000 hows that...

Member Avatar for somedude3488
0
74
Member Avatar for ronghel

how to add and multiply all the numbers that stored in my database?.. huhu.. i need it asap huhu..

Member Avatar for ryan_vietnow
0
103
Member Avatar for nice_true

Hi! I have coded a project in vb.net. It contains code that retrieves around 15 lakh records from the database and displays them in a grid. I use data adapter and fill the dataset with it. Then I specify the dataset as the datagrid's datasource. Now the problem is that …

Member Avatar for nice_true
0
229
Member Avatar for Jusa

Hi, I'm having trouble removing objects from a list. It seems that when I remove single objects in a loop, the loop kind of skips elements in the list, not continuing from the point where the last removal occurred. I want to remove only certain elements from a list, and …

Member Avatar for pandu22
0
519
Member Avatar for BOUKHARI

I m VERY new to SQL I have 2 table of itemized telephone call statements made during the same month. Table 1 has all the telephone call records whereas Table 2 does not have all the calls . The common filed in both tables are dates and number dialed. Please …

Member Avatar for hollystyles
0
124
Member Avatar for tehloki

I'm trying to implement a Double-Linked List ADT in an array (contiguous memory only, no dynamic allocation at runtime). So far, all my code does is generate a seg fault whenever I try and add a new element. Here's the whole ADT, if anybody feels like looking over it. FILE: …

Member Avatar for Narue
0
126
Member Avatar for himanjim

Here is my code for an applet in java it runs well but shows error unreported exception java.io.IOException; at the functions highlighted in green I wanna ask the functions i've highlighted highlighted in green in code are supported in applets? Thnx in advance /* * Java(TM) SE 6 version. */ …

Member Avatar for masijade
0
106
Member Avatar for soda0091

I am trying to set up a java server page and mysql. I have installed jdk and all of the neccessary tools and drivers. I am using Tomcat for the servlet container. I have also set up an account with a password on mysql. I think that the only issue …

Member Avatar for masijade
0
591
Member Avatar for hawisme000

hello every1, really i need help on how i can make a login form that works and is connected to my database using ADO my frmlogin is composed of 2 textbox (txtuser,txtpass) and 2 command buttons (cmdlogin,cmdcancel) and my database name is (MAINDB2) inside MAINDB2 is (tblReg) fields inside tblReg …

Member Avatar for hawisme000
0
112
Member Avatar for balagangadharm

Can any one help me in generating a billing report in java without using any reporting tool. I should get the header, footer and pagebreaks.If the billing takes two pages then header should cum in first page and footer in last page..please help me I would be favourable for u …

Member Avatar for masijade
0
83
Member Avatar for dinkle

I am new to deplhi coding and need help and examples when it comes to browsing files, pulling out data from files, looping, retrieving data, saving files. Any links to examples or any thing pls help. Thanks

Member Avatar for dinkle
0
288
Member Avatar for Prozeen

Hi, how do I use the EOF function with an Excel spreadsheet? I'm thinking that the EOF needs a file number. But in my code below, I don't have a file number. What do I need to do? Any links, code, info available? Thanks.[code]Dim app As excel.Application Dim book As …

Member Avatar for Prozeen
0
725
Member Avatar for arvindishukla

Hi All, Small can some please let me know hpw to use logical OR in csh scripts, below is the code line which is not running and i don't know why it is entring in "if" statement, even though i'm inputing value "1", set ans = $< echo $ans if …

Member Avatar for arvindishukla
0
296
Member Avatar for step2stepgirl

I've tried so hard to do it but I couldn't so I really need help since I have to send it to my professor tonight so please HELP [code=cpp] class String{ char * const cp; // pointer to the first element int Alng; // the N# of the elements in …

Member Avatar for step2stepgirl
0
121
Member Avatar for othz08

can someone help me with my assignment ^__^ pls give me the code of magic squared that will ask the user to enter the size of array matrix thank you!! ^_^

Member Avatar for masijade
0
31
Member Avatar for dc101

Hello, I can't seem to find any example code where a 2-dimensional array is returned from the function. This is my code: [code=C] char *updateBoard(char board[3][3], int position, char piece){ //board is changed here //want to return new board return board; } [/code] any suggestions are much appreciated.

Member Avatar for alsoumhi
0
91
Member Avatar for driplet

I have the following code, but compiling error message: "cannot convert parameter 1 from 'float' to 'float " when I call flow(v1, v2, v3, v4). Could any one out there help me to find the problem and fix it? Thank you! [code] #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #define Length …

Member Avatar for Salem
0
294
Member Avatar for awo

i have a project on password authentication, and i have simulated and already implemented two very secure algorithms but i also need any body who could assist me with developing a password authentication technique that would not need any database for storing the database and it will not need any …

Member Avatar for awo
0
125
Member Avatar for jayz_raul

Hye there...any ideas or suggestion on to do PRINT function in vb.net? i really need an idea on how to develop it...

Member Avatar for jayz_raul
0
86
Member Avatar for Steven_C

Hi all, I am want to know how an array looks like and I need a sample code. Basically i want to know how to add, delete and edit records using an Arraylist. Can anybody help please?

Member Avatar for jwenting
0
140
Member Avatar for ubercat

Hi all. I'm a new member [I]I posted the following in the stickied book thread as it seemed the most appropriate place for it. That was 2 days ago and no one responded so I probably guessed wrong. If I shouldn't have reposted, then I'm sorry. Here is the post …

Member Avatar for kako13
0
114
Member Avatar for jaepi

Hello there, I would just like ask what to use if you want to know if a variable is of type wchar_t* or char* using it in a flow control statement. Would this work? [code=c++] void Check(void* pVarToCheck){ if(sizeof(pVarToCheck) == sizeof(wchar_t))){ cout << "Variable is wchar_t*" << endl; }else if(sizeof(pVarToCheck) …

Member Avatar for jaepi
0
988
Member Avatar for dt2611

Hey guys trying to compile code, and heres the error I receive. im fairly new to python programming so any help would be appreciated. thanks in advance. ms7538@ms:~/Desktop$ ./test.py Traceback (most recent call last): File "./test.py", line 10, in <module> class Panel1(wx.Panel): File "./test.py", line 22, in Panel1 bmp = …

Member Avatar for bumsfeld
0
84
Member Avatar for jimwalther

Hey, I have no idea why this code isnt working, im new to C++ so maybe im missing some fundamentals or something. But to me it looks perfectly fine.. the purpose of this program is to change binary into user code... if someone could help me out it would be …

Member Avatar for jimwalther
0
164
Member Avatar for loimarie

pls help me create musical note using assembly language codes. can you please give me the right code to be use. hi,can anyone give me an asm code to create a melody of certain songs...asm codes use to produce a tone do,re,me,fa,so,la,ti,do...please...asap

Member Avatar for loimarie
0
91
Member Avatar for DemonSpeeding

So I have a program with a specification file, implementation file, and a client file, I'll post all three but I know the problem rests in the client file. What's happening is that it reads the first team from my data file which I'll also post, and then it doesn't …

Member Avatar for DemonSpeeding
0
102
Member Avatar for zandiago

The assignment is : Write a C++ program that calculates the volume of 3 different geometric shapes. Your program should give the user a menu like the following and repeat until the user wants to stop. Volume Calculation Program Select the Number of Your Chosen Object 1. Dumbbell 2. Axle …

Member Avatar for zandiago
0
195
Member Avatar for torypoarch

thought that would get some attention. need solution to script found here [url]http://www.javascriptkit.com/script/script2/simpleimagetrail.shtml[/url] image pops up on right and left. just need it to show in right. no more flip flopping left to right. someone smart should be able to do this in 30 seconds or less. challenge? thanks in …

Member Avatar for orko
0
88
Member Avatar for ankit_nasa

[B]Run the algorithim for n>6. to introduce non- determinism, number each process 0..n-1; In each iteration, generate a random number r<=n.choose r processes randomly and allow only the chosen ones to execute the protocol. token sending/ recieving can be emulated by updating appropriate recieved[] bits. ignoring the diffusion part, see …

Member Avatar for orko
0
103
Member Avatar for diyerxa

Hello, I'm fairly new to VB.NET I'm trying to add a textbox to a tabpage, which neither exist at design/compile time. The TabControl1 already exists, but the textboxes and tabpages don't. Here is my code so far (without any way to add the textboxes). [CODE] Private Sub Button1_Click(ByVal sender As …

Member Avatar for diyerxa
0
319
Member Avatar for lampie

Hello! I have problem here... I want to separate 12-07-1007 into 3 parts, which are day(12), month(7), and year(1007). I have made a function to do this separation and it works well. But i wonder if there is exist a [B]function in VB [/B] to do the separation? Thank U... …

Member Avatar for ramlisarip
0
159
Member Avatar for KimJack

Hello All, I have working for this simple little thing for the past few days and I am stuck. Can anyone tell me or explain a regex formula that will extract words from xml. [B]Example:[/B] <person> Sue Smith <age> 32 </age> <sex> female </sex> </person> <person> John <child> <name>Jim</name> <age> …

Member Avatar for Ezzaral
0
95
Member Avatar for jmueller0823

I just finished a php MySQL query. Everything is great, except the date column doesn't format correctly. The date output looks like this: 1175114705 The date column prints from: echo $row['createdTime']; Ideas? Thanks.

Member Avatar for jmueller0823
0
154

The End.