Search Results

Search: Posts Made By: Boucho
Forum: Programming 02-14-2006
1,856
Posted By Boucho
File to Array and Back.
Hi, how can i write a C program in Red Hat 9. I can't find a compiler.
Also would you mind looking at this code and telling me if you think its ok. I need to put a file which has many columns of...
Forum: Programming 02-07-2006
5,134
Posted By Boucho
Thank you, once again. You're a life saver.
Thank you, once again. You're a life saver.
Forum: Programming 02-07-2006
5,134
Posted By Boucho
Cool, well all the numbers in $1 are unique in...
Cool, well all the numbers in $1 are unique in each file anyway so that should be dandy. Yet another question, sorry. I just realised that i will have to divide each number in $2 by an integer (the...
Forum: Programming 02-07-2006
5,134
Posted By Boucho
Guys, you're absolute legends. I won't get to try...
Guys, you're absolute legends. I won't get to try it out til the morning, but if ye reckon it'll work thats good enough for me. One question though; The values in the first column range from 1E-2 to...
Forum: Programming 02-07-2006
5,134
Posted By Boucho
Is that piece of code not just adding all the...
Is that piece of code not just adding all the second column together? I need to add row1,column2 of file1 to row1,column2 of fille2;
row2,column2 of file1 to row2,column2 of fille2;
..3, ...
Forum: Programming 02-05-2006
5,134
Posted By Boucho
Thanks very much for that. Unfortunately i can't...
Thanks very much for that. Unfortunately i can't really understand it. Sorry, my knowledge of C is terrible. Where do i put the names of the two files i'm adding together. And what does nawk do?...
Forum: Programming 02-03-2006
5,134
Posted By Boucho
That looks all wrong. Not the way i typed it up...
That looks all wrong. Not the way i typed it up at all. Sorry. There are 4 seperate values in each row, one under each of the headings. So in line 2 5 is under "wavelength" , 3E-6 is under "flux",...
Forum: Programming 02-03-2006
5,134
Posted By Boucho
Its Red Hat, version 9 i think. I don't have the...
Its Red Hat, version 9 i think. I don't have the actual data with me now but i can give you an example:


% This is a file containing the flux at varying wavelengths
% of a young massive star...
Forum: Programming 02-03-2006
5,134
Posted By Boucho
C not necesary
No i suppose C isn't necessarily the only option. The reason i was opting for it was its the only language i have any knowledge of; minimal as that knowledge is. Programming is something i've had...
Forum: Programming 02-02-2006
5,134
Posted By Boucho
Adding files of numerical data
Hi I was hoping that maybe someone could help me with a small piece of C code. I have a number of files, which are all of similar layout ie. three lines of text and 5-6 columns of numerical data. I...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 07:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy