File Definition and 575 Threads

  1. M

    Fortran Problems reading binary file in FORTRAN

    I am having problems reading a binary file in FORTRAN. I know that the file was generated by the code below: open(7,file='hctd1_kxx.dat',form='unformatted') ... write(7) iscl write(7) inode,npoints write(7) (kxm(i)*(10**(prop(i))),i=1,npoints) close(7)...
  2. J

    HTML/CSS HTML - counting the number of responses from a text file

    HTML -- counting the number of responses from a text file Hello, I have an angelfire website and on one of my pages I ask a simple question. What is your shirt size? There are four options: Small, Medium, Large and Extra Large. The answer is then submitted to a text file. My problem is...
  3. A

    Can any one help me me? need a c program to open a file using c

    can anyone help me me? need a c program to open a file using c pls can anyone send me a c programing code for opening a files
  4. I

    How to Parse and Output Employee Data from a File Based on Department

    Hi! Thanks for helping me. I need to write a program (in C++) that reads the file Employee.dat as input and then outputs to 4 different files which are Managers.dat, Marketing.dat, Developers.dat, and Testers.dat. Each of the output files contains the name of the employees of its category. The...
  5. O

    Deleting a file that can not read from the source file or disk

    Deleting a file that "can not read from the source file or disk" I downloaded a torrent file the other day and half way through the download i decided i didn't want to finish downloading so i deleted the file using a command prompt on bittorrent. Now the file (which is on my desktop) is deleted...
  6. A

    Learn How to View .he5 Files Easily | NASA NOAA Ozone Data Guide

    How to view .he5 file?? Not sure if this is the right place in the forum to ask this question. If it isn't, feel free to move it to the appropriate section. I am trying to obtain some data from the NASA NOAA website for a project I am working on, namely some ozone data from this page...
  7. N

    MATLAB MATLAB Write result to txt file

    Hey All, Quick question hope someone can help. Does anyone know how to write the result from a program in MATLAB to a text file ? I have googled this question to no avail. :confused:
  8. L

    A programme to change name of a file in linux

    Hello. I am writing a programme that changes the names of files in the linux directory. More specifically I have transferred a lot of files from windows directory which contains a lot of spaces and special characters that can get annoying in linux, so I am trying to write a programme to replace...
  9. D

    Fortran Interactive file naming for naming multiple files in fortran90

    I am looking for a way to create the files with names name according to value of variable in a loop. For example (not actual code): do i=1,11 open(10,file=name 'i'//".txt") ... ... enddo where 11 files with names: name1.txt, name2.txt...name11.txt will be created with the content. Do you...
  10. D

    3D CFD Tutorials & CATIA V5 to CFD File Imports

    hi. I need some 3D CFD tutorial. Can anyone introduce some links to me besides cfd-online? And may I know how to import file from CATIA V5 into cfd? where can I find that information? Thanks.
  11. S

    MATLAB Avoiding "Out of Memory" Error: Writing Values to Text File

    I have been writing a program to compute and change a value a great number of times and writes each value into a file I did this by continuously storing each value (which is a 7 element vector) into an array, and then writing that into a file using the cvswrite function The problem I am...
  12. G

    Change the date to my old genie2k .cnf file

    hi, I want to change the date to my old genie2k .cnf file. Any suggestion?
  13. F

    Is there a way to retrieve a lost file in MS Word 2003?

    Hi everyone, I have the following problem. I saved a file and when I was going to open it, it didn't have the changes I made to it, it was a completely different file. Does anyone know what might have happened and if there's a way to retrieve it? I use Microsoft Word 2003 Thank you, John
  14. W

    How could I script A code to synchronise A Specific File On My Pen Drive?

    I frequently Update file on my memory stick and (foolishly) forget to backup(!) could i script an auto run for when i plug my memory stick in it would sync. specific files. Please reply soon I need Help!
  15. moe darklight

    Best Free File Host for Large Files: No Download Limit

    anyone know a good free file host? one where you can up relatively large files and doesn't have a download limit.
  16. rohanprabhu

    What is the fastest way to check for file differences in a Makefile generator?

    I am making a Makefile generator and for that, I need something like: There is a list of files. When the generator is run, I need to know that which files out of those have changed since the last time the generator was run so as to not to include these files in the compiling list. I was...
  17. Math Jeans

    Java Solving Java File Not Found Error - "Sgrep.java

    Hello. I am having some trouble getting a java program to work. I am supposed to make a program that takes a word and a file name, and finds all lines in that file that contain that word. The word that I chose was "try", and the file was "Sgrep.java" Here is the main method: class main...
  18. T

    Create a .dst File for Free: No Digitizing Fee Needed

    I want to get my company logo put on some hats. All the embroidery shops need to digitize the logo to get a .dst file for their sewing machines. they want to charge $80 to digitize the logo. Is there a free way I can make a dst file myself?
  19. A

    C/C++ How can I extract and print every 5 digits from a txt file using C++ file i/o?

    i have a txt file full of numbers and i just want to take the first 5 digits, save it has one number, shift over 1 digit, take another 5 digits, save it, and so on until the end of the file here is the code fstream Prime; Prime.open("digitsofe.txt"); if (!Prime.is_open()) { cout <<...
  20. E

    Why not multiple inclusion of a header file if certain precautions are taken?

    Hi Ho! I often heard people say that we should avoid multiple inclusion of a header file. And, they very often show how to do it. But, I myself haven't yet found the reason of not to do it when certain precautions are taken. What I am going to discuss here is C programming, not C++. I...
  21. N

    Help Reading A .txt File Into A 2D Array In C

    Homework Statement The program is to read in a file full of numbers formatted like this: The first line contains a single int n. Following this line, there will be n lines with n ints each separated by whitespace. So I have asked the user for a file path and read in the first number ('n')...
  22. N

    How Can You Correctly Read and Format File Data in C?

    Homework Statement Ok, here is the other question that's giving me a headache. There is a file which holds 5 data items per line and a minimum of 1 line. The data is always in the order float float integer float string and each element is separated by a space. So we need to ask the user for...
  23. S

    Python How to Load a .py File in the Python Interactive Shell for Debugging?

    How can I load a .py file in the python interactive shell for debugging?
  24. C

    Get the contents of a file, character by character

    I am stuck on a program where I need to open a file, and print out the contents to a screen, but at the same time, I want to save each character in the file (spaces included) to an element of an array. However, I am having a problem opening the file and going through it character by character (I...
  25. K

    Write/Read Char Count to/from File

    Total program to write number of characters to a file and to read those back. Please help.
  26. N

    Program to Count Character Occurrences in a File

    hi! i was writing a program which asks the user to input the file name. the program then reads the file and prints out how many times each characeter has occurred in the file(uppercase and lowercase are different). Pls help me out. this is what i have got-i know this is not correct...
  27. F

    How can I count the number of zero elements in a vector using MATLAB?

    I'm trying to write an m-file in MATLAB that can count how many data point in a vector are zero, how many are 1, etc. I can call the vector and get the length, max and min values, but I also need to be able to call each element seperatly and I can't figure out how to do this. I've been playing...
  28. T

    Java Fixing Syntax Issues with Java File Inputs

    So I made a program that finds files and searches in them for key terms using the scanner class in java.util.*; I've written it something like this: Scanner filereader = new Scanner(System.in); String filename = filereader.nextLine(); Scanner searcher = new Scanner(new File(filename)); The...
  29. E

    C/C++ How Can I Read Specific Lines from a File in C Language Using Dev C++ Compiler?

    I have the Dev C++(I am writing in C language) compiler and I need help on how to read in specific lines in a file and complete calculations on them. I need to read in a .txt file (I know how to do this, however I don't know how to read in the specific lines in a file) that has a column of...
  30. S

    What header files do I need for my code to run in Microsoft Visual Studio?

    Hello, I'm trying to copy and paste my code into Microsoft Visual C++. It's originally written in Borland. I rearranged my header files' format to fit Microsoft's format, but some headers aren't being read. Is there a list that has ever possible header file that exist for Microsoft Visual...
  31. cepheid

    How Can I Share Files Between Two Computers on a Home Network?

    I have two computers connected to the internet through a linksys router. It's a wireless router, but both computers are physically connected to the router using ethernet cables. Both computers running Windows XP, one is a laptop, one is a desktop. I want to be able to share files and printers...
  32. malawi_glenn

    C/C++ Troubleshooting Error in .cc File: Missing '/' or '\

    I have this in my .cc file: #ifndef __FASTJET_FASTJET_BASE_HH__ #define __FASTJET_FASTJET_BASE_HH__ // define this for easier readability (and obfuscation?) in // a range of places #define FASTJET_BEGIN_NAMESPACE namespace fastjet{ #define FASTJET_END_NAMESPACE} #endif //...
  33. M

    MATLAB MATLAB: Using WavWrite to Create a Single Audio File

    I am a MATLAB newbie, and apparently I am having a terrible day because everything that I do in MATLAB has been resulting in an error and/or undesired behavior. I am trying to write out a 'wav' file using a number of MATLAB created audio samples (simply by generating them using a sin...
  34. DaveC426913

    Need Help Up-Versioning Corel File from 5 to 6

    Help! I uninstalled Corel 5 in favour of 6 and now I need to edit a file that isn't compatible with 6. Does anyone have Corel 5 or less that they could up-version a file for me?
  35. A

    Making a sysytem file monitor, how ?

    Helo everyone, i want to write a program that monitors the file operations occurring thoughout the windows. i mean what files are being opened and modified so that i can implement some security system which monitors specific folders or whole drive. but the problem is that i don't know how to...
  36. B

    MATLAB What Is a Data File and How Do You Generate It in MATLAB?

    Homework Statement I have a retake in MATLAB and in my briefing they said i will have to generate a data file and analyse it.Can someone please tell me what a data file is and how you generate it. I have used the help function in MATLAB but did not find it very useful . Thanks in advance...
  37. B

    Legal music file sharing program.

    Is their a legitimate music p2p service that charges its customers a monthly fee for downloading unlimited songs instead of paying 99 cents for one song? Because I listen to a lot of music and 99 cents a song is just to expensive for a college student like me. I ask if there are legitimate p2p...
  38. berkeman

    Voice Synthesis with a uC - Audio File IP Available?

    Voice Synthesis with a uC -- Audio File IP Available? I'm working on a project that will involve voice synthesis and playing simple tones using a mid-range 8-bit microcontroller (uC). I've done my own proprietary tone synthesis many years ago (with an 8051), but for this present project, I'd...
  39. B

    What is the safest file sharing program for downloading?

    I'm aware that there having already been threads on which is the best P2P file sharing program to download. But the threads I've search only ask one of my questions and most of the threads are only 2 years old , so things may have change. Whats the safest file sharing program to download?
  40. T

    Electric Fields ( i attached a file)

    Homework Statement Hi, my question isn't actually over a particular homework problem, I've attached a file of my notes on electric field, electric dipoles, i don't quite understand why the equation of the electric field is setup that way for the negative charge. Homework Equations...
  41. D

    Installing a CD-Image .iso file ?

    Installing a CD-Image .iso file ?? I have downloaded the CD Image file ( .iso ) of the Kubuntu OS , Now I want to install it as my alternate OS to windows Xp , Can I do it without burning it to a CD??... some other way??... Also , I have got DVD writer with me but no CD writer , so if I...
  42. J

    Change the contents of a file into a string

    Hi. I'm in an elementary Java course and I wrote the following code to print the contents of a file I created earlier: public static void load(String fileName) throws IOException { try { Scanner fileScan = new Scanner(new File(fileName)); while...
  43. J

    Java Saving Flight Data to File: A Method for Storing Flight Information in Java

    I need to write a method called save that takes a String as a parameter, and returns a boolean value. The parameter represents a filename, and the method should save the contents of one of my classes Flight.java to a file with that filename. I need to include all of the contents created in...
  44. R

    Java Java: writing pictures to a file

    hello, I need the code to write pictures to a file so I can read them sequentially.
  45. C

    C/C++ Fixing C++ File Program with 6 Linker Errors

    Im having a problem with a cpp program. It gives me 6 linker errors, which have something to do with buffer overflows. I used borland turbo cpp 3 to compile this. What should I do. Here's the code: #include<fstream.h> #include<conio.h> #include<stdio.h> ofstream write; ifstream...
  46. J

    HTML/CSS HTML - posting from a form to a text file

    HTML -- posting from a form to a text file Hey all! I have an angelfire website and on one of my pages I have a "comments page". It simply asks for a user's name and any comments he/she may have. These two pieces of information are then submitted to a text file. My problem is that a...
  47. Ivan Seeking

    News Kucinich to file articles of impeachment against Cheney

    http://rawstory.com/news/2007/Kucinich_set_to_announce_Articles_of_0424.html I can only hope that his motives are sincere and that this is not intended solely as a means to political gain.
  48. N

    I need to write a function that reads words from a text file and

    I need to write a function that reads words from a text file and writes the words to an output tex file while removing all duplicate words. void remove_dup(string filename) { vector <string> a; string word; ifstream infile(filename.c_str()); if(infile.fail()) exit(0)...
  49. N

    C/C++ C++: Open File Multiple Times Before Exiting

    Hi. I am required to ask the user to open a file multiple times before exiting the program. How do I do this? void ReadData(vector <student> & section, int& num_Students,string& filename) { ifstream in; cout << "Please enter file name:" << endl; cin >> filename...
  50. marcus

    Size and Destiny of the Universe -nice JPG file

    "Size and Destiny of the Universe"---nice JPG file I just re-connected with this modest plain-looking JPG file which is a plot of the universe's scale factor over time and thought I'd share it this post in this other thread gives some context---links to the text of the article where this...
Back
Top