AnsweredAssumed Answered

Causing message on VDSP screen and then pausing

Question asked by MikeSmithCanada on Sep 26, 2009
Latest reply on Nov 24, 2010 by CraigG

I thought the following would put out a message and cause VDSP to pause till the gets was completed

-- but it does not.  I would prefer not to have to use break points

 

I used to pop up some sort of response window in VDSP -- just can't remember syntax -- any body help. Not sure what to look for under "help"

 

#include <stdio.h>

 

void GetBuffer(char *buff) {

 

    puts("If gets( ) is not waiting --  then set a break point at this line of code\n");
     puts("Waiting for you to hold the switches down and then press return");

 
      gets(buff);
}

 

Thanks

Outcomes