File Definition and 575 Threads
-
Y
Fortran Program that reads data from a file and calculates the mean?
Hi everyone. I'm trying to write a program that reads data from 2 files and then calculates the mean, standard deviation and standard error of both files (separate values for each). I'm struggling to get my head around simple I/O, so excuse the poor attempt, but this is what I have so far: (I'm...- youngfreedman
- Thread
- Data File Fortran Fortran90 Gfortran Mean Program
- Replies: 5
- Forum: Programming and Computer Science
-
V
Fortran Creating Executables from Fortran Code Using Makefile: A Beginner's Guide
Hello, I'm young physicist and I have had a first contact with program in fortran. It is not my code but I have got an assignment to use that for my purpose. I can program in C. I watched few videos lessons for beginers about fortran and I hope I understand a structure and common commands...- Vrbic
- Thread
- Beginner File
- Replies: 12
- Forum: Programming and Computer Science
-
CT Scan to editable Solidworks file?
Hello, I have CT scanned an object at my local hospital, and I want to convert the object to an editable part in SolidWorks. So far, I've used the program 3D Slicer to create a label map of the object and exported it to an .STL format. However, it doesn't seem to be editable at all when I...- Hercuflea
- Thread
- ct File Solidworks
- Replies: 4
- Forum: General Engineering
-
D
Fortran File not written after subroutine call
I'm testing a part of a code and I have a problem. After the subroutine call at line 44 (CALL ZEIGSUB), nothing is written in UNIT NRES. The other units are written correctly. Here's the code: PROGRAM TEST IMPLICIT NONE complex *16, allocatable :: KSTAR(:,:), VR(:,:), CM2(:,:) real *8...- dilasluis
- Thread
- File Fortran Subroutine
- Replies: 2
- Forum: Programming and Computer Science
-
D
LaTeX LateX error : I can't write on file 'Rapport.pdf'
Hello, I am trying to compile my lateX document but errors appear: ! I can't write on file 'Rapport.pdf'. Please type another file name for output ! Emergency stop l.55 ... obj {<< /pgfprgb (/Pattern /DeviceRGB] >> ! Fatal error occurred, no output pdf file produced! Transcript written on...- DePaco
- Thread
- Error File Latex
- Replies: 8
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
W
Turning Phone Message into Sound File (.wav, etc)?
Hi, Someone tried to scam me a while back and they were stupid-enough to leave a message in my Android answering machine. Question: Is there a way of turning a phone message into a .wav, .mp3 or other type of sound file? I guess it depends on whether the message is stored in my end or in the...- WWGD
- Thread
- Android File Sound Turning
- Replies: 1
- Forum: Computing and Technology
-
MATLAB User Specifying a Fit Function in a Separate File
I have five data points (x,y,z), with two independent variables (x,y), and have written a function in a separate file z = f(x,y,A,B,C), with three undetermined constants (A,B,C). How can I use a Matlab fitting program to try and determine the constants? I've written a fit function before where...- teroenza
- Thread
- File Fit Function
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
N
How to add confg file to allow UHD drive set priority?
I have Ettus B210 and trying to add 1 line configuration file "/etc/security/limits.conf" which will allow UHD drive to set priority. So , I typed this command to edit file: gksudo gedit /etc/security/limits.conf and add: #@student hard nproc 20 #@faculty soft...- Nate Duong
- Thread
- C++ Drive File Set
- Replies: 1
- Forum: Computing and Technology
-
M
Can text files display sub or sup indices?
Is there any way to show sub or sup indices in a text file such as this Ab? Text files are very easy to use. They are fast, can be opened fast and created easily. Thank you.- mech-eng
- Thread
- File Indices Text
- Replies: 2
- Forum: Computing and Technology
-
E
Java Some trouble with File I/O [Java]
I'm trying to write Strings to files in Java. Basically, I'm supposed to read from a file containing text (assumed to be strings). For each line of text, if the String has the format word1 word2 (that is, if it's two words), I have to write it to one file (a list of names), whereas if it...- Enharmonics
- Thread
- File Java
- Replies: 1
- Forum: Programming and Computer Science
-
M
Understanding File Integrity: Definition and Importance for Data Security
File integrity: State of a computer (electronic) file in which no alteration, addition, or deletion has been made, and which is exactly the way it was stored by its originator. http://www.businessdictionary.com/definition/file-integrity.html I would like to ask what "file integrity" is because...- mech-eng
- Thread
- File
- Replies: 4
- Forum: Computing and Technology
-
M
Is it safe to download torrents without protection?
I am not familiar with torrents and do not usually use them. But now, I have to. I try to download a file from kickasstorrents. When I click on "download torrent" a window appears, prompting me to choose an application. Would somebody please explain how I will proceed at this stage? Thank you.- mech-eng
- Thread
- File
- Replies: 14
- Forum: Computing and Technology
-
A
Bash, reading a file lineby line and extracting substrings
Homework Statement so I have this text file that I'm reading line by line and here is an example of a line: root pts/1 01-19 13:41 (10.0.0.48) Homework EquationsThe Attempt at a Solution How can I extract the terminal and timeframe only? I tried echo $line | cut -d : -f2, 4 and...- Arnoldjavs3
- Thread
- File Line Reading
- Replies: 10
- Forum: Engineering and Comp Sci Homework Help
-
T
Fortran Why Won't My Fortran 90 Loop Output to a File?
Hi, guys I am very new to programming in fortran90 and I am just experimenting with stuff. I have been trying to get my output of my loop program to a text file. But for some reason it will not work. Could someone please advise. Code displayed below: PROGRAM loop IMPLICIT NONE integer ...- Taylor_1989
- Thread
- File Fortran Loop Output
- Replies: 6
- Forum: Programming and Computer Science
-
R
Python Python:Reading (int,float,comp,bool) from file
Homework Statement Read a comma separated numeric (int, float, comp, bool) values from a file and store each comma separated value in a list[/B]. Sort the list (without using in-built sort/sorted function) and write it to output file in comma separated format. In my attempt I am not able to do...- Raghav Gupta
- Thread
- File
- Replies: 4
- Forum: Programming and Computer Science
-
How to find a path for a tex file?
I'm told the system can not find the file and that the system path is not specified when I try to save a laytex document. I'm using TexWorks to create a new file.- Vitani11
- Thread
- File Path
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
T
Need to convert .f90 file to pdf
Hi guys, I am currently having a problem in converting, my .f90 and .txt and output files into a single pdf. Dose anyone have any ideas?- Taylor_1989
- Thread
- Convert File Pdf
- Replies: 8
- Forum: Programming and Computer Science
-
N
C/C++ How to get data from text file in C++?
Hi Group, I am trying to get data from text file, I hope someone can suggest me how to do? I also have this code which can read data, but i do not know how to scan every single line to get any information I want. Please help, Thank you very much. Here is my code: #include <iostream>...- Nate Duong
- Thread
- C++ programming Computer engieering Data File Text
- Replies: 6
- Forum: Programming and Computer Science
-
Fortran How to Read Specific Data from a Fortran Table File?
Hello I am very new to programming and fortran. I have a text file formatted the following way: Name Peter John Sally Joseph Luke Vader etc... age XXXX XXXX XXXX XXXX XXXX XXXX XXXX height XXXX XXXX XXXX XXXX XXXX XXXX XXXX weigh...- Arez
- Thread
- Data File Fortran Fortran90 Reading Table
- Replies: 2
- Forum: Programming and Computer Science
-
B
How to remove background from a PDF file?
I have a PDF file which has a weird dark yellowish background that renders it unreadable when printed in grayscale. I am not interested in the yellow background I just want black text from the PDF. I want to do this for a quite a large number of PDFs so I want a process that is either...- Buffu
- Thread
- File Pdf
- Replies: 8
- Forum: Computing and Technology
-
B
Fortran Can't read float number from file
Hi everyone I need help for reading file that contain float number, I don't understand the problem or what should I have to fix; the code seem to be fine if the read file is integer number but if the number is real number the FORTRAN give me error Runtime Error: debug_input.f(12): Invalid...- bou
- Thread
- File Float
- Replies: 5
- Forum: Programming and Computer Science
-
P
Trouble opening a .tif file....
Hello PF! Last night I was working on something use Autodesk Sketchbook Pro. Since I use layers, I save WIPs using a .tif extension, as this is what Sketchbook supports. Short story shorter, the computer crashed. As of now, the file is still in the location where it was saved, yet it cannot be...- ProfuselyQuarky
- Thread
- File
- Replies: 17
- Forum: Computing and Technology
-
R
Counting Lines in a File: A Homework Statement
Homework Statement #include <stdio.h> #include <stdbool.h> #define MAX_STRING 256 #define MAX_LINHA 1024 typedef struct{ int dia, mes, ano; }Data; int contar_linhas(char fname[]) { FILE *f; Data int soma=0; // Inicializa o contador f =...- RicardoMarques
- Thread
- Counting File Homework Lines
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
LesHouchesEvents: how to read .lhe file
Hello, I have a .lhe file for the u u > u u interaction and i want to extract the initial and final values of momenta but i don't know how. I could write a c++ program and insert them in arrays but how to exclude all the rest (MG5 Proc card, warnings etc) ? sorry for any language mistakes- CoronaBorealis
- Thread
- File
- Replies: 3
- Forum: Programming and Computer Science
-
M
MATLAB MATLAB extract numbers in .txt file
Hi PF! I have a .txt file with spaces and letters, along with numbers. It looks something like this: 12.0 42.0 21.0 32.0 ICF-8-1 23.0 24.0 46.0 600.0 Additionally, the first two sets of numbers each represent a coordinate pair. Then the first coordinate is (12,42) and the second is...- member 428835
- Thread
- File Matlab Numbers
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
C/C++ Extracting information of data in column format using C++
Hello friends, how are you ? Today's question is: How do i choose the data i want to extract from a file in c++ ? I have this data file in columns format, something like: x y z 1 2 3 4 5 6 7 8 9 I know there is the command file.getline() , and this...- Leonardo Machado
- Thread
- C++ Column Data Extraction File Format Information
- Replies: 7
- Forum: Programming and Computer Science
-
D
I need to read .CNF , .TKA and .IEC files but not sure how
I have a whole lot of .CNF , .TKA and .IEC files that their data needs to be taken but I am unsure how to read them or convert to excel. Any help or ideas welcome.- d_train
- Thread
- File files
- Replies: 3
- Forum: Computing and Technology
-
A
LaTeX How do you maintain Bibliography file for BibTex?
Hi guys, I have several projects on my three computers which use bibliography. I maintain them manually, copying and pasting whatever is needed. Needless to say, this is becoming stupid now. I recently started using Zotero. It seems like a nice idea, I use the zotero plugin to save whatever I...- ank_gl
- Thread
- Bibliography Bibtex File
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
HTML/CSS Coding new integral sign in mathjax for html file
I am creating a website and wish to include a new integral sign that has an infinity sign over it but aligned with the same tilt angle as the integral. I'm using Mathjax to render the math code. I can code this in Latex outside an HTML file and it works perfectly but does require the graphicx...- aheight
- Thread
- Coding File Html Integral Mathjax Sign
- Replies: 5
- Forum: Programming and Computer Science
-
G
How fast can hackers crack 128 bit file encryption?
I got a freeware encryption software with only 128 bit. How fast it is for hackers to crack 128 bit file encryption?- gva
- Thread
- Bit Crack Encryption File hackers
- Replies: 17
- Forum: Computing and Technology
-
J
How can I recover my .tex file after a computer crash?
I was doing some work using Texmaker and my all of a sudden my keyboard stopped working and my mouse stopped working. But I know that I had just saved the file, so I restarted my computer. But now when I open up the .tex file to continue my work it is completely blank. It says that I have about...- JonnyG
- Thread
- File Recover
- Replies: 9
- Forum: Computing and Technology
-
M
How to make longer file names and paths in Windows 8
Hi. I try to copy long file names and paths from one source to another but there is a problem. Windows cannot do the operation and gives this error. "File name(s) would be too long for the destination folder" So how can troubleshoot this problem? Thank you.- mech-eng
- Thread
- File Windows
- Replies: 16
- Forum: Computing and Technology
-
Fortran How to Write a 2D Array to a .dat File in Fortran90?
Hello everybody, I have a source code which gives me as a result an array of 2 columns and 3001 rows (2d array). By using fortran90. I was trying to have the values inside these cells into .dat file and tried to generate a subroutine and call my main array inside this. But somehow I get...- abdulsulo
- Thread
- 2d Array File
- Replies: 11
- Forum: Programming and Computer Science
-
Locating MySQL .ini File from the Command Line - Dave's Search
I found this before out on the interwebs, but alas can't find it today. How can you print the location of the .ini file that MySQL is using from the MySQL command line?? Thanks, -Dave- cpscdave
- Thread
- File Line Mysql Search
- Replies: 3
- Forum: Programming and Computer Science
-
C
Searching for the Density of Manila File Folder - Help Needed!
Homework Statement Hi! I wasn't sure how to ask this, but my team and I are making a manila file folder bridge and we are stuck a specific part. We are looking to get the mass of the members and we decided to get it through multiplying the volume of the member by the density of manila file...- CGI
- Thread
- Bridges Density File Mass
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
C/C++ C++: Pass Numbers Into x & y Arrays from txt File
I know this is pretty basic question, but something doesn't seem to work right for me... Suppose I have a txt file, with the following input: x y 0.0 0.5 1.0 1.5 2.0 4.8 3.0 4.9 How can I pass those numbers into x and y arrays using a C++ code? My code so far is like this...- ChrisVer
- Thread
- File Input Text
- Replies: 13
- Forum: Programming and Computer Science
-
C/C++ How to read a binary file using C++11 functions?
Hello I'm using the C functions for reading binary files: #include <iostream> #include <stdio.h> void main(){ /*********/ uint32_t head=0; FILE *fin = NULL; fin = fopen("myFile.bin","r"); while(myCondition){ fread(&head,4,1,fin); std::cout << std::hex << head...- ORF
- Thread
- Binary File Functions
- Replies: 8
- Forum: Programming and Computer Science
-
N
How to create batch file to shutdown computer?
Dear Group, I would like to ask a question regarding to the batch file, I am trying to create a batch file which could help to to shutdown to computer quickly, but when i run batch file, the command window showed up and keep running too many line but did not shut down the computer. But when...- Nate Duong
- Thread
- Batch Computer File
- Replies: 2
- Forum: Programming and Computer Science
-
Z
De facto standard file format for electronic circuits
What's the most common way to store electronic circuits in digital form ? What is the ".pdf document" equivalent for the electronic world ?- zunf
- Thread
- Circuits Electronic File Format Standard
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
N
What are some solutions for a corrupted MS Project file with 6000+ tasks?
I have a MS Project 03 mpp with 6000+ tasks that has become corrupted. We can still open and work with the file in Proj03, but it will not open in Proj07, which has now become our standard version. I have tried all of the standard fixes without success (compact by saving on open, export to...- nietoramos
- Thread
- File Project
- Replies: 6
- Forum: Computing and Technology
-
S
Text file that is read into an array
I have a program "probe.f90" that reads in a text file. It runs. I am having trouble reading in the second text file (when prompted by user). How could I turn this bit of code into a function? I was thinking about a function that strips the header from the fasta file. Then read into an...- Sue Parks
- Thread
- Array File Text
- Replies: 33
- Forum: Programming and Computer Science
-
C
Genie 2000 to Ortec's Maestro file converter - wanted
Dear forum, first of all thanks in advance for your collaboration and interest. I am an engineer interested in nuclear physics. I was looking for the program SPEDAC-Pro which is used for the conversion of the Genie 2000 file format into the Ortec's Maestro ones. Unfortunately the program is no...- CVD700
- Thread
- Converter File
- Replies: 1
- Forum: Nuclear Engineering
-
D
MATLAB How to Calculate the Average of the Third Column in a Text File Using Matlab?
I want to create a Matlab script called hw11.m, which reads in a text file of weather information, parses it, and writes formatted summary information. The textfile is called MonthlyHistory.html I cannot figure out how to write a loop that averages the third set of numbers in the string. an...- davidhedoesit
- Thread
- File Matlab Text
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Troubleshooting File Copying and Removing Items in Visual Basic Function
Hi, I'm having trouble figuring out how to copy the contents of a file over to another file, and removing an item of the content of the list I'm copying in the process. The idea is that I need to remove an item from a list by copying everything that is in file one over to file two that is not...- phion
- Thread
- File Visual
- Replies: 52
- Forum: Programming and Computer Science
-
V
Database mounted. ORA-01113: file 1 needs media recovery
The only way to recover is from media backup? I know I cannot "rebuild" system datafile, but if I don't have a backup - I know shame on me! - Is there anyway to recover database?- Valdimarsson
- Thread
- Database File
- Replies: 3
- Forum: Programming and Computer Science
-
L
Why Can't I Open My Database File?
Can not open database file. When you open a written "Application Error" and all. I tried to import objects into a new database. Tables and queries were imported without a problem, but on the forms, reports and modules gives the same error. Standard recovery says that all recovered, but no result.- liljoy
- Thread
- Database File
- Replies: 3
- Forum: Computing and Technology
-
IDM - unable to retrieve TS file
I am using IDM to download a flash file encoded with .ts extension. But IDM reports that the file is not supported.- Silicon Waffle
- Thread
- File
- Replies: 3
- Forum: Computing and Technology
-
Getpwnam no such file or directory
Hi, I'm trying to write a simple authentication plugin which authenticates a user against /etc/master.passwd. The problem is the call to getpwnam() which fails with 'no such file or directory' Relevant code below char username[10]; memset(username,0,sizeof(username)); /* Read the username */...- James889
- Thread
- File
- Replies: 4
- Forum: Programming and Computer Science
-
R
Can .CNF files be converted to .TXT files?
hi, is there anyway to convert .CNF to .txt file? regards- Ranjini
- Thread
- Convert File
- Replies: 3
- Forum: Computing and Technology
-
G
How Can You Delete a Record from a Text File Using a Struct Field?
Homework Statement How to delete specific record from a text file by some field from struct? Homework Equations -File handling -Searching algorithms The Attempt at a Solution I know that one of the searching algorithms is needed, but could someone explain how to delete found record from file?- gruba
- Thread
- C programming File
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help