199,114 Archived Topics
Remove Filter ![]() | |
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); … | |
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 … | |
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 … | |
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: … | |
[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? | |
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 … | |
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 … | |
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. … | |
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. … | |
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 … | |
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 … | |
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; … | |
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. | |
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 … | |
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 … | |
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.. | |
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 … | |
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?? | |
![]() | 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 … ![]() |
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 … | |
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. | |
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 … | |
this is the error i have... key column information is insufficient or incorrect. to many rows were affected by update. thx for viewing... | |
Hi, Can anyone tell me how to make VB forms an application as an installable something like an application. Thanks, Priya | |
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. | |
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 … | |
| |
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 | |
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(); … | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
How can i write a engineering code using Perl? Foe example, Connecting computer RS-232 PORT to collect data purpose Please advice | |
nvm - this topic can be closed sorry for wasting space | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.*; … ![]() | |
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) … | |
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 … | |
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 … | |
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] … | |
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 … |
The End.