File Definition and 601 Threads

  1. J

    What is the Purpose of rundll32.exe and rundll.exe Commands on Windows?

    I've been seeing this certain file extension lately on my computer, but I do not know what programs to run them. What are file extension dll?
  2. J

    Bash: Including a path from one file into another

    Hi everyone I'm having trouble working out how to import a specified path into a bash script. Basically, I have numerous scripts, each of which writes their output to a certain directory via the command set wdir = "/home/..." However, in the future this directory may change, so rather than...
  3. S

    Gaussian 09 .out file format specification (and freqchk)

    Hello, I was wondering if anyone could tell me where the documentation exists for the output of Gaussian 09 runs. The .out file is plain text and human readable, but I can only decipher parts and units are not always clear. I would have thought the Gaussian website would have an explicit...
  4. iamjon.smith

    Comp Sci Java Program Input from file, output to file(s)

    Develop an application that reads city, state, and population from a text file. Example input census file: Jamestown FL 50000 Domville CO 10000 Jennyboro FL 30000 Lillyville CO 5000 If the population of the city is greater than or equal to 50,000, write the city information to a text...
  5. B

    Help: Abaqus-why not get the correct stress? with inp file.

    help: Abaqus--why not get the correct stress? with inp file. hi, all, the attachment is the calculation inp file for the stress of pipe. but now i can not get the correct result. pls help me to find the error. thanks in advance!
  6. C

    Can't put .txt file into an array

    I'm trying to input a .txt file with a variable number of rows and 3 columns into an array. The first row is just a single number expressing the remaining number of rows. so we have something like this 3 3 5.12 3 5.3 3 5 4 3 4 All the individual numbers are separated by spaces. So far...
  7. T

    Fortran Fortran90: Reading Mixed-Type Input File

    Hi everyone, I am kind of new in fortran90 and I am struggling with writing this basic programme: I have an input file with a fixed format . It looks like this: c 23.345 45.342 34.345 c 12.345 56.235 67.234 c 45.567 44.345 78.345 c 56.567 78.563 97.342 where the first column...
  8. J

    Fortran Fortran 77 - subroutine in separate file

    Hi all I am currently using subroutines, and placing them at the end of the main program. However, I was wondering if it is possible to save them to a separate file, which the main program then calls? For example, in the program below I call the subroutine 'SUB', which is located at the end of...
  9. M

    What could be causing a file from 2011 to be undeletable?

    Recently I discovered a file (dated Feb. 13, 2011, time 8:07 P.M. (EST)) that cannot be deleted and does not respond to any commands, such as move, rename, open, etc. I have "unlocker assistant", but it doesn't work here. The date stamp corresponds to a time when I was surfing Physics...
  10. C

    VHDL code - write to a binary .dat file

    I'm attempting to write some simulation VHDL code that will be able to write the output of my simulation as a single string of binary values in a .dat file. So far I've used both the textio and std_logic_textio libraries to write the signals to a .txt file as text. Is there a library I can...
  11. iamjon.smith

    Comp Sci How to Build a Java GUI for Recording City Populations to a Text File?

    Develop an application that reads city, state and population entered from the user and writes this information to a file. The application should continuously prompt for this population information until terminated by the user. Example file: Jamestown FL 50000 Domville CO 10000 Jennyboro FL...
  12. C

    How to Fix Runtime File Reading Error in Fortran Code?

    I frequently get the same runtime error when using g77. Here is the error message: fmt: end of file apparent state: unit 16 named vi1.src last format: (F10.6) lately reading sequential formatted external IO abnormal program termination I have added to my code the REWIND statement...
  13. P

    How Can I Find Physics Files on Kinematics and Motion Graphs Online?

    recently i lost all my data in my computer can anyone help me to find a file on the net file containing all the s-t v-t a-t graph relationship and also content about kinematics such as projectile motion on inclined plane ... also with problem exercises thanks
  14. M

    Fortran Can Fortran77 Write a File to Excel without Using Tab Separation?

    I have problem don't use tab to separate cell for writing file to excel. this algorithm write file to excel one cell only.i want write file separate cell on excel file. please suggest me about algorithm write file in excel file.
  15. M

    Comp Sci C++: continuous reading file while doing calculation in between?

    Homework Statement I have 1 class for reading parameter from file (example below) and 1 class for doing calculation For every step, I'd like to read in parameter and do calculation in between. For i = 0 to number of lines in parameter file Read in parameter; Calculation; End...
  16. N

    Efficient File Name Changes: How to Automate the Process with Programming

    Hello all, I have another little computer problem to deal with. I have a folder full of files (over a thousand) with the basic form KJ(number)-j(another number).txt, and I want to change the style to (number)(another number).txt. Is there any simple way to do this as the only way I can think...
  17. I

    Mathematica File names in a Do Loop: Mathematica

    Does anybody know how i can make files in a do loop in mathematica? For example i want a do loop as (here is not mathematica language) do i=1,10 make file = text_i.txt (here i is the index of the do loop) end do The results of this process would be ten files as text_1.txt text_2.txt...
  18. N

    Fortran Solving Fortran Input File Problem - B

    Hey guys, I am wondering if anyone could help me with a simple problem. I want to remove key parameters from the "type declaration/parameter" portion of my code and into an external input file for easy access. The problem is, many of my variables (such as arrays) can't be defined until...
  19. J

    Python How to write a data file in Python

    Hi guys I've done a Runge-Kutta script for the Lorenz Equations in python, I need to write data for (t,x,y,z) in a .dat file in order to reprint in a table. How can a do it? Imported routines are: import sys, pylab, numpy from pylab import * from mpl_toolkits.mplot3d import Axes3D...
  20. L

    How to copy 2 bytes from a file an put into result variable?

    Hi! I don't know if I am even wording this right but here goes. I have to write a programme to read two data files into C++, then ouput as one file in the same format. The two files are files of 10 bit data. Each 10-bit recorded value is represented by a 16 bit word, of which the top 6...
  21. T

    Troubleshooting Attached File: Solutions Here

    Need help with the file attatched. thanks.
  22. A

    How to divide an wav file into segments

    Does anybody know how to do this in matlab?
  23. A

    Fortran Input .txt file into Fortran program

    I am trying to input a txt file into my fortran program. My txt file is a 9x2 table of integers, all I want is to display the values in the same format in my program. I tried using, program name implicit none integer :: input(9,2), I, J open (unit=20, file="values.txt") DO I =...
  24. J

    Checking Output of File Operations: How to Open & View a Text File

    how to see the output of a file operation? eg void main() { int a; cin>>a; ofstream o("a.txt"); o<<a; o.close(); } does the text file "a" come into existence? can we open it?
  25. D

    Cannot copy/rename file in Eclipse error

    Every time i try and copy or rename a file in Eclipse, I get the error org.tigris.subversion.javahl.ClientException: RA layer request failed svn: Server sent unexpected return value (405 method not allowed) in response to MKACTIVITY request... help!
  26. M

    Can't read parameters from file

    Homework Statement I'm trying to read parameters from a text file (format below) but actually my function didn't receive any parameters from read file function. Number_of_points 80 Distance 10.0 Time_step 0.05 Velocity 5.0 Diff_coeff 50.0 Homework Equations The Attempt at a...
  27. M

    Comp Sci Can't write calculated resulted to file in C++

    Homework Statement Dear physics forum, I'm start learning C++ and I'm trying to program a space transform function for linearized convection-diffusion problem using Code:block Everything was fine until I wrote calculated result into a file. When I run the program, some error message...
  28. A

    Fortran Read start: end of file error in fortran

    Hi all, do i = 1, 79 open(2,file=afiln(i),status='old') do k = 1,11 read(2,'(51a)')astr1 enddo do j=12,2000 read(2,22,end=23,err=23)iyr,imn,id,ih,imt,flx write(7,*)i,j obstim =...
  29. B

    Matlab: changing frequency of a .wav file

    Homework Statement Write a script which plays a Doppler shifted version of a WAV file. The Attempt at a Solution This is the code for a doppler shifted single frequency: vs = 1100; % speed of sound in feet per second v0 = s*22/15; % speed of the vehicle in feet per second fs = 10000; %...
  30. T

    MATLAB Matlab Help -- code to randomly select a file and a sentence in that file

    clc for ii=1:1:3 % start looping rand_id= rand(1,1) *3; % Randomly generte a number between 1 to 3.if (rand_id<1) rand_id=1; % 0 is ommitted. else rand_id=floor(rand_id); end % rand_id will be used to open a previously saved file randomly. if (rand_id==1)...
  31. J

    Brain File Compression: Investigating Memory Recall

    Hi. You may only understand what I am going on about here if you play an instrument. I have often noticed that there are songs that I really love and know inside out, which, in my mind, I can play almost perfectly in my head; most of the parts and certainly all of the melodies etc. But...
  32. D

    MATLAB Writing Strings to File in MATLAB

    Hey, so i want to write a string to a .txt file and I tried by doing this: save filename.txt writer (where writer is the variable containing string) ... But i get weird char. instead of the string. Any ideas?
  33. E

    Searching for a string in a file (C)

    Hi, I've got a program which recalls strings randomly from a file. The file contains the strings, with each one taking up 200 bytes and if it's not long enough, I have spaces inserted after to make up the length. So they are all end to end, and there are no line breaks. The program works...
  34. P

    MATLAB Matlab questions: Read from Excel file

    Hi, Looking for a bit of cheeky help with matlab, I am stumped! 1) I have written a program that i want to cycle through different sets of data, ideally this is what i would like: These are all xls files with columns of data ydata = ... xdata = ... zdata = ... for variable =...
  35. B

    Fortran Fortran 95: WRITE to screen changes output to WRITE to file

    I have a short code that calculates the running median for three columns of data in an input file and writes the running medians out to three columns of data in an output file. I use Numerical Recipe subroutines and functions to compute the running median. If I include a WRITE(*,*) directly...
  36. K

    C Program Help: Count & Sort Word Occurrences in File

    C program help! Hey guys I am having trouble completing this C program. Its suppose to ask the user to enter a file to read from, read the file, count how many times each word appears and print the results in a different file(also user input) arranged from high occurrence. Heres what i...
  37. N

    MCNP: SRCTP file with KCODE card

    Hey, I'm modeling the criticality of a core for a university project using MCNP4C. I've run the core on the appropriate KCODE parameters, specifying the source using the KSRC card, and I was looking to cut down on the computing time using the SRCTP files. My problem is that I can't find...
  38. Andy Resnick

    Sharing Lab Photos - What's the File Size Limit?

    I finally got a decent color camera for my lab, and would like to share some images here. I can't find any forum guidelines for the images- specifically, what's the allowed filesize?
  39. James889

    How Can I Replace Hyphens with Spaces When Reading from a File in C?

    Hi, I'm trying to write a simple program that reads the content of a textfile and removes all hyphen by replacing them with ' ' #include <stdio.h> #include <stdlib.h> int main(){ FILE *fp = fopen("Thetextfile.txt","r+") /* Open for reading and writing */ char ch; while(ch =...
  40. M

    Comp Sci Is My C++ CellStatus Function Causing Print Failures After First Generation?

    it prints fine for the first generation, but nothing else after that. i am thinking that my problem lies in the cellStatus function and its implementation within the printCell function. attached are the files that i am getting input from and the file that i am printing to. #include...
  41. C

    Do You Need to Be a US Citizen to File a Patent in the US?

    does one have to be a us national to get a us patent? also could anyone enlighten me on what patent cooperation treaty is? thanx
  42. D

    Fortran Help with reading file into FORTRAN

    Hey all, I'm in the process of writing a Suggested Reorder Program for my father's small business.. His current computer program exports its item data in the form of .CSV files. I'm trying to read the file into FORTRAN to manipulate. However, I run into the following problem: Even...
  43. V

    C/C++ Eclipse Error 'Program File Does Not Exist'

    I am pretty ignorant of this language. I am working from a '...for dummies' book to teach myself and after the first few pages I have already stumbled upon a problem. I have attached a code, pretty simple one, which I'm trying to run but there are some errors and I don't know how to resolve...
  44. GRB 080319B

    .exe file not a valid Win32 app

    I've tried to open several different .exe files, and keep getting the same error. I've gone to several Windows help/ troubleshooting sites to no avail. My OS is Windows XP SP3 and browser is Firefox Ver. 3.5.9. I'm not able to install any other browsers on my system to test if this is Firefox...
  45. M

    Efficient Text File Trimming in C++: Locating and Removing White Spaces

    i am trying to locate the end of a text file and delete any extra white spaces following it, but i am having trouble trying to do this. is there an easy way to do this? right now i am reading the text in character by character and outputting the text to another outstream file. i can't seem to...
  46. R

    Redirect output of mc6811 from terminal to a file

    Hi, I want to redirect output of mc6811 from terminal to a file.I have tried google search and did not find any solution for that.Can anyone help me?I appreciate your help. Thanks Rose
  47. M

    How to read this file line by line and store contents in an array

    Hello, In my computational science class I have the task of taking the following input file and manipulating it. I have the following input file: C1 0 0.00 0 000.0 0 000.0 O2 1 1.22 0 000.0 0 000.0 H3 1 1.09 2 120.0 0 000.0 C4 1 1.54 2 120.0 3 180.0 H5 4 1.09 1 110.0 2...
  48. M

    Bash script - Monitor File Writes?

    I have a small problem that I would like to solve. I have an idea, but it's kind of half-assed and I'm not sure if there's a better way. The problem: I have a CFD solution that writes out a solution file everything 5 minutes or so. I currently am writing out 32 total solution files. So, when...
  49. Simfish

    Linux Environment Variables: Exploring File System Storage

    system? I know that it isn't possible in Windows since Windows has the registry and background variables that aren't stored on the file system for some reason. But what about Linux? Are its environment variables stored on the file system? Is there anything that isn't stored on the file...
  50. G

    Fluids motion HARD. i attached the file as a PDF check picture from Q4

    Homework Statement µ Q.4 An incompressible fluid of density ρ flows steadily through a two-dimensional infinite row of fixed vanes, a few of which are shown below. The vane spacing is a. The velocities V1 and V2 and pressures p1 and p2 are all constant along their respective stations, (1) and...
Back
Top