Search Results

Showing results 1 to 26 of 26
Search took 0.00 seconds.
Search: Posts Made By: raja289 ; Forum: C and child forums
Forum: C Dec 1st, 2008
Replies: 5
Views: 481
Posted By raja289
i am designing a code that will calculate tomorrows date but there is some problem with the code,
when i enter
year = 2008 or anyother
month =12
day = 31
it gives tmorrows date as 1/2/2008...
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
Thanks alot for solving my problem but in future i will contact you to get more knowledge from you!
thanks alot everyone/
i still have questions about my program (so that i clear my concepts) but i...
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
#include<stdio.h>

#include<string.h>
#include<conio.h>
#pragma warning(disable: 4996)

float avg(float x);
main()
{
FILE *fp;
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
It is writing the data to file but now not reading properly.
i just saved a file and saw all data is written there
but results are same .
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
Oh sorry
results are same !
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
i think i have to sleep now because i am living in someone else house now a days
but tomorrow i will be here at same time
and at morning time i will check for updates
PLEASE RUN THIS PROGRAM ON UR...
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
>>>>>line 15: remove the quotes around filename.
i removed quotes at line 15 and


>>>>line 74: you close the file at the end of the first loop iteration. Move that line down after the }
closed...
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
i did but now it displays a a message
"Enter your name"
but when i enter my name then it shows error

final1.c encountered a problem and need to be closed sorry for enconvience
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
waiting and if anyone can chat with me on yahoo or msn please tell me i want to slove this code tomorrow i am from london now's it's 10 30 pm here
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
#include<stdio.h>
#include<string.h>
#include<conio.h>
#pragma warning(disable: 4996)

float avg(float x);
main()
{
FILE *fp;
int k,students=10,subjects=4,i,j,id_number,fail;
Forum: C Jul 22nd, 2008
Replies: 38
Views: 2,379
Posted By raja289
#include<stdio.h>
#include<string.h>
#include<conio.h>
#pragma warning(disable: 4996)

float avg(float x);
main()
{
FILE *fp;
int k,students=10,subjects=4,i,j,id_number,fail;
Forum: C Jul 21st, 2008
Replies: 38
Views: 2,379
Posted By raja289
>>>If you can write out one record, you can write out a million records, but you can't write out records using incorrect data type specifiers. For instance, date of birth is an array, but you're...
Forum: C Jul 21st, 2008
Replies: 38
Views: 2,379
Posted By raja289
everyone is telling me how to manage a single file but no one is telling me how to save different records in a file and at last read them all.
i read alot about it, searched also but couldnot...
Forum: C Jul 18th, 2008
Replies: 38
Views: 2,379
Posted By raja289
:( giving error
program has encountered a problem and needs to close. we are sorry for inconvenience..............send report....
tell me what to do now !
Forum: C Jul 18th, 2008
Replies: 38
Views: 2,379
Posted By raja289
#include<stdio.h>
#include<string.h>
#include<conio.h>
float avg(float x);
main()
{
FILE *strea;
int k,students=10,subjects=4,i,j,id_number,fail=0;
float...
Forum: C Jul 18th, 2008
Replies: 38
Views: 2,379
Posted By raja289
the problem with program is i want to save records of students in a file but
when the output comes it keep showing record of last student i have entered.
this is the only problem with program....
Forum: C Jul 17th, 2008
Replies: 38
Views: 2,379
Posted By raja289
#include<stdio.h>
#include<string.h>

float avg(float x);
main()
{
FILE *fp;
int k,students=10,subjects=4,i,j,id_number,fail=0;
float marks[100],total=0.0,average=0.0;
char...
Forum: C Jul 11th, 2008
Replies: 38
Views: 2,379
Posted By raja289
>> You have to add some more code to read the file after it is opened on line 62. Your program opens the file then just ignores it.





can u give me any idea or guess about what type of code...
Forum: C Jul 10th, 2008
Replies: 38
Views: 2,379
Posted By raja289
thanks alot for your useful suggestions i am gonna work on it now :)
Forum: C Jul 10th, 2008
Replies: 38
Views: 2,379
Posted By raja289
see the link and according to that please suggest me any changes

thanks
Forum: C Jul 10th, 2008
Replies: 38
Views: 2,379
Posted By raja289
oh sorry for that link !
here;s another link
http://www.MegaShare.com/443191

and the main problem with code is that
when i save data in different files and ask them to fetch the same data...
Forum: C Jul 10th, 2008
Replies: 38
Views: 2,379
Posted By raja289
http://s3.supload.com/free/lastscan-...3716.jpg/view/
up there is description of code
and here;'s code



#include<stdio.h>
#include<string.h>
float avg(float);
main()
Forum: C Jul 10th, 2008
Replies: 4
Views: 461
Posted By raja289
http://s3.supload.com/free/lastscan-20080710033716.jpg/view/

here u can see the program that i need. i am really tired of working on it.
1) There is some problem with average as it adds up...
Forum: C Jul 9th, 2008
Replies: 4
Views: 461
Posted By raja289
#include<stdio.h>
#include<string.h>
float avg(float);
main()
{
FILE *p[2];
int k,students=10,subjects=4,i,j,id_number,date_of_birth,fail=0;
float marks[100],total=0,avg;
...
Showing results 1 to 26 of 26

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC