199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for acoxia

Ended up solving it don't know how delete post however [code] include <iostream> using namespace std; /* * linkedlist.h * linkedlist */ struct node { int data; node * next; }; class linkedlist { node * hd; public: linkedlist(){ hd = NULL; } void add_to_end(int data) { //find end of …

0
85
Member Avatar for McCo

I need a complete help on how to use the flush() member function with ofstream, ifstream and fstream and also its use. P.S: Please provide an example for me to understand

Member Avatar for Lerner
0
124
Member Avatar for konczuras

Hello Everyone! I'm new to MS SQL, so this may be a dumb error, but anyway, I can't figure it out. I'd like to connect to an SQL server on the internet, I've a valid username and password, but it can't find the server. So, I've tried the following connectionstring: …

Member Avatar for konczuras
0
116
Member Avatar for M00nDancer

Well, I bumped into an interesting C++ problem last night while I was aimlessly surfing the Internet, and, of course, it caught my attention. It said something like this: "From a file it's read a text that contains a phrase, on a line. The program rearranges the letters in each …

Member Avatar for M00nDancer
0
148
Member Avatar for dipsn

I m working on a crawler and want to hash the urls that my crawler is crawled already. I have used hashcode() function but it is returning a null value. Is there any other efficient way for hashing them .Also i want to know abt hash functions related with string …

Member Avatar for destin
0
74
Member Avatar for abbineni
Member Avatar for ddanbe
0
42
Member Avatar for mKashif

Can Anybody help me out in setting webbrowser control project on localhost(Virtual directory ) . i am successful in using webbrowser control on web application but it runs on file system or web application with some specific port defined. how can i use by configuring it on virtual directory without …

Member Avatar for LizR
0
76
Member Avatar for mastr924

[code] /* * File: sets.cpp * ------------------ * This program deals with sets of lower case letters. * This program computes the union and intersection of two sets. This program * also checks if set B is a subset of set A and returns true if set B is a …

Member Avatar for mastr924
0
348
Member Avatar for benjaminbbozok

Hi All , it is my first post in this great forume , I am in a greate problem and i hope to find the solurion here , I created a datareport and used the (shape) object as a frame for each row in the report , my case is …

Member Avatar for benjaminbbozok
0
84
Member Avatar for coolbuddy059

I'am making a mini project on telephone directory management system. My lecturer wants me to submit the documentation of the project.I'm not sure about how to prepare my documentation of project.What to tell??????? the feature which I could add to make my documentation impressive.

Member Avatar for jbennet
0
81
Member Avatar for ChroNoS

is it possible to insert a character say " " (space) after every 2 characters in a string? using this doesnt seem to work : [CODE] Dim s As String s = "010001000100" s = Mid(s, 1, 2) & " " & Mid(s, 4) MsgBox s [/CODE] it adds space …

Member Avatar for ChroNoS
0
119
Member Avatar for Lumnous

Hello I'm new here and im a bit confused about a certain code i am trying to do. The code is for opening the file dialog and when the object has been selected it would be shown in the web browser or open any file, the code i have done …

Member Avatar for Lumnous
0
518
Member Avatar for SRWenner

I'm a total nubie. I thought it would be useful to download the source for an applet and study the code. I picked a wonderful applet by Don Hatch: [URL]http://www.plunk.org/~hatch/HyperbolicApplet/?size=513[/URL]. The code in the jar file is all in .prejava files. My IDE (NetBeans) doesn't know what to do with …

Member Avatar for jbennet
0
334
Member Avatar for Vaart91

i dont know pascal very well, so can anyone help me with this problem... for the given matrix A(n*m) with real type of elements: "create a file and write into it the elements of the matrix" "create a new integer file and write there only the hole part of the …

Member Avatar for LizR
0
102
Member Avatar for vijayg

Hi am printing pdf file with following code,But it does not print pdf in poper format.. it prints in stream ... private void button1_Click(object sender, EventArgs e) { try { streamToPrint = new StreamReader ("C:\\MyFile.doc"); try { printFont = new Font("Arial", 10); PrintDocument pd = new PrintDocument(); pd.PrintPage += new …

Member Avatar for LizR
0
171
Member Avatar for Achupa

Hi, can someone help me modify this code to achieve the following: Add methods to your Human that return collections of arms and legs. implement these methods by iterating through the collection of limbs and checking what type of limb they are. Note that you will need to use the …

Member Avatar for stultuske
0
124
Member Avatar for Entropy1024

I have a database working with VB6 and Jet. Everything works fine except that I now need the database to be accessed from a second machine on the network. It appears that only one person can be connected at a time to the database using Jet, is this correct? In …

Member Avatar for Entropy1024
0
122
Member Avatar for tanha

Hi, We are a group and want to make a forum using the j2ee technology, and I need your guide through the following: 1. Should we use any FrameWorks ? if yes. which one is better and simpe ? 2. If not using any Framework, then what you suggest ? …

Member Avatar for abheinav
0
113
Member Avatar for atman

Hello., I haveto check for non-numerci input, when reading numeric input. I know how to validate numeric input with while loop, but what if i need numeric input and user inputs alphabetic letter, any suggestions?? Thanx a lot! cheers!

Member Avatar for devnar
0
99
Member Avatar for muya08

am just a beginner and an getting the compiling error like:(warning: no newline at end of file) anyone who could help me out? [code=cplusplus] #include <iostream> #include <cmath> using namespace std; int main(){ int a; int b; int c; double p; double x1; double x2; cout<<"bitte lesen sie vier nummern …

Member Avatar for Ancient Dragon
0
72
Member Avatar for udaydesai

:) [B]hello friends[/B], [COLOR="Red"]plz help me regarding text editor[/COLOR]. text editor using javascript and edited text should inserted to mysql database using php. is it be possible to do. iam using many text area field in one form so how can i edit text in like text bold, edit font …

Member Avatar for Shanti C
0
146
Member Avatar for Renukavani

can anybody tel me ? to do in datagridview at runtime.actualy that s textboxcolumn. whenerver click the cell it should show the background imag. is it possible in C# windows.if u any idea plz help me out.thnks

Member Avatar for LizR
0
983
Member Avatar for ptaylor965

when trying to update a sql database i get the following error message on Update Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information the column UserID is the PrimaryKey any ideas would be appreciated Thanks Peter example code: …

Member Avatar for chan_lemo
0
268
Member Avatar for nouryn

hi,my program should plot a graph of two function and then get the intersection point and get the points on the x,y axis then i get the value of it in a function z and get the highest value of z i completed the program but there is a problem …

Member Avatar for stultuske
0
111
Member Avatar for ThomasBF

Hi there o/ My name is Thomas and I'm a C# Newbi looking for a project that I can join. I'm currently reading Head First C# and am batteling my way through abstract classes and interfaces. So I thought - what better way to learn then to get some reel …

Member Avatar for ThomasBF
0
192
Member Avatar for nabilchampion

Hi all I urgently need a tool that either convert java code to c++ or make reverse engineering diagrams of java code..like uml/sequence digs..etc…or explanation of the code…. If anyone have idea of such a tool then let me know please. Regards

Member Avatar for ithelp
0
164
Member Avatar for cwarn23

Hi and I am having 2 technical difficulties with a web search engine I have created. One is that the search bot comes to a url and never stops loading. Below is the current script I use to validate a url and to capture the information but my question is: …

Member Avatar for cwarn23
0
100
Member Avatar for dinilkarun

Hi all, How can I split a Progress Bar(wx guage) into two parts?. I want the first part to function normally and in the second part I want to display the percentage. I have attached a snap shot of what I am trying to achieve. Is this possible? Any help …

Member Avatar for dinilkarun
0
248
Member Avatar for lllllIllIlllI

Hi Guys, I was wondering if there was any way in which you can change the opacity of a window in wxPython. I would like to create a window that is mostly see through but so far i have found no way to do that. My program is a simple …

Member Avatar for lllllIllIlllI
0
94
Member Avatar for jsully1

I am taking a web design and development class and we have been thrown into MySQL along with java without much knowledge beforehand. Was wondering if anyone could help me with understanding how to query the database and update entries, as I am confused on how to accomplish this. I …

Member Avatar for jsully1
0
105
Member Avatar for rubentan

Is it possible to load database data into labels for viewing? i already know the query to return the data i want to show but i dont know how to put it into a label.. anyone got any ideas? i tried searching but so far i have nothing.. :c

Member Avatar for reena12
0
101
Member Avatar for smile4evr

hi all!... i have a small doubt... incase i have a database field for ID and i want my id to be of 5 digit field length... and append with zeros incase there are less than 5 digits... example if the number is 34 it should become 00034 please help!.. …

Member Avatar for smile4evr
0
76
Member Avatar for Bouzy210

Hello, I am new to daniWeb. I am creating a script but have run into a problem when it comes to printing the line number. [CODE]print for word in words: word = clearup(word) if word in dictionary: pass else: print word [/CODE] On the last line I want to do …

Member Avatar for Stefano Mtangoo
0
126
Member Avatar for DemonGal711

My assignment is to take in values that will create a maze, and then let the user traverse the maze by use of a stack to store values. I thought I had it down to it working, but now it isn't doing what it should and then it stops after …

Member Avatar for DemonGal711
0
101
Member Avatar for shiniboy

You are supplied with a group of implemented sorting algorithms (posted file sortTest.cpp). You may not change the prototypes or any of the provided code. You will add a main program to use the functions you are given. You will also add one additional function VerirySorted. This function will take …

Member Avatar for heerokeno
0
214
Member Avatar for Nasi23

Hi guys im getting some errors here and cant seem to find why? [code] #include <iostream> #include <iomanip> using namespace std; class Student{ public: Student (Mary, 100, 99, 88, 1); void getInfo(); void showInfo(); private: string name; double test1, test2, test3; int idNum; }; Student::Student (string n, double t1, double …

Member Avatar for Alex Edwards
0
138
Member Avatar for accorpc

Alright folks...I'm new to this visual basic stuff, and to the site. I am working on an assignment for a class...it'll probably look pretty easy to the rest of you, but I just can't figure it out. What I need to do is take the information from the input box, …

Member Avatar for accorpc
0
138
Member Avatar for Se7Olutionyg

[CODE=cplusplus]// CS 210 EDDIE CHEN // THIS IS PROGRAM 4 (ISBN-Check), a program that verifies ISBN. #include <iostream> #include <fstream> // REQUIRED FOR FILE STREAMS #include <cstdlib> // FOR DEFINITION OF EXIT_FAILURE #include <cctype> #include <string> using namespace std; // ASSOCIATE STREAMS WITH EXTERNAL FILE NAMES #define inFile "isbntest.txt" // …

Member Avatar for Ancient Dragon
0
184
Member Avatar for DevC++4.9.9.2

Hey, im trying to print what is stored in my 2d dynmic array from a file in my print function. However whenever i try to access information in the array, it crashes the program. maybe the array is not being passed back some how, im not sure, any information would …

Member Avatar for vmanes
0
129
Member Avatar for dcoorey

Hi All, I am having problems trying to write unicode characters to a version 10 Oracle database, using C++ and OLE DB (the same code works with MS SQL). If I insert a unicode string directly from PL SQL it works, otherwise I get nonsense when trying from my code. …

0
105
Member Avatar for afromong

Hi if i want to say if (int <= 0 || int is not a number) how could i do this i want to make sure that a positive number is input not a negative number or word or symbol hope this makes sense

Member Avatar for afromong
0
86
Member Avatar for PaladinHammer

Well, I need to write a program that uses enumerated datatypes, structs, and plenty of functions. Below is my current code: [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; void getInput(string input); void outputStudent(string student); void outputTeacher(string teacher); void outputStaff(string staff); void sendtoOutputStudents(string students); struct personDataType { …

Member Avatar for mrboolf
0
120
Member Avatar for atman

Hey guys! I'm trying to calculate the average for student marks using pretest loop, and for some reason i get the wrong result, even though the code looks proper to me., there are 7 questions all of them totaling 100%, i haveto return average mark i HAVETO use pretest loop. …

Member Avatar for Aia
0
145
Member Avatar for mrcniceguy

I have a page where people in a site selects search items.its a dating site. so there is this first drop down menu for gender which u select three options:thus looking for (all,Men,female) and another drop menu you select country which has two options:thus Country(all,.name of all the countries). Men …

Member Avatar for humbug
0
107
Member Avatar for jhuyenh

hey guys, i posted a encoding/decoding thread a litle while ago. i've gotten some what far on it, but now i just don't know how to write the most important part. the actual decoding. i need to essentially cut the secret message numbers (22384) and only use the first two …

Member Avatar for jhuyenh
0
108
Member Avatar for websurfer

Hello, all: have this general question on how to handle member's email in a site... what is the right way to setup an email-system structure, say like in dating site, where members can email between each other, and if a member receives a new email it will "show" new email, …

Member Avatar for humbug
0
166
Member Avatar for LincolnGurl

Hi All, Having already developed fixed-type binary tree classes in the past, I am reasonably familiar with the process of serialization and the graph topology of tree structures in general. However, I am currently attempting to implement a generalized C++ tree template and have absolutely no idea as to which …

Member Avatar for LincolnGurl
0
121
Member Avatar for phalaris_trip

I'm new to java (like a few weeks new), but coming from a C++ background.. This is going to sound retarded, but... can someone explain to me how I can make a BigInteger object to make it have the same value as another BigInteger object? That is they have to …

Member Avatar for destin
0
1K
Member Avatar for smile4evr

hw to add multiple conditions in a single update statement?? my project goes code like this... [code] If release.Enabled = True And nonosc.Enabled = True Then Dim rst12 As New Recordset Dim sql12 As String sql12 = "update Passport_Release_Information_N set Ename2='" & taker.Text & "' ,Any_ID1='" & takerid.Text & "' …

Member Avatar for AUGXIS
0
175
Member Avatar for afg_91320

how would i write a code that will take the values of one array and copy it to another? ex: array1 and array2 have 100 elements so would it be: [code] array1 [100] = array2 [100] [/code] or does that just pass a reference?

Member Avatar for skatamatic
0
2K

The End.