473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

file processing

aquestion for a learner === during file processing a file is referenced via what type of variable
May 21 '07 #1
7 1166
drhowarddrfine
7,435 Expert 4TB
The one returned when you open the file.
May 21 '07 #2
Banfa
9,065 Expert Mod 8TB
The one returned when you open the file.
lol, acurate and yet not entirely helpful.


vswannabenerd, the point I believe drhowarddrfine is trying to make, without actually saying it, is that the type of the variable used in file handling is fairly irrelivent. When you open a file you will have a parameter returned to you that identifies the file, the type of this parameter is of no importance and in fact varies depending on which function you used to open the file (in Windows it could be one of int, FILE *, HANDLE or hidden if you used a class to open the file).
May 21 '07 #3
drhowarddrfine
7,435 Expert 4TB
Actually, it sounds like a test question.
May 21 '07 #4
Banfa
9,065 Expert Mod 8TB
Actually, it sounds like a test question.
If it is then I think it is a very poor one as there is no really sensible answer.
May 21 '07 #5
Silent1Mezzo
208 100+
Actually, it sounds like a test question.
I agree...In first year CS I had a question quite similar to this one. The grammar was a little better :P and the question had more parts to it. But the core of it was almost exactly the same.
May 22 '07 #6
Savage
1,764 Expert 1GB
I agree...In first year CS I had a question quite similar to this one. The grammar was a little better :P and the question had more parts to it. But the core of it was almost exactly the same.
And where did u studied CS?


Savage
May 22 '07 #7
Silent1Mezzo
208 100+
And where did u studied CS?


Savage
University of Waterloo and University of Guelph in Ontario Canada.

(again it was a first year course :P most people didn't know how to program yet)
May 23 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Sure | last post by:
I my php script I call a perl script that perl script will create a log file From the php script I want to read the log file and write the output to the browser. This operation has to carried out...
18
by: Dino | last post by:
dear all, i've created an application for a customer where the customer can upload ..csv-files into a specified ftp-directory. on the server, a php-script, triggered by a cronjob, reads all the...
5
by: matt dittman | last post by:
I have created a windows service that reads emails from a drop directory and moves them to the appropriate mail folder every 15 seconds. I can move, rename and delete the files as needed, up...
8
by: Imran | last post by:
hello all, I have to parse a text file and get some value in that. text file content is as follows. ####TEXT FILE CONTENT STARTS HERE ##### /start first 0x1234 AC /end
6
by: Glenn Owens | last post by:
OK I'm on a steep learning curve with XML et.al. and need some advice. I'm writing a B2B front door for a new application. I have multiple data suppliers all sending various formats of flat...
5
by: Geoff Pennington | last post by:
My VB.Net app reads an Excel file, processes it one row at a time, and when processing is complete writes the row to a database. The typical file will have several thousand rows and may take a...
4
by: jesuraj | last post by:
Hi, how can i read input from a data file which contains binary or hex values. I have to use the exact binary data for further processing.only limited number of bits are taken form the file(64...
5
by: B. Williams | last post by:
I need some assistance with random access file processing. I have a function that I would like to change from sequential file processing to random access. Thanks in advance. void...
20
by: Johan | last post by:
How can I include one XML file into another XML file (on the client side, in Firefox)? I think XInclude is just what I need, but Firefox doesn't support it:...
6
by: ivan.perak | last post by:
Hello, im a beginner in VB.NET... The thing i would like to do is as it follows.... I have a text file (list of names, every name to the next line) which is about 350000 lines long. I would...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.