itoa quickie

Discussion in 'Mac Programming' started by dougphd, Jul 13, 2016.

  1. dougphd macrumors member

    Joined:
    Apr 28, 2016
    #1
    /
    Code:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    float  test_system( pesto *on_signal, pesto *off_signal, int num_on, int num_off, int high_channel, int low_channel)
    {
    char  channel[2];
     itoa(high_channel,channel, 10);
    } 
    Implicit declaration of function 'itoa' is invalid in C99
    Apple Mach-O Linker (ld) Error Group 
      "_itoa", referenced from:
    
    Why the error?
     
  2. dylanryan macrumors member

    Joined:
    Aug 21, 2011
    #2
  3. dougphd thread starter macrumors member

    Joined:
    Apr 28, 2016

Share This Page