4,718 Topics

Member Avatar for
Member Avatar for risa

MapFileAndCheckSum returns CHECKSUM_MAPVIEW_FAILURE(Could not map a view of the file) for file of size 758MB and above.For size upto 757MB it returns CHECKSUM_SUCCESS(normal behaviour).What is the meaning of this error?how to solve it?is there any file size limit to calculate checksum..............i want to calculate checksum upto 1.0GB/2.0GB

0
102
Member Avatar for khyaniv24

hello, i have a problem in my assembly program. i have a problem with open and create files. in my program i always open and create a new files ,but after 5-6 open\create ,the program stop working. i think the problem is that my file handle is not available (after …

Member Avatar for Salem
-1
85
Member Avatar for somename

Hi everyone. I got a total newbe question and i am new to c programming. I want to write a program that will executing commands , written in separate text file. Lets say, in perl i got something like that: [CODE]open (F,"<file.txt"); $x = <F>; if ($x == "2"){ system …

Member Avatar for somename
0
106
Member Avatar for helloan

Hi, I really need some help with this project. I'm currently a beginning C student working on a wheel of fortune program. For this program a random phrase must be chosen from a text file; the same phrase cannot also be used again during the game (there are three rounds). …

Member Avatar for jephthah
0
190
Member Avatar for lahom

hi [B]Could someone please tell me how can i open a txt file with a press of a button (MFC)? [/B] not with the infile >>> i mean [B]open "text file"[/B] and another question if i may.... [B]Is there any way i can transform a cpp file to a txt …

Member Avatar for lahom
0
163
Member Avatar for kahaj

The file is being created and it is somewhat working. It works okay if you have the program open and enter like 3, 4, 1. It's supposed to subtract these from 10. It does so, saying that you have 2 hours left. But once it's shut down and you check …

Member Avatar for kahaj
0
121
Member Avatar for ferret_90

I was wondering whether or not this is possible Make an autorun file like this [CODE][autorun] open=eject.bat action=Eject Drive shell\open\command=eject.bat[/CODE] so that eject.bat (or exe) would automatically eject the drive when autoran or dbl clicked. I need to know what batch code or other code will do this when run.

0
55
Member Avatar for kahaj

I'm trying to create a .txt file that will hold a handful of numbers. I want to be able to add them, then retrieve the sum with my program (or retrieve the numbers and add them via the program, whatever). Unfortunately, I haven't a clue how to accomplish this. Also, …

Member Avatar for kahaj
0
115
Member Avatar for rem0404

the program keeps track of a persons musical library. addsong checks to make sure that the data being entered is not already present in the file. if it is present, it is not added, if it isn't present, it is added at the end of the file. the removesong function …

Member Avatar for rem0404
0
100
Member Avatar for rem0404

the "addsong" function working, i just dont know how to tell the compiler to [B]skip over[/B] elements in the vectors with empty strings, when writing the new data to the music_library file. this is because i have to write a remove song function where, after the song is removed, the …

Member Avatar for Ancient Dragon
0
130
Member Avatar for majestic0110

Hi all - hope you are well. I am trying to print out only the first 15 characters of each line of a text file. The trouble is I am not sure how I would go about doing such a thing! Any help will be greatly appreciated. Thank you for …

Member Avatar for majestic0110
0
348
Member Avatar for hezfast2

I'm working on a program that reads a file of scores and then outputs the number of scores in certain ranges. I've got it to read the input file (scores.txt) which is set up as follows; 76 89 150 135 200 76 12 100 150 28 178 189 167 200 …

Member Avatar for hezfast2
0
164
Member Avatar for Mr NiceGuy

Hi all, Im new to python and I need some help. I have tried to get this piece of code to work for quite some time now. I finally made it work by using two while-loops. [INDENT][B]THE PROBLEM[/B][/INDENT] What I really wanted to do at the first place was to …

Member Avatar for SUBHABRATAIISC
0
128
Member Avatar for shotjase

Hey guys i have a header file and now i am writing the implementation file and defining the constructors..i am having trouble with 1 but.. void bitmap:save (string filename) { } //The bitmap representation is written to filename. The bitmap file will consist of two positive integers R and C …

Member Avatar for Ancient Dragon
0
100
Member Avatar for Elmo_loves_you

Hi I was hoping that somebody could help me. I have a stored procedure that returns blob file and other data. The blob files are encrypted =) in byte form. what I want to do now is decrypt them for the user to see but in order to do that …

Member Avatar for JerryShaw
0
860
Member Avatar for Barefootsanders

Hey all, I'm trying to create a directory monitor that will watch a certain directory and print changes made to that directory. I was wondering if there were any C/C++ libraries that provide an abstract class to access the file system on any OS. I would like the program to …

Member Avatar for CubedStooge
0
150
Member Avatar for dpfaff

Hello, I am relativly new to programing, and I need some help on a lab project. If anyone out there can explain why I am getting the following errors. 55: inlab was not declared in this scope In funtion void selectionSort(char (*)[25], int) 74:error: Stropy was not declared in the …

Member Avatar for dpfaff
0
184
Member Avatar for eemqjunk

hello, i'm a newbie programmer (and to python, double trouble :) and running into issues reading and writing files. i'm successfully running the code below to manipulate and remove the first few lines of a text file. The text file (file1.txt) is approx. 329kb but when i run the code …

Member Avatar for ZZucker
0
112
Member Avatar for Waseemn

Hello All, Can I use cin.getline(x,y) to read a line from a file? What is the form of cin.getline(x,y) when used with files? What I need to do is to output what I have written to a file to the console. I have the file open, using ofstream, and I …

Member Avatar for Salem
0
101
Member Avatar for kevin wood

i have created a file uploading system on a website that i have created and i need to know how the file can be over written. the file thats are upload are only used once and the next time the user uploads a new file i want the last file …

Member Avatar for kevin wood
0
87
Member Avatar for nelledawg

I am so incredibly frustrated right now. I have seriously been sitting here for hours trying to figure out how to validate program input using ranges from a text file. My teacher gives us a lecture that is supposed to help, but the lecture doesn't even have a thing to …

Member Avatar for nelledawg
0
125
Member Avatar for Princequarles

I want a name displayed when the letters beside it is entered from the keyboard eg when "ABC" is entered, Abraham is retrieved from .txt file when "CME" is entered, Camille is retrieved from .txt file A sample of the text file is below: CODE NAME ABC Abraham CME Camille …

Member Avatar for jbennet
-1
101
Member Avatar for demroth

I have been reading some of the posts on reading integers from files but I have not seen any on reading integers from formatted files. I have a file which is a 6 X 6 matrix consisting of integers separated by tabs. I want to read each number into an …

Member Avatar for demroth
0
159
Member Avatar for jmines

I have a problem in reading from file. I want the program to keep on reading from the file and store it in a buffer until \n\n is encountered. Then I want it to input an integer value from the user and then when the user presses enter it should …

Member Avatar for Agni
0
53
Member Avatar for Afi83

[B]Hi there[/B] I am really new in C programming (about 3 weeks). Before I begin my question I have to excuse because of my bad English. My question is on reading a file that contains double and integer type numbers. For reading file I use fgets() that read a line …

Member Avatar for Afi83
0
467
Member Avatar for Member #316342

Hi i want to read words form a text file placed in the same folder as the java file and then hold the information in an array. so far ive written code to read the text file (i think) im trying to teach my self so if ive done this …

Member Avatar for Ezzaral
0
97
Member Avatar for dgg32

Hi everybody. I come here again to ask for your advise. Thank you at first for all your attention. I have a big text file containing, say more than 10000 letters. I want to write a program, openning it, parsing out each word and compare them with a target word, …

Member Avatar for Aia
0
407
Member Avatar for paurik

Hi i am using java wrapper service api to launch my application as os service. i already configure this service for window os. but ther is problem for linux os. when i run myapplication.sh file it gives me java.lang.noclassdefFounderror error. i put my config my file follow if if some …

Member Avatar for blufab
0
221
Member Avatar for opendep

Hi, I am using visual studio 8 to create an application. I need to incorporate file browser window in a .cpp file. The code i have only browses the folders and sub folders but does not display the individual files. Can anyone help me with this..? Any help would be …

Member Avatar for opendep
0
330
Member Avatar for pherman1

Missing files - I recently recovered files off a dead and infected Lenovo through rescue & recovery. Most of the files came through fine except a group of music files. The directory and filenames are not showing up in explorer. Yes, all settings are OK so they should show. If …

Member Avatar for MidiMagic
0
103
Member Avatar for mrgreen108

After looking at the same few lines for an hour now, I cannot figure out why the user named input file isn't opening and the user named output file isn't even being created. I used the debugger in visual studio 05 to figure out the input file isn't being opened …

Member Avatar for mrgreen108
0
310
Member Avatar for jesseb07

hello, I'm working on a personal project and I was looking for some help. I am writing a program that needs to store user profiles in an external file (.user_data.dat). Problem is that anyone with half a brain can find the file and with any text editor look at the …

Member Avatar for jesseb07
0
133
Member Avatar for komany

Hello. I need help with a thing. I have a file (sound file) I will send via controller area network and therefore can only send data about 8 byte or 8 vector as data [8]. This is sent away with the command sendfile () And I need help how I …

Member Avatar for komany
0
349
Member Avatar for Phan

Hey, everyone, I am another student seeking help for a programming class. What I am having trouble with specifically is reading from a file. The program itself involves entering in some store products with information such as: product name, product ID, etc. After everything is entered, the program is supposed …

Member Avatar for vmanes
0
124
Member Avatar for gadege

Hi, In my case i am updating same SDBM file at the same time by executing multiple programs. In my programs i am using tie function. Here is the code. $db = tie(%FILE_NAMES, 'SDBM_File', $tName, O_RDWR|O_CREAT, 0666) Here i need to put one lock to avoid dead lock situation. Thanks, …

Member Avatar for trudge
0
77
Member Avatar for VernonDozier

Hi, I am working on a project wherein one program writes to a file, but allows a different program to read from that file BEFORE the first program is finished writing to it. In this project, the first program is a game. When someone scores in the game, that activity …

Member Avatar for VernonDozier
0
226
Member Avatar for Littlen

Hi all Ive writing a simple j2me program to read from a file. Im running the midlet on a pda but im having trouble accessing the file. Im using J9 JVM on a Dell Axim, ive also installed the JSR-75 (which is need to access files), however im still having …

Member Avatar for Littlen
0
110
Member Avatar for romez

I have a log file (eg logfile.txt) which is continously updated (with the values on and off from various equipments) such as: CCC:on DDD:on XXX:off CCC:off EEE:on FFF:on DDD:off EEE:off XXX:on Now i have buttons on a vb.net form corresponding to each of the equipments such as CCC, DDD, EEE, …

0
53
Member Avatar for bondi007

when I try and drop a file into my apache folder it wont let me when I try and access my source server it wont let me, error do not have permissions :( Any Ideas? I tried loging in as root but it wont lket me at the login screen …

Member Avatar for bondi007
0
427
Member Avatar for cpp_noobsauce

Heres the problem: A scientist has been conducting experiments and recording results of those experiments. Two pieces of data per experiment have been recorded: temperature in degrees Celsius and a concentration ratio (in the range – 0.5 to 2.0). Validate user inputs. heres what I have: Part1 - Writing to …

Member Avatar for Ancient Dragon
0
131
Member Avatar for hercules22

hi all plz read below carefully All pc are connected in lan where one is win server wher i am sharing a file to give permission to a perticular user, structure is as follows 1)a)created one folder with name "test".b)shared with full permission for 10 user c)under security tab clicked …

Member Avatar for hercules22
0
188
Member Avatar for picass0

i have a text file that has delimiter. i wanted to display the test file that will take away the deliminter from my text file. i search through the net was told to use getline() which can include the deliminter. Hope that is someone who can show me an example …

Member Avatar for Nick Evan
0
100
Member Avatar for hercules22

hi all plz read below carefully All pc are connected in lan where one is win server wher i am sharing a file to give permission to a perticular user, structure is as follows 1)a)created one folder with name "test".b)shared with full permission for 10 user c)under security tab clicked …

0
48
Member Avatar for baku

Being given a text file create a folder that will contain 26 dictionary files as follows:first file contains the words begining with 'A', alphabetically sorted, the second file with 'B' and so on. The way I tried to solve it is attached...pls help!

Member Avatar for eggi
0
120
Member Avatar for mofoparrot

Hey guys, I'm new here, I looked through the help also searched and couldn't find anything that helped. Although I will be using the Algorithms you guys have on this site. anyways I only took a intro course to C++ about four years ago and don't remember much I wrote …

Member Avatar for mofoparrot
0
156
Member Avatar for n8makar

sort of a noob as i have been doing c++ for only a couple months now. my problem is that i am using a function to pass data from a file into an array then into a .out file. the function im using to read the data from the file …

Member Avatar for vmanes
0
551
Member Avatar for Sh13

Hi, I am supposed to read data from an input file with following information 16 //number of destinations// Baltimore //origin city// MD //origin state// Lewes //destination state// DE //destination state// 117.0 //miles b/w previous location and and this one// 160 //estimated driving time// Ferry //place to visit in that location// …

Member Avatar for jephthah
0
111
Member Avatar for queenc

hi the below code is used to read a uploaded file and print the first three lines in a document, it is working fine in a txt file .i have written the else part for doc file....it is working but junk values are also getting printed [CODE] <?php $lines=file('http://www.wb.com/judson.doc'); $lin …

Member Avatar for ultra vires
0
84
Member Avatar for DOPY

Hello i am using a public computer (im just starting out with c++) so i dont have the code on me but i have figured out how to create a text file. what i want to know is when i create it, it places it in the direcotry that my …

Member Avatar for DOPY
0
285
Member Avatar for tootypegs

Hi, at the moment i have a program that examines a file, does some processing and then outputs the results in a file. Is it posible to examinemultiple files stored in a folder all at once, then output the report files in a seperate folder without having to run my …

Member Avatar for tootypegs
0
124

The End.