7,373 Topics

Member Avatar for
Member Avatar for Canea

I am building my first website using a company which offers hosting services and ready css templates. I am learning the basics searching on the net and through books for newbies. Asked for help to the company customer assistance and the answer was again: ‘cannot assist you on this’. This …

Member Avatar for MidiMagic
0
163
Member Avatar for morrison

[QUOTE=Ancient Dragon;267023]You cannot write directly to an *.xls file and expect Excel to read it because *.xls files are not plain text files -- they contain a lot of formatting information that is readable only by Excel program. The easiest way to do it is to creates *.csv files which …

Member Avatar for sneekula
0
141
Member Avatar for bobei89

Please help me... after the execution of the program. It write the new information to it. However, the .txt file do not display the new information properly. (The index number stick with the name...). It is a half work program. Please help me solve this problem or else i cannot …

Member Avatar for bobei89
0
680
Member Avatar for sara_84

[code=c++] #include <iostream> #include <string> #include <algorithm> #include <vector> #include <set> #include <map> using namespace std; class transition // an entry in 'alpha' transition_table { public: transition(string from_state, char input_symbol, string to_state) {from=from_state; input=input_symbol; to=to_state;} static bool smaller(transition a, transition b) { if(a.from<b.from) return true; else if(a.from>b.from) return false; else …

Member Avatar for hkdani
0
184
Member Avatar for BalaKrish

Hi All, I have to handle text files of larger sizes ranges from 10GB and more which are exported from some application softwares. The text files contains the required information scattered throughout the file. I need to gather all those information in a particular format to do further analysis. Say …

Member Avatar for BalaKrish
0
109
Member Avatar for kehar

Hi, I have completed my project in all respect but I would like to include all table and report of Access and Crystal Report respectively in my VB 6 project SETUP FILE. So. pl help me to include such file while creating SETUP file. If there is no way than …

Member Avatar for hkdani
0
157
Member Avatar for Quakes

Hello there, I'm very new to C++ and I'm mainly using it for graphics using the opengl libraries. Anyway, I'm having trouble with some initialisation. I am writing a file reader class that will read a file containing vertex and face data for a series of polygons. Data.h [CODE]#ifndef _DATA_H_ …

Member Avatar for Quakes
0
131
Member Avatar for laseredd

I have created a small program in Python that asks you if you have done something, and then logs the date, question(s) and answer(s) to a file. I thought of writing a program like this while walking to the toilet and twenty minutes later I had finished the program. I …

Member Avatar for laseredd
0
133
Member Avatar for carobee

hi, i wanted some help in File handling in C. consider i have one File like a.txt a.txt [Marks] Physics = 60 Chemistry = 80 ;Prac(25) Maths = 98 [Grade] Neatness = B Attention = A ;A+(9.5) Now suppose i have to insert new values in this file for the …

Member Avatar for ssharish2005
0
140
Member Avatar for Droicut

I think it all started with a MSN virus my brother gotten lately... but in that process I found more things that just didn't really seem to make any sense. I downloaded AVG and it showed some files to be Trojan Backdoor.agent something. Can't really remember... (my bad... :sad: ) …

Member Avatar for crunchie
0
288
Member Avatar for jobs

I have a config file which includes how many files I need to create. So my program reads the config file and will create those files. Where I am stuck is I do not know before hand how many File pointers I need. I get to know quantity of files …

Member Avatar for Jishnu
0
915
Member Avatar for tehprince

I'm a newbie to C++ and figured this would be a good place to ask for guidance. I need to write a program that reads input from a txt file which contains "grades" in numeric format, I.E. 92, 55, 88 and take those grades and calculate the average. Now my …

Member Avatar for tehprince
0
98
Member Avatar for cheers4beer

I want to store data that will be read from and written to by two executable files. This data file will be used to store settings that are common to both executables. To keep the user from inadvertantly modifying the data file, I would like to limit its write access. …

Member Avatar for cheers4beer
0
90
Member Avatar for hellokitty88

I am reading a text file from an input file. The problem is that when I cout the text to the screen not all of the original text file is showing. The text file is large, but I was wondering if there was any way I could possibly display all …

Member Avatar for Jishnu
0
123
Member Avatar for ENG ISE student

So I'm supposed to copy the word "computer" or "computers" from the text of one file and past the word each time to the new file. It compiles but it doesnt run right. Any input would be great. [CODE]#include <iostream> #include <fstream> #include <cstring> using namespace std; int main() { …

Member Avatar for Ancient Dragon
0
107
Member Avatar for ownedswax

My friends computer was just infected with a virus that gave him the "blue screen of death" but combofix miraculously revived his PC. Please help clean up his computer. This post is a HJT log folowed by his combofix log. Thank You VERY much in advance. Logfile of Trend Micro …

Member Avatar for crunchie
0
206
Member Avatar for Nbkrooney

I am looking to make a small program that will cut down the repetetive need to insert BB tags in to achievements lists on a site I work for. So far I have got the algorithm sucessfully reading the first line of the file, and outputting it using cout. The …

Member Avatar for Lerner
0
165
Member Avatar for curbsideprawfet

i cant seem to get any image to work in 'preview.' whenever i try to open a picture(mainly .jpg), it says “Couldn't open the file. It may be corrupt or a file format that Preview doesn't recognize.

Member Avatar for twistedrich
0
102
Member Avatar for jobs

I need to create a program and have it create a lock file so that only one instance of the program can be run at any one time. I came across this code: [CODE=c] for (tries = 0; tries != maxtries; ++tries) { fd = open("/tmp/some.lock.file", O_WRONLY|O_CREAT|O_EXCL, 0644); if (fd …

Member Avatar for Duoas
0
152
Member Avatar for Cyb3rAssasin

Hi I need help with a project im working on im wondering if there is a way to include a file in a program. Im making a prank program that hides in the background and plays a funny wav file. Is there a way to include the wav file in …

Member Avatar for Cyb3rAssasin
0
96
Member Avatar for HemantK

Hi Everybody! How to upload a image / pdf file in mysql table blob column with ASP pls help me HemantK

Member Avatar for zhk
0
433
Member Avatar for msaenz

Greeting I have a program take in a file and lets you add stuff to it after I add some words to it i want to count all the words in the file... I am having trouble with that ...here is my code so far. I looked up stuff online …

Member Avatar for trudge
0
116
Member Avatar for im_desperate

Hey i have to write a program that will prompt the user to write sentences and those sentences will be written until the user type "stop". i though of doing such a thing but its not doing what i want because i want each input to be on a new …

Member Avatar for im_desperate
0
139
Member Avatar for ibeast

hi well i have a program that can print wav data in a text file. Is it possible to make a wav file with the available data from the text file and play it in VB. Playing the file isn't that difficult, but i m still scratching my brains as …

Member Avatar for hkdani
0
180
Member Avatar for Biro

Hey, I have started working with I/O file streams using my 'problem solving with c++' book, I am not sure where the .dat file goes in MS Visual C++ or how to make it for that matter... Also is this code correct? I am getting strange errors... I am trying …

Member Avatar for Salem
0
908
Member Avatar for hidash_in

hi all, in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption. advance thanks <% // fname is the file name String filePath=savefile; File f = new …

Member Avatar for masijade
0
429
Member Avatar for planktonfist

I'm wiring a program where I have a file with city, state, population size laid out as follows; 24 El Paso, TX 577415 Indianapolis, IN 783612 Detroit, MI 925051 Fort Worth, TX 567516 Los Angeles, CA 3798981 Washington, DC 570898 etc... with 24 being the number of elements in the …

Member Avatar for planktonfist
0
126
Member Avatar for Z101

Hello, I've nearly finished writing a program that converts Roman to arabic numbers, but i've run into a problem to do with the "Batch Mode" of the program. The batch mode involves asking the user to type in the file name (a text file) which contains Roman numerals that need …

Member Avatar for Z101
0
181
Member Avatar for chrisbliss18

I have received emails and calls from my ISP recently claiming that I am using the connection to download copyrighted torrents. I didn't recognize the files listed, but I removed all my torrent programs and potentially shady freeware apps as a preventive measure. I then ran checks on my machines …

Member Avatar for chrisbliss18
0
564
Member Avatar for doublex

hi there, i try to map a file in memory, in linux, using mmap, so that what i write in memory will be written in the file as well. the piece of code looks like this [code=c] fd = open(argv[1], O_RDWR); if (fd == -1) { error_message(__FILE__, __LINE__, "'open' failed …

Member Avatar for doublex
0
125
Member Avatar for ilikecheese

I have an output in one format that I need to basically read line by line and reformat into another file. I was originally going to try do this in Java, but Java does not have a lot of good classes for text processing. Here is an example of my …

Member Avatar for radoulov
0
101
Member Avatar for Nefrit

[B][I][COLOR="green"][U]Hello All: Can anyone tell me why I can't play MP3 or WAV files with the Windows Mobile 5 media player control when the filename is a URL? Even with the Media Player application on Windows Mobile 5 it doesn't work. If the files I want to play are stored …

Member Avatar for MidiMagic
0
63
Member Avatar for HailttRedskins

I got the coding for uploading files to my website throug a simple browse option off a page. I choose the file upload size to be 150mb, but it wont allow anything under 10mb it seems. I am real good friends with my host, he told me something like, it …

Member Avatar for Dsiembab
0
165
Member Avatar for klrdn

I copied qbasic.exe and qbasic.hlp (no way to tell the version ?) from my Dos 6 Install floppy into a folder. Qbasic.exe executes ok either from within or outside the folder, but can't access its help file. I used the qbasic options 'help path' tab to enter the correct path …

Member Avatar for klrdn
1
497
Member Avatar for cs_tx_usa

How could we implement the code if I want to read a grayscale image file into two dimensional byte array? Since we don't always know the number of rows and columns binary file has beforehand, how can I read that into 2-D array? A grayscale image is single band image …

Member Avatar for iamthwee
0
231
Member Avatar for eXceed69

I've Install this script to my site but It won't function that well Here's the code, which logs client side IP in a flat file or *.txt [code] <?php $filename = "uniqueLogs.txt"; $file = file($filename); $file = array_unique($file); $hits = count($file); echo $hits; $fd = fopen ($filename , "r"); $fstring …

Member Avatar for nav33n
0
86
Member Avatar for satimis

Hi folks, Perl === Instead of using following command printing output to a file; $ perl AAA.pl > /pathto/name_of_file is it possible adding "print file function" to the script 1) If YES Please advise how to make it. 2) Can I add following bash syntax to the script user=$(whoami); now=$(date …

Member Avatar for KevinADC
0
199
Member Avatar for coolraj003

Hi all I have beenhaving a bit of an issue which i have posted on awrong thread as it was abut DVD Burning Issues. OK here goes.... I have been looking into the threads but can not find any proper solution for my problem. I am wanting to write my …

Member Avatar for coolraj003
0
122
Member Avatar for chaosatom333

Hi, I copied one file into another but couldn't figure out how I would number the lines and put a heading on chem.lis, which is the output. here is the program i wrote so far [code=c] #include<stdio.h> #include<stdlib.h> #include<string.h> int main(int argc, char *argv[]) { FILE *inp, *outp; char ch; …

Member Avatar for Duoas
0
271
Member Avatar for kahaj

I'm writing to a file. There are only ten items able to be written to the file (game scores, test results, whatever). I'm using a drop-down selection list on the form to tell which number is being submitted. Is there any way to have it checked as the page loads …

Member Avatar for kahaj
0
107
Member Avatar for ibeast

hi is it possible to play a wav file just with the availability of the wav data as a text file. I mean, i have text file that has wav data. how can i play the wav file using just the numbers(data) in the text file? thnx

0
63
Member Avatar for KCcasey

Hi All, First off, thanks in advance for your time! I'm a VB newbie, and I'm struggling with my first app. The scenario: I'm trying to manipulate a tab-delimited text file based on the contents of a MS Access table. My Approach: I'm at the point where I've imported the …

0
64
Member Avatar for pdhbaseball23

I have to use arrays to calculate some statistics on a set of data. The example of the file looks like this: 6 5 1 3 2 4 3 4 2 4 2 1 2 3 5 6 8 5 6 9 4 3 1 5 7 3 7 2 …

Member Avatar for pdhbaseball23
0
105
Member Avatar for pdhbaseball23

I have to use arrays to calculate some statistics on a set of data. The example of the file looks like this: 6 5 1 3 2 4 3 4 2 4 2 1 2 3 5 6 8 5 6 9 4 3 1 5 7 3 7 2 …

0
59
Member Avatar for sonsofliberty84

I am trying to modify a program to read in a file that will then output it to a new file without all the whitespace in between the data. This is so I can convert it to a csv file and read it into paraview to make a visualization of …

Member Avatar for Ancient Dragon
0
302
Member Avatar for aparnesh

I am trying out the process of uploading a file from a browser to the IIS 5 server. I have installed the MS Posting Acceptor (cpshost.dll) and the file exists in the C:/InetPub/Scripts folder. I restarted IIS after the installation. The Code for Posting the file is [CODE]<FORM EncType="multipart/form-data" ACTION="http://localhost/Scripts/cpshost.dll?PUBLISH? …

Member Avatar for SheSaidImaPregy
0
198
Member Avatar for bigt2008

[B]so foar I've done this much[/B] using namespace std; int main() { //1.Declares an input stream variable named inFile ifstream inFile; //2.Opens "indata.txt" inFile.open("indata.txt"); //3. If input file was not opened Prints "Input file not found" if (inFile.fail()) { cout << "Could not open file!" << endl; return 1; } …

Member Avatar for Lerner
0
90
Member Avatar for bob on whidbey

I'm having trouble creating a RES file (for a visual component). This was easy under XP as I had the file extension for all .rc files set up to run RC.EXE. I am now using Vista and can't find the RC.EXE file. Also, do I need to make changes in …

Member Avatar for bob on whidbey
0
312
Member Avatar for Cornflower

Hi, I need some help with an assignment - to read from a .txt file and count paragraphs, lines, words and characters. I've managed to write a program to read the file, and another one to count - but I've run into problems trying to incorporate the two. I've sent …

Member Avatar for Cornflower
0
119
Member Avatar for BlackNinja

Hi, I am having trouble with skipping lines in a file and inputting the value it reads into variable inside the program. Data Inside the txt file i am trying to read: 00112 yourname 5874.87 176.07 3456.98 what i want to do is take the last 3 numbers and input …

Member Avatar for BlackNinja
0
135

The End.