Well thaks a lot
and I'll take a look at VB.NET later then!
Oh and btw, this is how far ive got in C, its for calculating the area of a circle where you input the radius:
#include<stdio.h>
#include<math.h>
int main()
{
int a;
float pi;
pi = M_PI;
printf("\t\vThe Area of The Circle\n");
printf("\n");
printf("\n");
printf ("This will also save as a file named Results");
printf ("\n");
printf("\tWhat is the Radius?\n");
scanf("%d",&a);
a = pi * (a*a);
printf("The answer is %d",a);
printf("\n");
FILE *f;
f = fopen("Results.txt","w");
fprintf(f,"Test 01: %d\n",a);
return 0;
}
Is it well written? I've got 2 questions two plz
how do you make it print the real value (with something point etc) and when it saves it as a text file, each time i restart the programm it rewrites, so how could i make it continue in the same file?