199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mcook228

I'm working on this program that implements the Horspool string matching algorithm. The program reads in a text file and searches for the pattern text provided in main.cpp. The StringMatcher class is supposed to return the index of the first letter of the pattern in the text and count the …

Member Avatar for iamthwee
0
2K
Member Avatar for muthumari

// My JSP coding. This is stored in the following path http://localhost:8080/vennila/test.jsp <HTML> <HEAD><TITLE>DataBase Search</TITLE></HEAD> <BODY> <%@ page language="Java" import="java.sql.*" %> <jsp:useBean id="db" scope="application" class="SQLBean.DbBean"/> <jsp:setProperty name="db" property="*" /> <%! ResultSet rs = null ; ResultSetMetaData rsmd = null ; int numColumns ; int i; %> <center> <h2> Results from …

0
108
Member Avatar for vaisakh

i have stored image in the database.how can i retrieve it a and display in asp.net webform. am not asking display thru datagrid.i have to put link to those images plz help me to solve this problem

Member Avatar for BlazingWolf
0
153
Member Avatar for blademaster

Does anyone have any idea how I would code this I'm having some trouble coding it, I would appreciate it very much if you could provide a code in C++. Been trying ot figure out this for couple days but keep getting syntax errors for some reason. 1.) let the …

Member Avatar for blademaster
0
63
Member Avatar for YoTaMiX

Hello to you all , I am having a little trouble in C , working with Files. for some reason , it doesnt copy to output file the first letter and jumps over 3 digits of the last number in the file . whats wrong , i cant find it …

Member Avatar for Salem
0
295
Member Avatar for AdamW

I have a Javascript that I want to access from several different web pages. I want to locate the .js file in the web root (httpdocs) folder and access it from different webpages in sub folders. I've tried setting the src attribute to the URL of the web root but …

Member Avatar for AdamW
0
77
Member Avatar for mrwilsondg

Hi Guys! I am newbie to MS-SQL Server and I’ve run into a very very serious trouble. My company/organization that I am currently with is running MS-SQL Server 2000 Standard and our problem is: MEMORY Out of my stupidity I upgraded our server’s memory to 4 GIG and to our …

Member Avatar for mrwilsondg
0
108
Member Avatar for Coach_Nate

Sorry for the crummy subject, but I have a serious problem here. I'm trying to check myself as I code and I keep having issues with seeing "old" code. I'm putting together an applet for a class assignment, and I have been periodically trying to view my code (what it's …

Member Avatar for jwenting
0
107
Member Avatar for puddin

Hello I read sessions and php but it's not exactly registering in my head that I understand it easily. On my site someone signups all is good they get their email and register sign in. I have them signup with a Desired Username, Email address and Password okay. Now when …

Member Avatar for DGStudios
0
194
Member Avatar for skeet123

I have just started to learn about stacks and have been scouring the net for information. I am having trouble coming up with an answer for this question: Suppose you were asked to add a function CountStack to the stack ADT that would return the number of items in the …

Member Avatar for proxy_x
0
109
Member Avatar for yaoyaolin

I'm in an entry level c++ class. My professor wants us to write a array project that keep a frequency count of each of the italic alphas, also keep a frequency count of other characters entered (numbers and symbols). The project output a frequency count of each italic alpha, and …

Member Avatar for Lerner
0
91
Member Avatar for kaun

I download turbo c++,but I can`t use ther a SHIFT key :cry: ( I can`t do // or #)it just ignore shift. :sad:

Member Avatar for Narue
0
715
Member Avatar for waldis

We were given a heap sort in a pseudocode: [CODE] ******* HEAP SORT ******* sift(A, l, r) ------------- f <- l s <- 2 * l temp <- A[f] found <- false while not found and s <= r if s < r and A[s-1] < A[s] then s <- …

Member Avatar for iamthwee
0
141
Member Avatar for Dj Enjoi

ok, i kinda feel like an idiot asking this, but here it goes simple setup for example purposes.: [B]#include<iostream> #include<stdio.h> using namespace std; int main() { system("cd\") return 0; }[/B] ok, as you've prolly already noticed, the CD\ will return an error saying that there is an invalid terminator because …

Member Avatar for iamthwee
0
108
Member Avatar for small_ticket

hi, I have a problem of concatenating 2 strings. 1 of the strings is defined in the code and the other one is asked from user. This small code must only concatenate these to strings but doesn't work... here is my code: [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> struct deneme …

Member Avatar for Narue
0
115
Member Avatar for puddin

I am so stressed, My membership signup was working fine. Now it's not emailing. It is entering into the database fine but not emailing can someone tell me what is the problem, Thanks Kindly I'm Exhausted... To session_id is to the person who just signed up. // Let's mail the …

Member Avatar for puddin
0
128
Member Avatar for jto

i have a *.dat file which is i am sending as attachment can any body help to convert this file in to text file or any other database format such as access /oracle etc

Member Avatar for Ancient Dragon
0
167
Member Avatar for jto

when i am using a data array and taking the character one by one in each array and inserting in to a table using codes but when i am getting inverted comma it is giving an error massage ' is any other method to convert text in database

Member Avatar for jto
0
150
Member Avatar for asnairwin

to start with c++, I got to know what is required to be added for starting c++ builder in a system where visual studio is installed

Member Avatar for Narue
0
70
Member Avatar for j1979c

[B][COLOR=DarkRed]Hello all, Just want to know if you guys can recommend me some good links where I can learn how to make a robot with keyboard interactivity using OpenGL GLUT. Thanks in advance... :cool: [/COLOR][/B]

Member Avatar for SpS
0
277
Member Avatar for crws416

HI all, I'm having trouble putting a GUI on an existing java server program i have. I have added a frame to the code but all it does so far is pop up, there is no interaction.. I've tried moving all of my functions accross but to no avail.. i …

Member Avatar for jwenting
0
111
Member Avatar for skalra63

one of my forms, when anything is done to it (opened saved etc) shows an error message. here is an image of the error message. anyone able to shed any light on this?

Member Avatar for skalra63
0
66
Member Avatar for nike123

IWhat exactly is the "unsigned" use for in sql and when should i consider using it?

Member Avatar for paradox814
0
195
Member Avatar for dp601

I have a question that i am having difficulty with. The question is to write a function that creates the following pattern given the height(number of rows)which must be even. Please help! * *** ***** ******* ********* ********* ******* ***** *** * Here is the code i have so far …

Member Avatar for SpS
0
137
Member Avatar for chaom79

Hi guys, Right now I develop a website that use Microsoft Access database. So, I've developed a database that store all my pics and videos. But when I tried to make a recordset (this is a command in Dreamweaver MX, as I use it to develop my web pages) to …

Member Avatar for campkev
0
78
Member Avatar for uwontlose

I have a mm-a940 samsung is there any thing I can do to tweak this phone for better

Member Avatar for uwontlose
0
89
Member Avatar for itstudent123

please can you help me in this BankAccount code i do it but the teacher remove some my code and ask me when i see complete i complete but i when i do it i have some error can you help me i will post my code the client code: …

Member Avatar for Phaelax
0
133
Member Avatar for BirdByte

I'm unable to format the date fields when I export from Access 2000. I'm trying to generate a report that has to be comma delimited, strings in quotations, and date as mm/dd/yyyy. Everything looks the way it should until I export. I get mm/dd/yyyy 0:00:00 everytime. There are several tables …

Member Avatar for Comatose
0
121
Member Avatar for gminis3

Im a beginner in C language and I have a problem with strings in array mostly. Question : User is required to input ID number, which consists of 7 characters. First 2 characters have to be Alphabets and the last 5 will be numbers. Example, AB12345 Task : Error checking …

Member Avatar for Lerner
0
194
Member Avatar for kevjeffers

I need help. Here is the homework problem: Write the definitions of the functions to implement the operators defined for the class dateType. Here's my code: Header: [CODE]#ifndef dateSType_H #define dateSType_H //dateType name changed to dateSType class dateSType { public: // ************ Mutators follow ************ void setMM(int month); //Function to …

Member Avatar for kevjeffers
0
107
Member Avatar for Foda_Bett

Hi y'all! I found this forum through google and I was hoping that I could get some help!! I've been assigneda rather odd assignment by my C++ teacher. I have a 2d array of names (names[17][20]) which has to be sorted alphabetically via selection sort, we can not use pointers. …

Member Avatar for Narue
0
2K
Member Avatar for ZenaNqld

New Problem... it keeps outputting both under and over par grrrrrrrrrr whats wrong with my if statement??!! [code] if (StrokeCount == 5 ) { cout<< "You are on Par Way To Go!!"<<endl; cout << endl; } else if (StrokeCount < 5) { Par = 5%StrokeCount; cout <<" You are "<< …

Member Avatar for WolfPack
0
89
Member Avatar for k_en

I am quite confuse between Visual Basic 6 & VB.net. Can someone please explain what is the different between these 2? I have some comment from my friend saying it is better to learn VB.net than VB since i am a beginner. Is the VB refer to visual basic 6 …

Member Avatar for zmind
0
163
Member Avatar for sarahjane

Hi, supposed to implement a game where the queen(counter) is supposed to travel over all 64 squares in 16 moves and it must highlight or mark squares allready passed over. Been at this for last two nights and begining to lose patience any help would be great, thanks. Code is …

Member Avatar for Phaelax
0
168
Member Avatar for ZenaNqld

Ok heres the problem ( and no laughing at my code!! ) I need it to change the value of the strokedistance to the holedistance when the strokedistance makes the holedistance less than zero. Any suggestions, ideas, tips, and it doesnt have to be specific to my problem maybe just …

Member Avatar for ZenaNqld
0
148
Member Avatar for chilllax

[PHP]<html> <head> <title>Participants</title> </head> <table align="center"> <tr> <td> <a href="http://www.officalhalo.com">Home</a> <a href="/tournament/FFA.htm">FFA</a> | <a href="/tournament/signup.htm">Sign Up</a> | <a href="/tournament/results.htm">Results</a> </td> </tr> </table> <body> <h3 align="center">Participants</h3> <?php $gamertag=$_POST['gamertag']; $eaddress=$POST['eaddress']; if (!$gamertag || !$eaddress) { echo 'You have not entered all of the required information.<br />' .'Please go back and try again.'; …

Member Avatar for DGStudios
0
131
Member Avatar for chelo77

Need help with a function that reads from a text file usins fscanf function. example say there is 20 stings that are 60 chars long on their own individual line. Does fscanf() read the whole text file or does it read only up to the carriage return. If it doesn't …

Member Avatar for Ancient Dragon
0
156
Member Avatar for Lunaticrr

Me again. Another stump. This time I have to recieve two inputs from the user and perform a few math operations using both those two inputs. Meaning I have [B]String a, b;[/B] for my two user inputs. Is it possible to get all 4 of my math operations, addition, aubtraction, …

Member Avatar for psodhi
0
168
Member Avatar for comwizz

Hello everyone, I am having some problem in reading the data inputted in a file correctly using linked lists. I think this might be because of having pointer next of type password class. Thanks, comwizz. The code is posted below. You may directly see the section if (reply==3) as that …

Member Avatar for comwizz
0
159
Member Avatar for butterflyTee

[CODE]# tpm.py # Take two inputs, age and years of citizenship, and returns eligibility for # senator and representative. from graphics import * def main(): win = GraphWin('Eligibility' , 400,400) win.setCoords(0.0,0.0, 4.0, 4.0) Text(Point(1, 3.0), 'Age').draw(win) Text(Point(1, 2.0), 'Years Citizen').draw(win) agebox = Entry(Point(2, 3.0), 10) agebox.draw(win) citizenshipbox = Entry(Point(2, 2.0), …

Member Avatar for butterflyTee
0
115
Member Avatar for Podge

I have been working with the new Studio 2005. I am creating several apps, one with multiple documents and some others that are more dialog box type apps. I have done some MFC in studio 6 (C++) but I would like to understand when it is better to use MFC, …

Member Avatar for eggsy84
0
320
Member Avatar for Saint48198

I'm trying to pass the valuee from the arrays for age, sex, and wTime to the cal_Fitness_Level function, but I can't seem to get it right. I either get the same level for everyone or garbage. code and data follows. [code]#include <fstream> #include <string> #include <iomanip> #include <iostream> using namespace …

Member Avatar for Saint48198
0
228
Member Avatar for AdamW

Hi I'm new here so be gentle! ;) I have a php form which poppulates an HTML <Select> tag with a list of approx 2500 items which consist of an id; a code and a name. The items come from a MySql database To make it easier to use I …

Member Avatar for AdamW
0
173
Member Avatar for Broomy

Hi, i'm very new to sql so to say i'm a bit confused is a bit of an understatement! I'm tring to set up a search facility so that results from multiple databases will come from just one form. A better way of explaining would be to show an example …

Member Avatar for DGStudios
0
938
Member Avatar for Acidburn

Hell ive written some code : [php] #include <iostream> #include <string> using namespace std; int main() { string a; string b; a = "ABCDEF"; b = "$"; a +=b; cout << a; if(a.find == 1 , "$") cout << "FOUND" << endl; else cout << "NOTFOUND" << endl; if(b.find == …

Member Avatar for Bench
0
157
Member Avatar for iamboredguy

I have a code in which I want to swap an element in a matrix with another. User inputs the row, column no of the elements to be swapped. But the code doesn't seem to work. Can somebody help? PS: The swapping starts in the snigleplayer() function. [CODE]#include <stdio.h> #include …

Member Avatar for iamboredguy
0
164
Member Avatar for newgurl

hello, Thanks to previous help which has gotten me this far. However, my lovely program, although looks great in theory doesnt do what its supposed to do. When I type in 3 words, it doesnt put them in order as it should. Can someone point out to me where I …

Member Avatar for WolfPack
0
308
Member Avatar for bg123

I am having trouble understanding classes, I'm new at this and have not had any problems with c++ until now. This is what I have so far. I was supplied the driver and cannot make any changes to it. Any help would be appreciated greatly. Thanks. [CODE]#include <iostream> using namespace …

Member Avatar for bg123
0
240
Member Avatar for ultirian

Ok so I have a couple of files within a C program diffrent files for diffrent things etc. What I want to know is, Can I open all the files at the beginning of the program (in main) and close it when the program exits or Should I write the …

Member Avatar for dwks
0
93
Member Avatar for johnhl007

Ok i am having a little trouble trying to figure out how to pull the x-cordinate from p1 and p2 so that i can use it later in the code to build a door. # This is a program to build a house in five clicks from graphics import * …

Member Avatar for Scagli3tti
0
470

The End.