yea.. this is fine... but i have those integers, floating points and characters on separate lines in a single file.. how do i proceed then??? :(
Type: Posts; User: shaheel
yea.. this is fine... but i have those integers, floating points and characters on separate lines in a single file.. how do i proceed then??? :(
Hello there. Well im stuck with a problem of how to extract data from a given data file. i have to read line by line. for example:
this line contains numbers(int):
2 3 4 5 6
i have to read...
thanks. a lot for your suggestions. i found the error(";")... .
hello everyone. here is my C program that i have done. When compiling in visual c++ 6.0, I'm having 2 errors.. can anyone suggest how i overcome these?
Program:
# include <stdio.h>
# define...
thnaks for ur suggestions...
is this really for C programming? coz im supose to write a C program.. I know that in C++ i have to use int main() and the return 0,
thanks for your help.. using array for the string of characters was good. well still then the following line is being omitted when i run the program:
printf("\n Please select the type of seat you...
hello everyone. well here is my program. when i compile and build there are no errors. but when i reach the line enter your name, i enter the name and when i press carriage return, the whole program...
thankss.. soo nice of ya..
thanks i will try it... also is there somewhere i can find the different functions that i can use with a particular file header?? such a <stdio.h> <math.h>..
Hi everyone. wel l i wanted to know if it was possible to assign the date of today[ date stored in the os time system] to a particular variable and then i will be using that date to know when a...
Thanks dear.. U save me right now... yep.. Ive found the mistake... a function mistyped.. thanks dude...
Hi guys.. Im having this build error in visual C++
Theres no error and warnings while compiling but this only error:
Linking...
task1.obj : error LNK2001: unresolved external symbol _ques...
hahhaah.. ya thanks for ur advance
helllo guys. I'm having problem with this question:
Write a program in C involving the use of pointers to reorder a list of numbers so that any of the following arrangements can be carried out :
...
I corrected the void main thing....
from the way Ive started..will it b possible for me to implement a type of variable to store the number of good answers..coz this is not the only question..I...
well..I'll try to put ur advices in practice.... I was about to ask this very much..if there could be a way to store the corect answerrs in a particular function and another function where the score...
here is the new coding...no errors..no warnings...:
#include <string.h>
#include <stdio.h>
void main()
{
int count;
char ans[9];
printf("\n Welcome to the QuiZ Competition....R u...
ok...thanks..I'll try that..But still Im having an error to compile that..
At:
The "if" statement in the loop....
I have tried a few lines of coding...dunno if im right.....please anyone cheK it out...
void main()
{
int count;
char ans[6];
printf("\n Welcome to the QuiZ Competition....R u READY????");
ur right.....I'll try my best to start the coding a bit..n post it here..If ever Im completely stucK..please bear with me..Im still a newbie in this....
hmmm Guys...I'll give it a try...If Im still messed up..I'll get the coding here for u to help..
Once again thanks a lot..dunno what I would have done If this forum wasnt here...
hmmmmmmmmmmmmmmmmmmmmmmmm.......well can any one write up abit of the code..I'll still cant get that in my head...
P.s Do I need a counter here????
If u guys dont mind... can I ask another question plzzzzzzzzzzzzz???? Its concerning another program... I just really cant understand how perform this condition...
It says ask a question.. if...
thanks..i spoted my mistake....
Oh GOD............Its working.....................
I managed to run it successfully....
in int factorial[int x] should have been int factorial[int n]