Hi friends,
I am new to file handling and i need some help.
How can i initialize a file with 100 empty records and then add new records as the user chooses to do so?
This is what I want to...
Type: Posts; User: j.sreejit
Hi friends,
I am new to file handling and i need some help.
How can i initialize a file with 100 empty records and then add new records as the user chooses to do so?
This is what I want to...
Thanks a lot Salem and hk_mp5kpdw. Salem, I tried google but my search text was ... well... stupid I guess, after looking at your search results. Thank you for the help.
CornedBee, Thank you for information on void main. I am a beginner and did not know that we are not supposed to use void with main....
Thank you so much for the replies. I am using the compiler because I have to appear for a lab test next month and we will be asked to code on Turbo C.
Kurt, your solution of declaring and...
Hi,
I created a structure which has 2 char arrays and 1 float variable. When trying to input data into the float variable the program crashes. On the output screen I can see the following error.
...
Thank you risby, andor and salem for replying. Andor, that link was really informative. Thanks.
Please consider the following code
void main()
{
float a = 0.7;
if(a <= 0.7)
printf("Less or equal");
else
i know
i++ + i++
is bad programming practice because of the ambiguity. I am only a beginner so it confuses me to see such statements and it terrifies me when i realise that i would have...
Hi friends,
I am new to the C language and need some help with the increment operator '++'. Please check the following code snippet:
int i,a;
i=0;
a = i++ + i++;
printf("\n i++ + i++ =...
The address (&x) is passed to the pointer (xPtr), which is in the function calculate() and the second line in main assigns memory to the pointer xPtr, which is in main.
I believe these are two...