User Profile
Collapse
-
Thanks every one for helping me in this situation...... .... -
thanks sicarie for the advice ,it worked but with fgets and strtok,getline was not recognised by the compiler...Leave a comment:
-
Hello Sir,
Thanks for the quick reply ,but I have clearly mentione din the question that numbers have to be comma seperated so i cant use a dataset without them,Yes i knw "," is creating a problem but how to solve this problem that I dont know.:(
Please Help me out in this sir.I'll be grateful to you....Leave a comment:
-
I have added a new question in which i faced the above problem.If possible could yuo please help me out?...Leave a comment:
-
My question is to calculate the mean of a comma separated dataset stored in a file. The program will be run on a system with no floating point library. Obey the following rules:
1.Maximum 100 values in dataset
2.Each data entry in the dataset is a byte (0 - 255)
I wrote the following code but when i execute it goes in a infinite loop,moreover I have anothe doubt Why might a system not have access to...Leave a comment:
-
How to read a ineteger Value from a text file in C?
My question is to calculate the mean of a comma separated dataset stored in a file. The program will be run on a system with no floating point library. Obey the following rules:
1.Maximum 100 values in dataset
2.Each data entry in the dataset is a byte (0 - 255)
I wrote the following code but when i execute it goes in a infinite loop,moreover I have anothe doubt Why might a system not have access to... -
Why might a system not have access to the floating point library?
Why might a system not have access to the floating point library? -
-
-
Best data structure to store the million of the data.
What will be the best data structure to store the huge amount of the data and why? -
Inline function wont increase the size of the program...as every time a inline function is called the whole function is copied at the the time of the call of the function.
As requirement is though the fastest method but it should be an optimised one....Leave a comment:
-
Fastest and optimise way to call a function
If a routine has to be called 10,000 times then what will be the fastest and the optimised way of calling this routine as per my knowledge "for loop" is one way....inline function won't solve the problem.....wil l preprocessor "#typedef" will be a benifit? -
Difference between the two decleration
What is the difference between
1. const char * s; and char const *s;
2.const char *const s; and char const *const s;
Though as far as I searched the web n books I always find answer as "there is no difference in above declerations" but I still think there is,but what I dont know?Can anybody please help me out? -
Thank you every one...for a quick response...thou gh it was a basic question but i got confussed :(.....never mind thanks a tonLeave a comment:
-
return function
Hi,I am confused and need the answer of the question mentioned below soon.
return(x,y) is valid?
Can a return() function return more than one value within one statement.
eg:
[CODE=c]#include<stdio. h>
#include<iostre am.h>
int sum(int i,int j);
main()
{
int a,b,k,l;
char c;
a=3,b=4;
k= sum(a,b);
l=sum(a,b);
printf("%d %d",k,l);...
No activity results to display
Show More
Leave a comment: