Hi,
I am getting Segmentation fault error for code below. Please tell me how to remove it.
#include<stdio.h>
#include<stdlib.h>
Type: Posts; User: spiit231
Hi,
I am getting Segmentation fault error for code below. Please tell me how to remove it.
#include<stdio.h>
#include<stdlib.h>
can you please explain more? I can not understand what 'touch' means.
Hi,
Today i have installed eclipse v3.3.2 + CDT on my 32-bit windows XP machine. While testing a simple "hello world" i got the the following error
my makefile is as below
Hi,
I have a really basic question about dynamic memory allocation. Is it necessary to free memory allocated to matrix temp (in function transpose) ?
#include<stdio.h>
#include<stdlib.h>...
expl() also not working. Suppose i want to create a new data type that can handle large floating values. Since i have no idea about this area...can anybody lighten me up?
Another thing, what is...
Is it correct?
#include<stdio.h>
#include<math.h>
#define z 8113.48
int main(){
long double x;
I think this is due to exp() function which is unable to handle large float value. Consider the code below:
#include<stdio.h>
#include<math.h>
#define z 8113.48
main(){
Thanks for the suggestion.
Sorry for my silly mistakes. I have given the comments for describing the functions for this thread.
Basically I dont know where the problem is. Borland displays a...
Hi all,
I am using Borland C++ 4.5 on 32-bit windows machine. I am getting "exp: OVERFLOW error" for my code. can anybody tell me how to deal with it.
I am not posting my
struct MATRIX {...
Thanks for your comment. I need to check missed entry in the data file. so i keep counting the columns in each row. Why I need to remove '\n' first from the filename?
Thanks hk_mp5kpdw. I got my answer. here is the final code. Please tell me if there is any scope of improvements.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main() {
...
Hi all,
I have a dat file called customer.dat with this content:
0 1.1 2 -0.3 4 ...
5 6 7 8 9 ...
10.1 11 12 13 99 ...
...
...
I'm extremely sorry. I have forgot to post my code. Here it is...
#include <stdio.h>
#include <stdlib.h>
struct matrix
{
int nRow;
Hi all,
I need a simple code for storing numeric data into a 2D matrix (consider dimensions are unknown) from a data-numeric format file.
The file is uploaded here...
...
Oh... i am sorry. Actually I used fgets but somehow during i changed it to gets. But my problem remains in both cases.
Hi all,
I need your help regarding huge file handling. Suppose i want to read a file and store numeric data into 2D matrix. The file i am using is attached (a .dat file converted into .txt for...