I must be doing something wrong but my tries at using past examples of C++ inline code is not working...
is the way I am doing it?
Getting errors like so...
"C:/../..Printtest/stdio.h:39:24: no include path in which to search for stdio.h
C:\Users\..\..\Local\Temp\glbasic\gpc_temp0.cpp:101: error: expected constructor, destructor, or type conversion before ';' "
GOSUB main
SUB main:
INLINE
}
#include <stdio.h>
namespace __GLBASIC__{
ENDINLINE
printf1()
PRINT "HELLO",100,100
SHOWSCREEN
KEYWAIT
ENDSUB
FUNCTION printf1:
INLINE
char z[100] = "I am learning C programming language.";
printf("%s", z);
RETURN 0;
ENDINLINE
ENDFUNCTION