Can be i can detect OpenGL or DirectX “driver” and ...
but anyway ...
Visual studio can help me ( intellisense )
and compiling c/c++ code with flascc 1.0.1 i not to hard…
Implements this class “fast array” with templates
mmm
you need to chage the character āSā double quotes included, with the relative Percent encoding ” ‘percentcharacter’20 “:
http://ultra.sdk.free.fr/docs/DxO/C++“S"Templates"S"The"S"Complete"S"Guide.pdf
make file content ( some parameters for the compilation can be omitted “size” )
FastArrayTest: check
@echo “————simple message————”
“$(FLASCC)/usr/bin/g++” FastArray.cpp -emit-swf -swf-size=200x200 -lFlash++ -lAS3++ -o c++FastArray.swf
include ../Makefile.common
clean:
rm -f *.swf
Makefile.common
this “rules” file are the default flascc file but the enviroment path variable FLASCC end FLEX are specifyed directly in this file…
FLASCC:=C:/FlashCC/sdk
FLEX:=C:/FlashCC/flex46
AS3COMPILER:=asc2.jar
BASE_CFLAGS:=-Werror -Wno-write-strings -Wno-trigraphs
$?UNAME=$(shell uname -s)
ifneq (,$(findstring CYGWIN,$(UNAME)))
$?nativepath=$(shell cygpath -at mixed $(1))
$?unixpath=$(shell cygpath -at unix $(1))
else
$?nativepath=$(abspath $(1))
$?unixpath=$(abspath $(1))
endif
ifneq (,$(findstring “asc2.jar”,”$(AS3COMPILER)”))
$?AS3COMPILERARGS=java $(JVMARGS) -jar $(call nativepath,$(FLASCC)/usr/lib/$(AS3COMPILER)) -merge -md
else
echo “ASC is no longer supported” ; exit 1 ;
endif
check:
@if [ -d $(FLASCC)/usr/bin ] ; then true ; \
else echo “Couldn’t locate FLASCC sdk directory, please invoke make with \“make FLASCC=/path/to/FLASCC/sdk ...\”” ; exit 1 ; \
fi
@if [ -d “$(FLEX)/bin” ] ; then true ; \
else echo “Couldn’t locate Flex sdk directory, please invoke make with \“make FLEX=/path/to/flex ...\”” ; exit 1 ; \
fi