last night i have got the instruction in a website how to get the output.
my program ..it was simple
i wrote simply.
#include<iostream.h>
int main()
{ cout<<"c++ is better than c";
return 0;
}
my problem was to run this code .but at run time...
hi
i am beginner in dev c++. i am getting a problem in DEV C++ (version 4) programming. i am not able to run program. my program is compiled successfully but not getting any output. i checked in the windows application( as they suggested in HELP topic) and then in console(dos). but in the...
hi
i want to know about how typedef is usued?i found that it is for user defined data type.
ex:
typedef struct
{
int ac_no;
char ac_type;
char name[80];
flaot balance;
} record;
record oldcustomer,newcustomer;
...but same thing we can write as below...
hi i am writing a program
#include"stdio.h"
main()
{
FILE *fp
char another='Y'
struct emp
{
char name[40];
int age;
float bs;
};
struct emp e;
fp=fopen("EMPLOYEE.DAT","w");
if(fp==NULL)
{ puts("cannot open file")...
hello
i want to know how fprintf(),fscanf() works..
suppose i have data like below?
item number price quantity
aaa-1 111 23.76 115
bbb-2
c-3 125 31.67 104
now suppose i am using in a LOOP...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.