199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for juan.s.duarte

I am having a problem writting a function to remove all occurences of a specific (user defined) integer from an array. Here is what I have so far. [CODE] #include<iostream> using namespace std; void menuDisplay(int& menuSelect); void remove(int intArray[], int& sizeOfArray, int removeItem); void removeAt(int intArray[], int& sizeOfArray, int index); …

Member Avatar for vmanes
0
209
Member Avatar for happyhappy

Hi, everyone out there I am new to Daniweb but have been reading the forums. I'm glad that I joined. I am in desperate need of help in coding a web page that grabs the name and email address of all the peoples from a database and then when the …

Member Avatar for SheSaidImaPregy
0
105
Member Avatar for sjcomp

I have shared pointers to an interface created through out the program. I also have a list of weak pointers to their implementations in order to call internal update function. The program works, but when I compile it I get warning C4180. The question is, how to get rid of …

Member Avatar for sjcomp
0
246
Member Avatar for pikkas

there a way to get this info about my tables in a text file or anything that can be copy paste . i have many tables so i cant write them one by one? Properties DateCreated: 08/05/2007 11:38:58 PM DefaultView: Datasheet GUID: {guid {A79F9FC7-D630- LastUpdated: 09/05/2007 12:18:31 AM 47FB-A227-EB5202999268}} NameMap: …

Member Avatar for K7AAY
0
125
Member Avatar for rafikul

[code=c] #include<stdio.h> #include<conio.h> void main() { float a=6; clrscr(); printf("%d",a); getch(); } [/code] here the output is some garbage value.here the error lies in %d instead of %f.for float value the identifier is f.is this the proper answer of my question?

Member Avatar for VernonDozier
0
100
Member Avatar for palej

Hey, I have a this `readblog.cs` file in projects `App_Code folder`, and at main folder I have `Blog.aspx -> Blog.aspx.cs` file. And I have a Table object in Blog.aspx file, called Bloglist, and I am trying to modify it from `App_Code/readblog.cs` file and i cant get it work. here's a …

Member Avatar for Ramy Mahrous
0
150
Member Avatar for sid_arth2020

Hi iam working on a problem given to me by my teacher.The problem is !.People from different states send their application to participate in the dance competition organised at the country level.Only 30 people will be selected to take par in the competition.Participants will be selected randomly from one state.No …

Member Avatar for plgriffith
0
79
Member Avatar for orico

Hello all, I have a few '<input type="text" />' controls on my ASP.NET 2.0 generated page. Every text-box control has it's specific tab-index. When I try to move focus to this specific text-box control on this page the focus is shifted to the window element instead of the control itself. …

Member Avatar for ~s.o.s~
0
103
Member Avatar for asifakram

hey...i am new to this site and also new using visual c++...and i need help in a project! i am asked to find prime numbers using for loop ! i cannot figure out how to write the program. please help sumone! i desparately need it within 4 hrs !! please. …

Member Avatar for plgriffith
0
163
Member Avatar for Ankita B

hi, im making login page using jsp.user names and password entered are matched wit the db. have placed db connection code in a java classlogin.java...The directory path is webapps->myfolder->all jsp and html files webapps->myfolder->WEB-INF->classes->test->login.java I entered the url in browser also perfectly fine..[url]http://localhost:8085/myfolder/mainpage.jsp[/url] i set the PATH and CLASSPATH variables …

Member Avatar for ~s.o.s~
0
180
Member Avatar for tedobg

You guys helped me a lot last time I posted so now that I have trouble i again turn to you :).Ok can someone tell me with what can I substitute the following code.It is supposed to get some lines and put them in strings. [code] system("cls"); string user,date,title,description; cout<<"Please …

Member Avatar for carnage
0
107
Member Avatar for Grub

I am writting a program that makes use of a vector of objects. Every time I add an object the windows system encounters a problem and needs to be closed. [code=c++] #include<iostream> #include<fstream> #include<string> #include<vector> using namespace std; class Catalogue { public: string vendor; string item; float price; int code; …

Member Avatar for Grub
0
98
Member Avatar for gallantmon1
Member Avatar for paurik

i devlop a java application which is intranet application. my appication is is clent-server application. but i have no idea how how can i deploy a jar file on client machine through remote machine.

Member Avatar for schoolsoluction
0
93
Member Avatar for dami06

Hi, I'm trying to create a little web page but when i try to log in using the username and password i put in MySQL database it doesn't do anything at all.which is when i click login it just goes blank. I don't know why this is. Could you please …

Member Avatar for dami06
0
154
Member Avatar for want_somehelp

hello friends iam not able to get logic behind solving the question mentioned below,,,,i tried a lot using various books.....online tutorials but at the end just lost it...... you ppl are kindly requested to provide me help in order to save my interest in programming..... ok the question is: Write …

Member Avatar for Agni
0
104
Member Avatar for kevin.george.it

I need help with representing quotation v/s sales followup in a s/w am developing for a company...the operator needs to be able to see position of all quotations made and the position for sales.How do i make a user friendly approach for this? Thankx..

Member Avatar for kevin.george.it
0
88
Member Avatar for Venom Rush

Hi there. I'm looking to create a site in the near future that will have a login system. What I'd like to know is: 1.) What different types of attacks are there against websites besides brute force attacks (been reading this thread on brute force attacks: [url]http://www.daniweb.com/forums/thread82966.html&highlight=login+security[/url]) 2.) Are there …

Member Avatar for Venom Rush
0
127
Member Avatar for missileh

Hi. I have a JAR file and want it to be executed on another machine in the network. I want to write an application that takes an IP address of a machine in the network and executes the JAR file on that machine. How can i do this??

Member Avatar for jwenting
0
73
Member Avatar for Thew

Hi, I am using this function: [CODE] function GetInetFile (const fileURL, FileName: String): boolean; const BufferSize = 1024; var hSession, hURL: HInternet; Buffer: array[1..BufferSize] of Byte; BufferLen: DWORD; f: File; sAppName: string; begin result := false; sAppName := ExtractFileName(Application.ExeName) ; hSession := InternetOpen(PChar(sAppName), INTERNET_OPEN_TYPE_PRECONFIG, nil, nil, 0) ; try hURL …

Member Avatar for Thew
0
208
Member Avatar for python_dev

hi, i have indy 10 installed on Delphi 7 personal, and am trying to load a simple text file on server using ftp here's my code [code] if ftp.Connected then ftp_Kitten.Disconnect; ftp.Host:='xxx'; ftp.Username:='xxx'; ftp.Password:='xxx'; ftp.Port := 21; ftp.Connect; ftp.Put('c:\ida.txt', 'ida.txt', true); ftp.Disconnect; [/code] and when i run my app, i …

Member Avatar for python_dev
0
571
Member Avatar for kalyanbabu

When clicking on the submit button when adding a new service, if errors exist, the focus of the page goes to the top of the screen when the submit button is clicked. The focus should stay in the service details panel so that the user can see the error messages.

Member Avatar for serkan sendur
0
78
Member Avatar for jokerjokerer

Here's good question for the gurus around here. So we got a wofstream output. In it I send using a recursive function time by time a CString data. Using off course the GetBuffer member to get a pointer to the content. The problem is that it works really good till …

Member Avatar for jokerjokerer
0
209
Member Avatar for jaasaria

this is the error i have... key column information is insufficient or incorrect. to many rows were affected by update. thx for viewing...

Member Avatar for jaasaria
0
93
Member Avatar for priyala

Hi, Can anyone tell me how to make VB forms an application as an installable something like an application. Thanks, Priya

Member Avatar for choudhuryshouvi
0
98
Member Avatar for wamuti

Hi guys. Can anyone please direct me to a site where i can read about multi threading for a begginner? All the sites i seems to be finding seem sketchy.

Member Avatar for John A
0
97
Member Avatar for sir avalanche

well i got some problems: 1. instead of 6 7 or 8, i get a value of minus 3 millions. 2. the money function isn't working 3. the for-loop of the program either never ends, or is only run once 4. and many more smaller problems (sorry that all the …

Member Avatar for Ancient Dragon
0
107
Member Avatar for technogeek_42
Member Avatar for technogeek_42

how can i use a string? what should i include to run string like "technogeek" is it #include <string.h> or what and what is the syntax for string

Member Avatar for Ancient Dragon
0
95
Member Avatar for kylcrow

I was given the problem to write a class called block cipher to take in a text file and output the same text file after it has been encrypted. I have to use this header file... [CODE]#include <iostream> using namespace std; class block_cipher { public: block_cipher(); // Constructor void finish(); …

Member Avatar for kylcrow
0
139
Member Avatar for technogeek_42

what code should i do to autorun a program to my computer using my USB? or just a program that will execute a start up and save it to the computer?VB6

Member Avatar for technogeek_42
0
323
Member Avatar for MKQ

Hello Everyone, Need your comments on : "Can over running of array lead to the catastrophic failures ? " May be the answer is YES. "Then, why does not c++ provide bound checking on array operations and who is responsible to prevent array overruns ?" regards, MKQ

Member Avatar for Duoas
0
84
Member Avatar for vbjenny

I searched thru all the PHP threads I could find relating to PHP & Forms and didn't quite find anything like what I asking. I am new to PHP and was wondering if someone could let me know why I am getting error HTTP 404 (Not Found) <!DOCTYPE HTML PUBLIC …

Member Avatar for nav33n
0
191
Member Avatar for lazyboy292

i have to write a code for compression of lines with redundancies. You are supposed to enter a line of code--for example(YES I CAN! YES I CAN! YES I CAN!) and your output should look like this (3YES3I3CAN3!) so the codes job is to count the number of times a …

Member Avatar for John A
0
109
Member Avatar for nandhini21

Hi pple I need help... How to retrieve data from a table in sql server 2005? I used databound for my dropdownlist in my web form. I hope my explanation is clear. Please help...advance thanks.. nandhini

Member Avatar for SheSaidImaPregy
0
131
Member Avatar for ywchong

How can i write a engineering code using Perl? Foe example, Connecting computer RS-232 PORT to collect data purpose Please advice

Member Avatar for ywchong
0
66
Member Avatar for CoolGamer48
Member Avatar for snowy_shoryu

the title says it all.. if any1 happen to see one , can post the link to me? thanx!! i need it to do my assignment .. but i cant find any program as long as that! tq! my assignment task is to find a program written by other ppl …

Member Avatar for TimeFractal
0
245
Member Avatar for janevblagoj

Dear Sir/Madam, I’m author of a video game called “Poppy And Rose”. I have made this game in the program language Delphi6, the game belongs in the “puzzle” tip and it is with logical elements. I think that my game with a little adjustment it can attract bigger attention, but …

Member Avatar for Micheus
0
174
Member Avatar for scushkadee

Hi. This is my first post. I have a MYSQL database, it has a title row, main img row, link row. I want to have a table that displays the main img (brings up picture) when the title and link rows are rolled over in a separate table. I need …

Member Avatar for scushkadee
0
80
Member Avatar for standardt

I have a gallery of thumbnails on a webpage, and when clicking on one of the thumbnail, the full image appears in a popup. All good, but the image in the pop-up loads only after the parent page finished loading, which can take quite long. It is my understanding that …

Member Avatar for badda
0
193
Member Avatar for andyg55

Hi guys, I have an array which reads in a file and displays it to the screen. The output is as follows: 1 0 0 2 0 0 3 0 0 4 1 2 5 1 2 6 0 0 7 3 4 8 5 6 9 7 8 10 …

Member Avatar for VernonDozier
0
295
Member Avatar for AJG

My first attempt at programming using Python was to make a calculator for an online game I play called AstroEmpires. The user can input the number of bases they have, the shipyards on each base and the base's production value. They then tell the program which ship they wish to …

Member Avatar for AJG
0
395
Member Avatar for GPXtC02

As the title states.. is it possible to pass two variables back from a float function.. one through 'return variable' & the other through reference? If it is i will post the code.. but after hours of debugging & the program is still not recognizing the changed reference parameter (but …

Member Avatar for GPXtC02
0
87
Member Avatar for Dio1080

I been trying to import the list in the text file to the word doc, the thing is, is that I can only get the last line on the text imported while I'm missing the rest of the top. Can somebody help please? [code] import java.util.Scanner; import java.io.*; import java.util.*; …

Member Avatar for iamthwee
0
162
Member Avatar for raghuramos

hi everybody...can anyone please help me on this...i have a gui in wxpython. it works perfectly on windows (i've a dual boot comp). but when i run the same code on ubuntu-gutsy it crashes with the followin msg... /gui$ python App2.py python: /build/buildd/libcairo-1.4.10/src/cairo-surface.c:990: _cairo_surface_release_dest_image: Assertion `!surface->finished' failed. Aborted (core dumped) …

Member Avatar for woooee
0
85
Member Avatar for dirk_gently

Hi all! I'm having some trouble computing the time complexity of the following code: (A and B are doubles greater than 1) [code=c] void do(int n) { if (n<=1) return; print(n); do(n*A/(A+B)); do(n*B/(A+B)); } void print(int n) { int i; for (i=0;i<ni++) printf("-"); } [/code] He's what I got to …

Member Avatar for dirk_gently
0
169
Member Avatar for CAInc

Goodday all, Just tried to install MSDE, no sooner then i click the intall icon, i get this message "A strong SA password is required for security reasons. Please use SAPWD switch to supply the same. Refer to readme for more details. Setup will now exit." Now i took a …

Member Avatar for jazzydancer
0
547
Member Avatar for sjcomp

Hello, I have a vector of smart pointers and I'd like to NULL smart pointers in reverse order. Smart pointers are done with boost::shared_ptr<>, this is the code: [code] // List of pointers typedef boost::shared_ptr<int> TSmart; std::vector<TSmart> Vec; // Make sure that everything is NULL std::transform( Vec.rbegin(), Vec.rend(), TSmart()); [/code] …

Member Avatar for sjcomp
0
114
Member Avatar for prljavibluzer

Well, this is what we got for writing this holidays at school using plain C and the most simple methods. Any solutions available? Create program for defining hierarchical file-system structure in which node can be file or subdirectory with limitation that file can only be a leaf. Capabilities that program …

Member Avatar for prljavibluzer
0
124

The End.