so what will be function for c like getline
Type: Posts; User: getout
so what will be function for c like getline
thx a lot
i have created this program to simple print the values of std. preprocessor constants
#include <stdio.h>
int main()
{
printf("%d \t %s \t %d \t %d",__LINE__,__FILE__,__DATE__,__TIME__);
}
cool, thx.....let me try to write this down :)
I want to write a program in which
1.Number the lines in a file
2.Display n lines from a given line number.
3. Delete a particular line
4. Search for a given word and print all the lines where...
thx for the help, i have created the function for mode & it is working properly but when same amount of two numbers is entered it give only one value
for eg. if 8,8,8 & 7,7,7 is entered in input it...
No mode is the element which frequently occurs, for eg: 25 values input are 0,0,1,2,3,4,5,6,6,6,6,6,7,8,9,0,6,5,4,3,2,1,7,8,9
so the mode will be 6
Now how would be a function for this??
i have created a menu driven statistics program in which it calculates no. of items, mean, median, mode, variance, standard deviation.
I have written function for all but except mode. I am not...
Ok the question is this..........
Write a function that will calculate and display the real roots of the quadratic equation
ax2 + bx+c = 0
use the function in the program.
I have coded this
...
thx, i m just the beginner :)
I have created a program
#include <stdio.h>
int main()
{
struct cricket
{
char player_name[20];
char team_name[20];