Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Tags
c x 1
php x 1
Member Avatar for nimuns

so, im working on an online shopping site. the problem is , i have already made an html site, but i have to run it on xampp localhost, what i do is, since i already made an html file, i just copy it to new php file and save it, …

Member Avatar for theonly
0
95
Member Avatar for nimuns

i have here 2 program the first one #include<stdio.h> [CODE]#include<conio.h> #include<stdlib.h> #include<process.h> struct record{ char acc_name[6]; int pin; float bal; }; void main() { FILE *fp; struct record b; clrscr(); if((fp=open("accounts.dat","wt"))==0) { printf("Error"); exit(1); } printf("Enter account name:"); gets(b.acc_name); printf("Enter account pin:"); scanf("%d",&b.pin); printf("Enter balance:"); scanf("%f",&b.bal); fprintf(fp,"%s %d %.2f",b.acc_name,b.pin,b.bal); fclose(fp); …

Member Avatar for Nick Evan
0
2K