Home Technical Talk

win32 programming help

Hi
I am a noob to win32 programming. Frankly it is driving me nuts
The books I have come across show you to make drawing apps which is what I don't want now .

How would create in win32 the following:
void main()
{
int j;
char ans;
float num,ndx=0;
float count[15],mean,kk,std;
do
{
scanf(" Enter number\n", num);
printf(" "number=%f\n",num);'
count[ndx]=num;
++ndx
}while( ans=='y');

for(j=1<=ndx;++j)
{
kk+=count[ndx];
}


printf(" mean=%f",mean);

The idea is I wanted printed to the main window.

Replies

Sign In or Register to comment.