Question about Computers & Internet

1 Answer

Files, streams, and linked lists

If I print the content of a file, how will i write it back to the file or to a file specified by the user?

Posted by on

  • Martin Wood
    Martin Wood May 11, 2010

    Please elaborate. are you wanting to print something and scan it back in. or are you printing to a piped output, ie in a batchfile of other laguage. are you doing something whereby the user needs to imput some data.

×

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Brigadier General:

    An expert that has over 10,000 points.

  • Master
  • 10,406 Answers

The general rule is "never write back to the source file".

Otherwise, find an upper-class student to help give you a one-on-one tutorial to help you with your homework.

Posted on Dec 03, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2 Answers

PDF: File is damaged and couldn't be repaired


Guide for PDFTK (Freeware)
1) Download Gui for PDFTK from the Paehl website.
2) Double-click the downloaded installer to begin the program's setup.
3) Click "Start," select "All Programs" and click "Gui for PDFTK" to open the program.
4) Click the "..." button next to "PDF file" and locate your corrupt PDF. Click the "..." next to "Target" if you are not happy with the output file name.
5) Click "Repair a PDF." Wait for Gui for PDFTK to confirm repairing is complete.
6) Close Gui for PDFTK. Your repaired PDF will be in the same location as the original PDF unless specified otherwise.
As a variant might be...
Here is a tool PDF On-line repair service that may help the users to repair their corrupt PDF files easily - PDF Repair Toolbox. The tool reads corrupted PDF files and saves all recovered information to a new file for Adobe Reader/Adobe Acrobat.
PDF Repair Toolbox

May 28, 2015 | Computers & Internet

1 Answer

Deleted user account for laptop but saved account info in a folder on desktop


Hello Patty,
Have you tried dragging the files to your desktop and try opening them that way? if not open up your word or excel program and locate the file by using file and open.. also I would drag and place pictures to a new location other then the files folder that it was saved on.

May 08, 2013 | Microsoft Windows 7 Home Premium 64BIT...

1 Answer

How to back iertutil.dll when i delete from the recycle bin


you will have to install some software

http://download.cnet.com/easeus-deleted-file-recovery/3000-2248_4-10867160.html
EASEUS Deleted File Recovery is a powerful and free file undeletion solution for Windows 2000, XP, 2003, Vista, 2008, Windows 7. It is capable to recover lost files even after a deletion or even when recycle bin has been emptied. It can undelete files on any valid logical disks visible by operation system. In the case of damaged disk volume or partition, please use EASEUS Data Recovery Wizard. EASEUS Deleted File Recovery is an easy-to-use program with a Graphical User Interface without technical skill requirement through the whole recovery process. Simply launch the software, specify the disk where lost data located, click "Next" button, all the deleted files will be listed. Bonus its free

Hope this helps

Jul 01, 2012 | Computers & Internet

1 Answer

Can't get flash player. Why


That is not how it works.
You click on a link for a video file. The default reader for the file type will start and open/stream the content. If the file extension is not recognized to be a Flashplayer compatible file, the player will not start.

May 05, 2012 | Canonical Ltd. Ubuntu

1 Answer

Hi - on log on my computer is unable to open my user account and opens a temporary account instead. It gives the message 'attempting to restore a file in the registry but the specified file is not in...


If you can access your computer with a temporary user account, you can simply replace the "hal.dll". You can find this file in all windows computers (win xp to win 7), simply copy the file from another computer save it on a flash drive and paste it in the folder C: > Windows > System 32 and paste it. The steps are as follows, open "My Computer", double click "C:" drive, again open "Windows" folder and then again open "System32" folder and paste the file there. Restart your computer and it'll work fine.

Or you can download the "hal.dll" file here.click here. (I've uploaded it for you). Open the link and click "Download Now", wait for 20 seconds and again click "Download File Now" link (purple link).

If you need further help, let me know.

Good luck.

Thanks for using FixYa.

Aug 27, 2010 | Microsoft Windows XP Professional With...

1 Answer

HOW CAN I PRINT FOLDER CONTENTS SIMILLAR TO THE DOS CAOMMAND TREE > PRN


Go to start button. In the start menu click RUN and in the box that opens type "cmd"
In the CLI go to the directory of the folder whose content you want to print and type the following and press enter to create list.txt file first before printing.

dir /b /s /on >list.txt

This will give you a text file (list.txt) in the folder, that you
can manipulate, print etc. in a text editor or
word processor. In order to redirect the output
directly to your printer, instead of a text file, type:

dir /b /s /on >prn

Aug 25, 2010 | Microsoft Computers & Internet

1 Answer

Passworded user from old pc to new pc


How to take ownership of a file loadTOCNode(3, 'moreinformation'); You must have ownership of a protected file in order to access it. If another user has restricted access and you are the computer administrator, you can access the file by taking ownership.

To take ownership of a file, follow these steps:
  1. Right-click the file that you want to take ownership of, and then click Properties.
  2. Click the Security tab, and then click OK on the Security message (if one appears).
  3. Click Advanced, and then click the Owner tab.
  4. In the Name list, click Administrator, or click the Administrators group, and then click OK.

    The administrator or the administrators group now owns the file.
To change the permissions on the file that you now own, follow these steps:
  1. Click Add.
  2. In the Enter the object names to select (examples) list, type the user or group account that you want to have access to the file. For example, type Administrator.
  3. Click OK.
  4. In the Group or user names list, click the account that you want, and then select the check boxes of the permissions that you want to assign that user.
  5. When you are finished assigning permissions, click OK.
  6. You can now access the file.
How to take ownership of a folder loadTOCNode(3, 'moreinformation'); You must have ownership of a protected folder in order to access it. If another user has restricted access and you are the computer administrator, you can access the folder by taking ownership.

To take ownership of a folder, follow these steps:
  1. Right-click the folder that you want to take ownership of, and then click Properties.
  2. Click the Security tab, and then click OK on the Security message (if one appears).
  3. Click Advanced, and then click the Owner tab.
  4. In the Name list, click your user name, or click Administrator if you are logged in as Administrator, or click the Administrators group. If you want to take ownership of the contents of the folder, select the Replace owner on subcontainers and objects check box.
  5. Click OK, and then click Yes when you receive the following message: You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?All permissions will be replaced if you click Yes.

    Note folder name is the name of the folder that you want to take ownership of.
  6. Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.

Source: Microsoft

Jan 21, 2010 | Microsoft Windows XP Home Edition

1 Answer

Where i can get software for C Programing language and what is the software name...........?


STEP 1 : Download the Borland Compiler
https://downloads.embarcadero.com/item/24778
STEP2 : Run the setup program
By default, it should install everything to C:\Borland\BCC55

STEP 3 : Add the /bin directory to the system PATH

>C:\Borland\BCC55\bin\bcc32 OR >c32

After the setup program is run (step 2), a whole bunch of executable programs are placed in a new directory : C:\Borland\BCC55\Bin. This step makes it possible for the Operating System (Windows) to find these new executables by name. If you don't do this, then you will need to specify the full path to bcc32 every time you use it.

To do this on Windows XP
Bring up the Environmental Variables :

•Right Click "My Computer" ( Depending on how your system is set-up, "My Computer" is either on your Desktop or in your Start Menu )
•Select "Properties"
•Activate the "Advanced" Tab
•Click the "Environmental Variables" Button
Append ";C:\Borland\BCC44\bin" to the PATH variable (figure 3-2)

•Select the PATH variable under User Variables
Note: The PATH variable may appear under both System Variables and User Variables. This How-To changes the User Variable.
•Click the EDIT button below the list
•In the "Edit User Variable" box that pops up, move the cursor to the end of the Variable Value field
•Add a semi-colon ";" to the end of the current value
Note: If the value is empty, then you do not need to add a semi-colon
•Add the path "C:\Borland\BCC55\bin" after the semi-colon
•"OK" your way out of the dialogs

STEP 4 : Set up some configuration files
you should create a configuration file for the bcc32 program that tells it where to find its libraries and include files.
•The file should be named bcc32.cfg
•It should be placed in the same bin directory where bcc32.exe is located
(C:\Borland\BCC55\Bin)
•The contents of the file are the command line options for bcc32 stating the location of include files and libraries:
-I"C:\Borland\BCC55\Include"
-L"C:\Borland\BCC55\Lib"
Regards,

Soul_srch007

Dec 06, 2009 | Microsoft Windows XP Professional

1 Answer

How I can "Decrypt data files" on Win XP Professional.


Since you reinstalled the OS, the certificate for the user has changed. You can try the following methods, but there is no guaranty it will work.
These method apply only if the computer name and users name stays the same as the original. If the machine name or the users name or the users privilege changed, these method will not work.

Only the following people can decrypt an encrypted file:
· The user who encrypted the file
· Any user who was designated as a recovery agent before the file was encrypted
· Any user who has the public key or private key for the recovery agent or the user who originally encrypted the file
· Any user who has been granted access to the file
Members of the Administrators group cannot decrypt files unless the person who encrypted the files designated them as recovery agents before encrypting the files.

Note You must be the original user who encrypted the file or a designated recovery agent for the file to follow these steps

Method 1:
To remove encryption from a file, follow these steps:
1. Use Windows Explorer to locate the encrypted file that you want to decrypt.
2. Right-click the encrypted file, and then click Properties.
3. On the General tab, click Advanced.
4. Click to clear the Encrypt contents to secure data check box, click OK, and then click OK again.

Dec 02, 2008 | Microsoft Computers & Internet

1 Answer

How to use cmd ?


to use the command prompt, press the "start" and "R" keys on the keyboard.
On the small, "Run" screen, type cmd.
click ok.

type help in the command prompt. This should print a list of commands that you can use with it.
This is what it puts on-screen:
For more information on a specific command, type HELP command-name
ASSOC Displays or modifies file extension associations.
AT Schedules commands and programs to run on a computer.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
CACLS Displays or modifies access control lists (ACLs) of files.
CALL Calls one batch program from another.
CD Displays the name of or changes the current directory.
CHCP Displays or sets the active code page number.
CHDIR Displays the name of or changes the current directory.
CHKDSK Checks a disk and displays a status report.
CHKNTFS Displays or modifies the checking of disk at boot time.
CLS Clears the screen.
CMD Starts a new instance of the Windows command interpreter.
COLOR Sets the default console foreground and background colors.
COMP Compares the contents of two files or sets of files.
COMPACT Displays or alters the compression of files on NTFS partitions.
CONVERT Converts FAT volumes to NTFS. You cannot convert the
current drive.
COPY Copies one or more files to another location.
DATE Displays or sets the date.
DEL Deletes one or more files.
DIR Displays a list of files and subdirectories in a directory.
DISKCOMP Compares the contents of two floppy disks.
DISKCOPY Copies the contents of one floppy disk to another.
DOSKEY Edits command lines, recalls Windows commands, and creates macros.
ECHO Displays messages, or turns command echoing on or off.
ENDLOCAL Ends localization of environment changes in a batch file.
ERASE Deletes one or more files.
EXIT Quits the CMD.EXE program (command interpreter).
FC Compares two files or sets of files, and displays the differences
between them.
FIND Searches for a text string in a file or files.
FINDSTR Searches for strings in files.
FOR Runs a specified command for each file in a set of files.
FORMAT Formats a disk for use with Windows.
FTYPE Displays or modifies file types used in file extension associations.
GOTO Directs the Windows command interpreter to a labeled line in a
batch program.
GRAFTABL Enables Windows to display an extended character set in graphics
mode.
HELP Provides Help information for Windows commands.
IF Performs conditional processing in batch programs.
LABEL Creates, changes, or deletes the volume label of a disk.
MD Creates a directory.
MKDIR Creates a directory.
MODE Configures a system device.
MORE Displays output one screen at a time.
MOVE Moves one or more files from one directory to another directory.
PATH Displays or sets a search path for executable files.
PAUSE Suspends processing of a batch file and displays a message.
POPD Restores the previous value of the current directory saved by PUSHD.
PRINT Prints a text file.
PROMPT Changes the Windows command prompt.
PUSHD Saves the current directory then changes it.
RD Removes a directory.
RECOVER Recovers readable information from a bad or defective disk.
REM Records comments (remarks) in batch files or CONFIG.SYS.
REN Renames a file or files.
RENAME Renames a file or files.
REPLACE Replaces files.
RMDIR Removes a directory.
SET Displays, sets, or removes Windows environment variables.
SETLOCAL Begins localization of environment changes in a batch file.
SHIFT Shifts the position of replaceable parameters in batch files.
SORT Sorts input.
START Starts a separate window to run a specified program or command.
SUBST Associates a path with a drive letter.
TIME Displays or sets the system time.
TITLE Sets the window title for a CMD.EXE session.
TREE Graphically displays the directory structure of a drive or path.
TYPE Displays the contents of a text file.
VER Displays the Windows version.
VERIFY Tells Windows whether to verify that your files are written
correctly to a disk.
VOL Displays a disk volume label and serial number.
XCOPY Copies files and directory trees.

this window is used only when the desktop cannot be accessed.
For a user-friendly interface (easier to use), use My computer to do common tasks.

Aug 25, 2008 | Microsoft Windows Vista Home Premium with...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

44 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98879 Answers

David Payne
David Payne

Level 3 Expert

14089 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...