Hello Salem,
Thanks! I tried using you lowsave options and it did not work. Only first 2 rows were computed. Then I included printf statements after line 70 and after 87 to know what is happening (I...
Type: Posts; User: Raja78
Hello Salem,
Thanks! I tried using you lowsave options and it did not work. Only first 2 rows were computed. Then I included printf statements after line 70 and after 87 to know what is happening (I...
Hello Salem,
after your tips, I understand = and == and 't' and improved with if, else if and else command. So that the code now is very strict; only s or t in cmd works. Also used M_PI without...
Hello
I tried
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define MAX 10000
#define PI 3.14
Dear All,
after compiling, I run the program as:
program.exe infile outfile foldpoint vel base. I.e. I type 6 arguments.
The program works good. Now I want to make some modifications and dont know...
Hello All,
with help from this forum, I created a C program to add integers around a point..my raw data file has a single column of data points..and my C program does the adding properly. Now I want...
Hello algorism,
I want to divide the first column by the number of data points, i. Suppose whn you run the program it shows the number of data point on screen, ref. line 68. I am confused of how to...
Hello algorism,
I have written the same code with a small change, just included 'sum', in the second 'while' statement. Actually I wanted to write a file not with differences, but with its addition...
Hello algorism,
Thank you! You solved my problem. Now I have to find the sum of all in the second column and it should be displayed on screen. Then the line 59 will be replaced (note: +) with ...
Hello algorism,
I again made some changes, please look into it for any problems. Please help me to correct the lines, as you said in the last..printing out the fold point but not reading the values...
Hello algorism,
Please append to my previous program!
I am getting error..after your suggestion I now modified the program, see below and correct:
#include <stdio.h>
#include <stdlib.h>...
Hello Salem,
thanks for looking into my code. I am providing you a better examaple here to help me.
Suppose I have a data file containing only one column of positive integers.
On opening my data...
Hello all,
I want to write a c program to find differences around a point. My data file has only one column containing positive integers. I want to write a new file as follows:
If I input 48 then...