View Single Post
  #1 (permalink)  
Old 03-04-2008, 08:01 PM
the_transltr the_transltr is offline
Newbie
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0
the_transltr is on a distinguished road
Default scanf floating point format not linked

I have a code like this:
Code:
#include <stdio.h>

void main(){

   float num[2], 
    int  i = 0;
 
      scanf("%f", &num[i]);
      printf("%2.2f", num[i]);

}
and i'm experiencing a message like: scanf: floating point format not linked.

What's the probem with this?

Last edited by v0id; 03-05-2008 at 12:38 AM.
Reply With Quote

Sponsored Links