4,718 Topics

Member Avatar for
Member Avatar for katerinaaa

Hi, I would like to help me with a problem I have. I want to make a program that tokenize the text of an input file and create a new file with all the words (one word per line). Because in the input file there are numbers, html tags like …

Member Avatar for Ezzaral
0
192
Member Avatar for alexxxprog

Thank you very much for who can solve this bash script: "Create a bash procedure createdata that creates collections (directories) that that will have to contain a random number, comprised between 300 and 600, of binary files of dimension comprised between 10 Kbytes and 30 kbytes. Also the names of …

Member Avatar for alexxxprog
0
227
Member Avatar for Matt Tacular

**I know the code looks big, but it's a very small isolated section at the bottom (starting at line 164) that's giving me the problem.** When this program is run, when I try to open the file I just appended some text to, it doesn't open... can anyone spot why? …

Member Avatar for Salem
0
166
Member Avatar for wujianwei

here's the description: ============================================= You are asked to develop a C++ program that reads a text ¯le given by the user (e.g. test.txt), and output the frequency of the prepositions contained in the text ¯le on the screen. Your program shall provide a simple interface for the user to input …

Member Avatar for Ancient Dragon
0
130
Member Avatar for ghadahelal

hi all have anyone any idea how can i make my program read 3 or 4 files ,in a folder. i mean my input isn't only one file, it's a folder. can the C++ do that?

Member Avatar for ghadahelal
0
159
Member Avatar for Dani

What are some good file comparison utilities other than Beyond Compare, which I use but find rather clunky and not as accurate as I'd like (for programming)?

Member Avatar for dm22
0
64
Member Avatar for shriyash134

HI there, The program which I am working on involves[B] reading XML document and then depending on the input data save the output files(text) in different folders[/B]...can any body tell me where do i find tutorials which can help me in doing this.... I need help .. waiting for response …

Member Avatar for Ezzaral
0
207
Member Avatar for Matt Tacular

[code]############################################################################ # # # This program seeks out every copy of "starcraft.exe" in the computer # # and deletes them. # # Created by Matt in Python 2.5 May 2007. # # # ############################################################################ import os def file_find(folder): """search for a filename fname starting in folder""" for root, dirs, files …

Member Avatar for jrcagle
0
138
Member Avatar for kiran_berry

I am running a batch file "batch.bat" Inside the batch file i am calling a VB exe file "test.exe". Within the VB I am trying to open a text file "new.txt". I am stuck at passing an error message or some variable back to batch file "batch.bat" when the text …

Member Avatar for choudhuryshouvi
0
93
Member Avatar for choudhuryshouvi

I want a program which will automatically detect and notify whenever a mp3 disc is inserted into anyone of my cdrom drives. I've got a logic but I think it becomes non-practical and also lengthy.So,I want to know if there is any other way to solve the problem. If you …

0
60
Member Avatar for uninvitedm

I've been using Tomcat/local machine to produce some jsp pages for uploading files. Files are selected and added to a listbox on a form, once the form is submitted - the filenames in the list are uploaded. Firstly there is a check to see if they exist. Something to the …

Member Avatar for jwenting
0
88
Member Avatar for sofianos

Hi! i am creating a struct and i want to save it in a FILE (example FILE *fptr). it creates a file anw and it will fill some elements in the struct. Below is what i hv done so far. Btw sorry for my bad english. The reason for my …

Member Avatar for Aia
0
141
Member Avatar for ashitha

hello... i am write a programme for copy file and stores into each another file.like this way i want to copy multiple files.but the error null pointer is coming.. why the value is not displayed?I can't understand null pointer exception.. the code <%@ page language="java"%> <%@ page import="java.io.*"%> <%@ page …

Member Avatar for jwenting
0
334
Member Avatar for jaepi

hello there...is there a way to check if the file you get is the file you really want...like for example, you want an .iso file, if yo placed any file like .txt, the system will exit...but if you placed a file with .iso extension, it will continue to run...thanks...

Member Avatar for Salem
0
133
Member Avatar for jaepi

hello there, im currently doing some programming in burning an iso file using c++ and LINUX...is it possible to check if a medium(cd-rw) is empty or has a data inside...because im going to make a function that checks if a medium is blank or not, like: [code] if(cd-rw is empty){ …

Member Avatar for ithelp
0
51
Member Avatar for squinx22

Hi gud day! Anybody who knows how to save a file to [U]/usr/include[/U] in the terminal? Suppose I will save a file named hello.h to the said directory, what would I do in the terminal? thank you very much....

Member Avatar for ndeniche
0
111
Member Avatar for Kees Baltus

Windows Explorer gives extended information of pictures such as Width, Height, Manufacturer, Cameramodel, Exposuretime, Picture made on, Date created, Date changed and so on. How to get access to these parameters in VB6.0? Thanks in advance Kees Baltus

Member Avatar for PVBert
0
138
Member Avatar for somita1

for using file i must read file but file is text i read aword from any line but with see the space i find i read a word but program not accept "" such a spce and give err and for give next line wat i do?

Member Avatar for ithelp
0
85
Member Avatar for clrblue

So I came down with a sudden problem today on my laptop. Whenever I tried to open My Computer, My Documents, Search for Files and Folders, Control Panel, or anything requiring Windows File Explorer, the screen would flash to the wallpaper, then all the icons would come back. That was …

Member Avatar for gerbil
0
176
Member Avatar for somita1

i use from file (text file)for take word of file i must pass space but i dont knw it and for goinnig to next line in file what do i?

Member Avatar for Ancient Dragon
0
136
Member Avatar for jaepi

hello there...uhmmm, im having problems with getting the file and storing them...like for example, you ask the user to input a file then that file will be stored...how do you get that file, and where do you store them?? thanks

Member Avatar for jaepi
0
283
Member Avatar for jaepi

hello there...im new in c++, i need your help with this one...i want to create a program that will create an .ISO image file. the user will be asked to input all the files that he wants to compress..i just want to know what topic in c++ i will study …

Member Avatar for jaepi
0
136
Member Avatar for Gayal

Hi, I'm looking for a Linux based Final Year Project for my Computer Science degree. I am looking to save custom settings done by users on a GNU/Linux CD to a portable flash drive so that every time user runs the live CD, it retrieves the saved setting details from …

Member Avatar for Stylish
0
111
Member Avatar for mojeze3

this is an example of the file: Caldwell E.,CSC,25,5,500.00,250.00,100.00,20.00,1000.00 there are 18 of these entries in the file consists of : last name and first initial,department,miles walked,number of pledges, and the pledge amounts. I have to : 1. display the file content 2.compute the total pledges obtained by each person …

Member Avatar for antaryami
0
103
Member Avatar for yesm

I've got a custom class that is as follows: [code=C++]class course { private: string prefix; int number; string title; int credits; char grade; public: //Constructors course(); course(string, int, string, int, char); //Accessors void set(); void print() const; string get_prefix() const; int get_number() const; string get_title() const; int get_credits() const; char …

Member Avatar for Narue
0
159
Member Avatar for new_2_java

Hi all, I am using RandomAccessFile, to create a log file. The log file gets created fine, when I open it in UNIX (I mean the display layout). However, when I open the file in Windows, in notepad, then I see instead of '\n' a little square. So all the …

Member Avatar for ~s.o.s~
0
119
Member Avatar for pri_skit

I have application build in Embeded VC++ 4.0 project,now i want to include (.h) file in project which is produced from another (.exe) built in Win32(App) Console.I have added header file in project workspace.The problem is (.h) file is created after compiling the project.I want to include (.h) file before …

Member Avatar for pri_skit
0
269
Member Avatar for Dani

This IDC White Paper looks at the savings and benefits that system software and disk defragmentation can provide to customers. It also examines the savings that were achieved by three enterprise customers using a simple model over one year. These customers were selected by Diskeeper for analysis by IDC.

0
207
Member Avatar for Dani

While there is little dispute among IT professionals regarding the impact of disk fragmentation on system performance, no independent guidelines exist to recommend the frequency of defragmentation across an infrastructure. Some IT professionals use defragmentation as a measure of last resort, defragmenting only after system performance has sufficiently degraded to …

0
203
Member Avatar for Dani

In today’s environment of bigger disks storing not only larger files but more files than ever before, the effects of fragmentation worsen markedly with each day’s use. To keep up with same-day performance degradation, disks must be defragmented in real-time.

0
258
Member Avatar for The Shadow

Basically I'm writing a program that reads in the number of words in a file and counts them based on the number of whitespaces, though I'm also considering using tokenising im just more familiar with whitespaces. It compares the ACII code of whitespace(I think) then adds one due to not …

Member Avatar for The Shadow
0
288
Member Avatar for kmachstang

Hi guys, I need some help with file input output. I have a file that has a array size on the first line followed by a 2d array. The array size can change. I need to read this file, and place the array in a array variable. But im not …

Member Avatar for vijayan121
0
261
Member Avatar for jaepi

hello there, im new in c++...i need to know how to access files in the hard disk...im having a priject of controling hdd using linux and c++...my task is to create a program in c++ using linux that get's a file from the hard disk, check's if the memory of …

Member Avatar for Salem
0
107
Member Avatar for jan1024188
Member Avatar for acer1
Member Avatar for gerbil
0
116
Member Avatar for jerryseinfeld

Hi everyone again me again I have lots of questions... I have a program which reads something into a txt file like notepad. But I need to read into a dat file. Here is my code [code] #include <stdlib.h> #include <stdio.h> main() { int employeeNumber; char name[30]; char engineeringDicipline[40]; int …

Member Avatar for jerryseinfeld
0
118
Member Avatar for CRD

The version of DEV-C++ I Do not Know. However I would appreciate any information as to where I might find information as to how you can access Drives and the Printer on my machine with C++ commands. at present I'm unable to do anything in my C++ Programs other than …

Member Avatar for CRD
0
183
Member Avatar for pkraop

hi i am creating a directory using perl's system command how can i test that it is created bofore proceeding..

Member Avatar for KevinADC
0
139
Member Avatar for hack_tom

Hi have a file which consist of following thing begining of file ---------------------- my name some dfgfgfk jdksjdkls laladsl sdlsdls . . . kfdjkfdk some drt pro vhdl sdjls. ---------------------------------------------------------------- ddr.spw.df.df 0 0 0 0 0 ddr.ser.ddf.tp 1 2 3 4 1 ddr.pwq.pro.fgt.tp 1 3 4 5 7 eth.pro.iw 1 …

Member Avatar for KevinADC
0
93
Member Avatar for Nelly1965

I am processing word documents and would like to move the files to a new location after processing. What code do I use to move file from one directory to another.

Member Avatar for shasur
0
99
Member Avatar for Phreak

Hi Can you help with amending this code, so it no longer looks at the boot ini, but will look at apx 200 separate texts files called "textfile1.txt" "textfile2.txt" etc etc consecutively for the line of text "Max100" and remove and replace with "max200" This is a piece of code …

Member Avatar for shasur
0
103
Member Avatar for RaCheer

I am trying to write a program that will scan another file for comments only. It will scan for comments of both types, // and /* */, and then print these comments. The code I have written so far works, but it prints the entire code. I would really appreciate …

Member Avatar for RaCheer
0
157
Member Avatar for jk_bscomp

i know this is not a subversion forum but i just want to ask if someone knows the sypnosis on how to unlock folders in linux. thanks,,,,,,,,,,

0
93
Member Avatar for CS Lover

Hello, It's my first post and first topic in this forum .. actually, I found very useful information here through "search" ( in fact, throught google to be more accurate :D ) . << ok thanks, let's get down to work ? Iam working on Bootable Disk using Assembly, probably, …

Member Avatar for CS Lover
0
118
Member Avatar for adotl

So far as you can see below Ive got the program accessing the file and just reading the lines; Ive got the file set up like so... What is the Answers? A Do this B Do that C Dont do that D Definitely this A So this method is set …

Member Avatar for adotl
0
894
Member Avatar for atetrault

All, New to python programming so bare with me but I haven't quite seen an easy way to do this and looking for some suggestions. I want to be able to replace some contents of an [B]exisiting[/B] file either by both inserting new statements or modifying/replacing new ones withiout touching …

Member Avatar for jrcagle
0
351
Member Avatar for mstester

Hey all, I need a bit of help, Im trying to write some simple code that will search through a directory say "C:\Windows\" for any .exe's heres my code for just searching a directory, However it does not search Subfolders [code] If Directory.Exists(File_Path) Then Dim new_files As String() = _ …

Member Avatar for mstester
0
114
Member Avatar for jetaw03

guys, can you help me to get data from a text file and putting it in an excel file? my programming language is visual basic 6.0 here is a sample data from the text file: ANO,BNO,TRANSDATE,TRANSTIME,ORIGINS,DESTINATION,CA LL_TYPE,OUTROUTE,INROUTE,CALLS,ACTUAL_MINS,COST 0498373386,[U]006623322001[/U],20070216,16:33:35,SRO,THB,IDD,IBEF7O,,[U]1[/U],[U]0.766666666666667[/U],-0.014413 0498373386,006623322001,20070223,12:59:40,SRO,THB, IDD,0241,,1,0.8,-0.01264 0498373521,0096265522113,20070207,11:22:59,SRO,JO, IDD,0241,,1,0.433333333333333,-0.019717 i wll get the underlined data, then i …

Member Avatar for jetaw03
0
419
Member Avatar for anitha2324

[color=#000000]hi All,[/color] [color=#000000] [/color] [color=#000000]am Newbie To Asp.net, I Want To Allow The User To Upload A Text File From Any Client In The Network To The Server And Then Insert The Contents Of This File Into A Table In Oracle Database,[/color] [color=#000000]contents Of The Text File Looks Like (employee …

0
117
Member Avatar for newage_gargoyle

I've created a simple table quiz program in VB6 and I want to load a help file (help.hlp) from within my code. I want the program to load the file when I select it in the Main Menu. I've tried using the load ("") function with the file file path …

Member Avatar for newage_gargoyle
0
373

The End.