#include <stdio.h>
main()
{
FILE *a;
int sno,tm,em,mm,scm,sm,hm;
char sname[20],any[1];
clrscr();
a=fopen("student.dat","a");
do
{
printf("Enter Student Number : ");
scanf("%d",&sno);
printf("Enter Student Name : ");
scanf("%s",sname);
printf("Enter Telugu Marks : ");
scanf("%d",&tm);
printf("Enter English Marks : ");
scanf("%d",&em);
printf("Enter Maths Marks : ");
scanf("%d",&mm);
printf("Enter Science Marks : ");
scanf("%d",&scm);
printf("Enter Social Marks : ");
scanf("%d",&sm);
printf("Enter Hindi Marks : ");
scanf("%d",&hm);
fprintf(a,"%d %s %d %d %d %d %d %d\n",sno,sname,tm,em,mm,scm,sm,hm);
printf("Do you wish to continue(Y/N)");
scanf("%s",any);
}while(strcmp(any,"y")==0);
fclose(a);
}
C++ object oriented programming (OOP) language and supports three kinds of object types 1) Fundamental Types. 2) Derived Types. 3) Class Types.
same the types used in C. that is int...char...float...
Selection constructs in C++if...elseswitch/caseconditional ternary operator (?:)
There's only one type of sort in C++; std::sort. If you want other types you'll need to write your own.
Object oriented programming and structured programming.
They do exist in C and C++.
thanks
Not that I'm aware of. But since Filemaker is a database, you can use C++ to access the database just as you would use C++ to create SQL queries on an SQL database. Think of Filemaker as being the backend to your C++ program.
Yes. Several possibilities exist. ODBC, JDBC, and others. For Oracle, OCI, Pro*C, and others. Consult the database vendor's developer documentation, and you will find something. Unfortunately, this is too broad a topic to be answered easily here, other than this, except to list high level options.
There is none. While you can access databases from C++, the two concepts are fundamentally different.
No.
The first in a company developping a well-known database system, the second is a programming language.
C++ object oriented programming (OOP) language and supports three kinds of object types 1) Fundamental Types. 2) Derived Types. 3) Class Types.
same the types used in C. that is int...char...float...
Vitamin C consists of a chiral atom so it can exist in a +(d) form (as well as a -(l) form).
Selection constructs in C++if...elseswitch/caseconditional ternary operator (?:)
There's only one type of sort in C++; std::sort. If you want other types you'll need to write your own.