Do u have an algorithm in place ?
Put the menu in a function with one more menu-item = exit. The function should return the value checked, that is, 1 if they want a first class, 2 if they want a...
Type: Posts; User: just_A_student
Do u have an algorithm in place ?
Put the menu in a function with one more menu-item = exit. The function should return the value checked, that is, 1 if they want a first class, 2 if they want a...
No. That couldn't be the case as i used clrscr() in TC, but deleted the line for portability reasons.
Sorry ! Got the point !
Thank you Mr. Salem for that piece of information. I didn't know that ! I should have been a member long back. Could have learned so much !
Brother, don't make it complex.. I am sorry for the statement, but that's exactly what u r doing. I personally like HTML forms and the way they take input, one input per box, that's how it should...
suppose u wanted to do xyz to each line...
Now try proceeding this way :
1 - open the file.
2 - Do till EOF is reached
get character and put it in an array till the '\n' character...
Try this code. I think this should work (although a bit modification is needed).
/*
Code to get the coefficients for a polynomial function.
Code by : just_A_student
*/
#include...
shuoldn't the scanf part read
scanf("%s",f);
instead of
I don't know whether the suggestion that i am giving is right or wrong, so please correct me if it is so.
I am not considering the file reading example as u already seem to have done that. As far...
I tried with multiple and different input sets, the outputs of all started out with R's frequency, if present.
A warm hello to all the contributors to this forum,
To be precise, two different compilers -
DevCpp ver 4.9.9.2 &
Tc by Borland ver 3.0
have given me two different outputs for the same...
Hi all!
I am a new entrant in this exciting communication channel.
What i have observed is that u should always check for proper string lengths (both before and after the operation) at all the ends...