Hye.
i write this code to get inpur from user such as ram and hard disk capacity as integer type using structures. After that i want to create a file in which i want to save that data. In the code below it is getting input from user but not creating file. Plz tell where is my mistake.
Code is:
#include
#include
#include
void main()
{
struct computerspec
{
int ram;
int hdisk;
}compuspec;