199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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. | |
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 … | |
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; … | |
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 … | |
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. … | |
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 … | |
[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 … | |
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... | |
how to add and multiply all the numbers that stored in my database?.. huhu.. i need it asap huhu.. | |
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 … | |
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 … | |
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 … | |
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: … | |
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. */ … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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!! ^_^ | |
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. | |
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 … | |
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 … | |
Hye there...any ideas or suggestion on to do PRINT function in vb.net? i really need an idea on how to develop it... | |
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? | |
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 … | |
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) … | |
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 = … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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... … | |
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> … | |
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. |
The End.