6,015 Topics

Member Avatar for
Member Avatar for tKc

I need help in reading a text file and by using a switch statement the user can either press 1 to find the average of all the integers in the text file, and by pressing 2 they find only the averages of the real numbers in said file. This is …

Member Avatar for NathanOliver
0
333
Member Avatar for Magic_Turtle

Hi everyone, Im new to coding and php and need some assistance on how to read php information from a file and display it in an html table. Basically the site my teacher has asked me to make is one where i can type in a url, link text into …

Member Avatar for sudeepjd
0
750
Member Avatar for Sorcher

Hello. I am making a register/login function, and i want the user to be able to upload files to his account, and can later view these files. I wonder how i can make the upload script insert data in a mysql table only for the current user uploading, i dont …

Member Avatar for ryan311
0
1K
Member Avatar for yabuki

I created my own header file in C by creating the ff. files: myfile.h, myfile.c and main.c.Afterwards, I compiled myfile.c so I already have the object file for it, but the problem is when I compiled and run main.c this error message appeared: "Undefined symbol _sum". Please help me to …

Member Avatar for xmelx
0
383
Member Avatar for Milton Neal

Hi All This is more a discussion than a problem. :) I’m working on a small project that needs to be done in C++. Part of it requires that I maintain an array of file streams so that I can open serveral files at one time, read, write exchange data …

Member Avatar for Narue
0
245
Member Avatar for frazehmad

Hi, I'm writing a script where user upload any video file and my script converts the video in flv format. Since video files are very heavy in size (I want to give upload limit of 10MB), it takes much time to upload. I observed, when we upload any file to …

Member Avatar for frazehmad
0
3K
Member Avatar for developer_2010

hi First post here, im currently developing a little application which needs to export the data from my datagridview to a csv file. So far I have: Dim gridData(DataGridView1.Rows.Count - 1) As String For Each r As DataGridViewRow In DataGridView1.Rows If r.IsNewRow Then Exit For Dim cellValues(DataGridView1.Rows(r.Index).Cells.Count - 1) As …

Member Avatar for developer_2010
0
369
Member Avatar for tKc

I need help in reading a text file and by using a switch statement the user can either press 1 to find the average of all the integers in the text file, and by pressing 2 they find only the averages of the real numbers (only positive integers) in said …

Member Avatar for Ancient Dragon
0
476
Member Avatar for G_S

Hello, Now I'm making a program for creating language glossaries, but the problem is that windows uses ANSI for encoding text files, and the program that will read these files (which is not mine) only displays words in utf-8 encoding. Since my program is multiplatform, it can also work under …

Member Avatar for woooee
0
7K
Member Avatar for mastercangel

Hello, I have a pretty peculiar problem. The internet connection at my house connects fine on any of our laptops/desktops. But I can't seem to browse online or play games that require authentication or use msn . BUT(once again), I CAN stream online radio from my Itunes, I can download …

Member Avatar for CimmerianX
0
293
Member Avatar for xZombeast

I'm trying to create a console uninstaller for my friends, since they use addons for left 4 dead, and I am trying to make this to remove them before they update.. heres the code so far [CODE]using System; using System.IO; class Test { public static void Main() { // Specify …

Member Avatar for Momerath
0
254
Member Avatar for martin_anastaso

Hello all, I have encountered a very bizzare (at least for me) problem when writing the output from my program to a file. I've written a program to solve numerically mean-reverting SDEs. The program takes some parameters and returns several dynamic arrays corresponding to the number of SDEs I have. …

Member Avatar for martin_anastaso
0
1K
Member Avatar for ayesha789

Hi I have to develop a code for file configuration in PHP. My basic text file is stored in C:\abc my text file name format is Mobile#_Code.request Example: 923135470808_9033.request Now I want to read code 9033 from the name of text file which always be there after _ and before …

Member Avatar for ayesha789
0
267
Member Avatar for killbill07

Hey, I'm new here and I wanna know how can I use the default Windows folders in my code in VB 6. For example, in VB.Net I can use My.Computer.FileSystem.SpecialDirectories.MyDocuments shorcuts to know the path of folders like My Music, My Docs, etc. But I don't know how to do …

Member Avatar for cguan_77
0
157
Member Avatar for ilaref

Good day everyone! I'm currently working on a project and i need to open a text file and read a specific word. As of now, i already know how to open a text file but my problem is i don't know how to read a specific word in a text …

Member Avatar for sundarchum
0
614
Member Avatar for swornavidhya_m

I've created a seperate html files for navigation, content and footer. I want to club those files. All the navigation, content, footer files resides in the same directory where the index.html file resides. I want to include the above mentioned html files inside the index.html. I have tried using the …

Member Avatar for Dandello
0
181
Member Avatar for dalip_007

Hi Guys I require a Java applet (and web service on server) permitting upload of large files to the server. Client side: The applet UI should simply permit selection of a file for upload from the local directory structure. The server URL will be hard-coded in the applet. When the …

Member Avatar for dalip_007
0
155
Member Avatar for Metsuba

[CODE]using namespace std; #include <iostream> #include <fstream> #include <string> #include <cstring> int main() { ifstream InStream; string InFile; string InToken; cout << "Please enter the filename: " << endl; cin >> InFile; InStream.open( InFile.c_str(), ios::in ); if (InStream.fail()) { cerr << "Unable to open '" << InFile << "' for …

Member Avatar for Metsuba
0
75
Member Avatar for Matthew N.

I have watched alot of Java tutorials on yutube, but they all say to go to [url]http://www.sun.com/[/url] and get the JKD, but there is about 7 downloads labled JKD and java development kit, so can somebody please give me an exact download link, i want to have a look at …

Member Avatar for Matthew N.
0
153
Member Avatar for eyeripper

I have here with me a file the extension .00r. This file contents pictures and indexes coming from a software named Workbench. Is there a software that i can use to open this file and see the actuals files. I think this files are encrypted because when i open it …

Member Avatar for eyeripper
0
209
Member Avatar for TheBaby7591

I'm supposed to create a program that reads in the name of a file, then takes the names of students, which are listed (last, first, m) and concatnate the first with the last (firstlast) and add .dat at the end for each student to open a file with and unknown …

Member Avatar for TheBaby7591
0
114
Member Avatar for dschuett

I have downloaded and implemented Uploadify because users were tired of having to browse to each and every file they needed to upload(since this is used for uploading multiple pictures) allows a user to select multiple pictures at once without having to click a "BROWSE" button to go fetch each …

Member Avatar for P0lT10n
0
228
Member Avatar for sbrohee

Hi all, Does somebody know how to configure the PATH for the wwwrun apache user? I have two perl version installed (in /usr/bin/ and in /usr/local/bin) and apache continues to use the (/usr/bin version) which is outdated! Many thanks, Sylvain

Member Avatar for sbrohee
0
131
Member Avatar for SSSD

i am currently downloading a file on the torrent aplication Vuze, and it is just over 10GB in size. I am currently downloading it at around 30-40KB/s, but i've read in forums that people have been able to download at speeds well over 100KB/s. My question is, is this really …

Member Avatar for caperjack
0
134
Member Avatar for kiruba_lks

Hi im new to the forum & c++. I just want to upload a txt file to a FTP server using winsock. Im writing a c++ application. Application makes a socket connection & communicate with FTP server. I can provide FTP commands & server responses well. I want to know …

0
139
Member Avatar for jtresue

I have written this program but for some reason it isn't appending to the file? import java.io.*; public class numbers { public static void main(String[] args) throws IOException { FileWriter grades = new FileWriter(new File("grades.txt")); String temp = ""; for (int i=0; i<=100; i+=2) { temp = String.valueOf(i); grades.write(temp); grades.write(","); …

Member Avatar for jtresue
0
138
Member Avatar for jalpesh_007

How to implement following C++ program into Java using the file system.. Please help me. please send the java code on <EMAIL SNUPPED> thanking you. [CODE] /*Header Files*/ #include <stdio.h> #include <conio.h> #include "bcio2.h" #include <math.h> #include <stdlib.h> #include <string.h> #include <time.h> /*Function Prototype*/ void sleep(void); void sleep( int nbr_seconds …

Member Avatar for javaAddict
-3
218
Member Avatar for Ghost

Hi, I'm trying to fully automate my website, and I'm trying to delete a line from a file that matches the line in a given String. For example, I have a txt file named toApprove.txt containing a list of names such as: [CODE] John Joe George Jake [/CODE] The file …

Member Avatar for mschroeder
0
5K
Member Avatar for student89

hi i am using visual studio 2008 (c++ express edition )i have a generated code to handle xml parsing and i am trying to use this code in my project so i build a .lib file with these setting under precompiled header *create precompiled header * create\use stdafx.h * precompiled …

Member Avatar for Ancient Dragon
0
131
Member Avatar for Steve_Jones

I have a program that displays a website using system.windows.forms.webbrowser. It runs off files located on the computer, just html files that are not on the web. All i would need to do is link to the index page and then you can access everything. The purpose of it is …

Member Avatar for Steve_Jones
0
103
Member Avatar for Aamit

Hi, I want to create simple file management program. Suppose i have 10 users. and file xyz.txt When 1st user access file he has authority to read and write. but if at the same time 2nd user try to access this file. i have to give only read access or …

Member Avatar for chrishea
0
82
Member Avatar for hockeygurl35

I'm working on an assignment where we are to implement an address book that holds standard information (ie. Name, Address, City, State, Zip) and contains a user interface to provide options to add, delete, or modify records, search for a specific record, or display all records. These operations are to …

Member Avatar for hockeygurl35
0
191
Member Avatar for sivaranga001

Hi Frorum Members, I have an encrypted file which consists the usernames and Pwd in the encrpyted form.the file is _config.db_ids which will open with customize command mkidcfg.when we open this file with this command it will display four options 1:search2:add:update:exit and i will add a record ie unames and …

Member Avatar for cfajohnson
0
127
Member Avatar for theb2b

Attempting to create a script that reads from to separate files, one file has list of IP address and host types, second file has list of host types also. The goal of the script is to return result of the pings and insure the host type listed in the first …

Member Avatar for cfajohnson
0
89
Member Avatar for manim

Hi friends, I would like to introduce myself, I am Manim from Singapore. Currently working in Olam International singapore as Oracle DBA. Also interested in web development and seo topics. I have created few websites (SNIP SNIP SNIP ha..ha.. i'm not promoting my sites, just for info.) and learnt something …

Member Avatar for AndreRet
1
204
Member Avatar for kapilonkar

I want to copy and move the files on remote server and replace the files through FTP (or any other method). But currently whenever I am trying to connect with Management class to the remote server it asks me for user Domain and I am unable to work around. Please …

0
95
Member Avatar for vibhaJ

Hi All, I have javaPowUploader for multiple file upload. I am able to upload file upto 4GB after php setting. But how can i upload file greater than 4GB?

Member Avatar for richieking
1
155
Member Avatar for helpfullProgram

Hello fellow Daniweb members! Really this forum can't be what it is without you guy's... Just a quick question, can you incorporate the windows file explorer in a C++ application to save and open to a chosen file path? I am asking because I have seen it in other app's …

Member Avatar for nbaztec
0
94
Member Avatar for titan5

I have to use a software package written in c with many different files. It has an executable file with a variable - cc=/usr/bin/gcc cc is later used in that file to compile other files present in the software. wenever i try to run this file I get an error …

Member Avatar for titan5
0
208
Member Avatar for RobBobSmith

Hello all, I have a text file called: concentrations.dat The file contains a lot of different data. Here's the data that I'm interested in: # ET: list of elements <ET> 'Cu' 'C' 'Sr' 'He' 'Mg' 'O' 'Cr' What I want to do is read the elements into a vector called …

Member Avatar for RobBobSmith
0
253
Member Avatar for Mr.Barca

Hi everyone Im just a new student in c++ and im trying to read data from a file this file looks like 36 69 115 226 278 343 345 358 368 370 401 450 489 494 573 577 581 583 610 682 692 705 722 832 862 886 908 923 …

Member Avatar for Mr.Barca
0
121
Member Avatar for JaksLax

So what I am trying to do is to have a header file which declares lists in it. Everytime I complie it, it does not know what a list is. Here is my header file called MergeSort.h [code] #include<list> class MergeSort{ public: MergeSort(); bool sortedIsEmpty(); int sortedGetLenght(); bool sortedInsert(int); bool …

Member Avatar for nikash
0
3K
Member Avatar for BLUEC0RE

Hey! I started using java this year and I finished a java project but when I try moving it somewhere else in my directory it does not execute anymore. My project directory tree goes like this (I am using eclipse)... (ignore the "-") /Root - /bin -- JavaProgram.class -- JavaProgramMain.class …

Member Avatar for BLUEC0RE
0
229
Member Avatar for Lazarevski

I need to build a program which will upload a .txt file to the server, will read it using StreamReader and the populate an existing SQL table with the concent. The first Page (profiles) does exactly that and works perfectly.. It has a text delimiter and splits the text into …

Member Avatar for kvprajapati
0
128
Member Avatar for shena

Hi all, I have a vb program that opens a file(.btw) if the input matches the .btw file name. How do i prevent from opening another .btw file via input if there's already one file opened? Please help me experts out there. Thanks.

Member Avatar for AndreRet
0
124
Member Avatar for usagi

Hi everyone at daniweb! First off I want to say thanks for starting this awesome homepage, though googleing ive found many clues and answers in here for my projects, things that were left undocumented or just poorly explained by those books that ive used. But now, onto the issue! What …

Member Avatar for usagi
0
203
Member Avatar for arjen

hello guys i have a question because in my I.O.File i use this to save the data in the listview in a c:\test.txt but the problem is that it only save one data and every time i click the save the previous data that i save is deleted and it …

Member Avatar for codeorder
0
2K
Member Avatar for roboguy

Hi everyone, Im a python beginner so please bare with me, i have done the first few project euler but thats it, Im trying to write a script that will search all txt, htm, html files recursively through multiple directorys for a string and will then write the whole line …

Member Avatar for TrustyTony
0
261
Member Avatar for crazylunatic

I have been doing a small project as part of my lab assignments and I encountered this funny probelm while working with the files in C++. I have this class Member which I am using to store the member details. [code=c++] class Member { private: char name[30]; long int userid; …

Member Avatar for deeps84
1
343
Member Avatar for silvertooth07

i'm having problems with the edit function on my program. when i enter something, it crashes. it prints out "File not found" endlessly. [code] #include<iostream.h> #include<fstream.h> #include<conio.h> void info() { cout << " **********************************************" << endl; cout << " * Case Study - 2 *" << endl; cout << " …

Member Avatar for silvertooth07
0
142

The End.