資源簡介
opengl的GLFW庫,版本3.3,網上也有免費下載的網址,只是給大家提供方便

代碼片段和文件信息
/*?Copyright?(c)?2012?Kim?Gr?sman
?*?All?rights?reserved.
?*
?*?Redistribution?and?use?in?source?and?binary?forms?with?or?without
?*?modification?are?permitted?provided?that?the?following?conditions?are?met:
?*??*?Redistributions?of?source?code?must?retain?the?above?copyright?notice
?*????this?list?of?conditions?and?the?following?disclaimer.
?*??*?Redistributions?in?binary?form?must?reproduce?the?above?copyright?notice
?*????this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
?*????and/or?other?materials?provided?with?the?distribution.
?*??*?Neither?the?name?of?Kim?Gr?sman?nor?the?names?of?contributors?may?be?used
?*????to?endorse?or?promote?products?derived?from?this?software?without?specific
?*????prior?written?permission.
?*
?*?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS?IS“
?*?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
?*?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE
?*?ARE?DISCLAIMED.?IN?NO?EVENT?SHALL?KIM?GR?SMAN?BE?LIABLE?FOR?ANY?DIRECT
?*?INDIRECT?INCIDENTAL?SPECIAL?EXEMPLARY?OR?CONSEQUENTIAL?DAMAGES
?*?(INCLUDING?BUT?NOT?LIMITED?TO?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR?SERVICES;
?*?LOSS?OF?USE?DATA?OR?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER?CAUSED?AND
?*?ON?ANY?THEORY?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY?OR?TORT
?*?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE?OF?THIS
?*?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
?*/
#include?“getopt.h“
#include?
#include?
const?int?no_argument?=?0;
const?int?required_argument?=?1;
const?int?optional_argument?=?2;
char*?optarg;
int?optopt;
/*?The?variable?optind?[...]?shall?be?initialized?to?1?by?the?system.?*/
int?optind?=?1;
int?opterr;
static?char*?optcursor?=?NULL;
/*?Implemented?based?on?[1]?and?[2]?for?optional?arguments.
???optopt?is?handled?FreeBSD-style?per?[3].
???Other?GNU?and?FreeBSD?extensions?are?purely?accidental.
[1]?http://pubs.opengroup.org/onlinepubs/000095399/functions/getopt.html
[2]?http://www.kernel.org/doc/man-pages/online/pages/man3/getopt.3.html
[3]?http://www.freebsd.org/cgi/man.cgi?query=getopt&sektion=3&manpath=FreeBSD+9.0-RELEASE
*/
int?getopt(int?argc?char*?const?argv[]?const?char*?optstring)?{
??int?optchar?=?-1;
??const?char*?optdecl?=?NULL;
??optarg?=?NULL;
??opterr?=?0;
??optopt?=?0;
??/*?Unspecified?but?we?need?it?to?avoid?overrunning?the?argv?bounds.?*/
??if?(optind?>=?argc)
????goto?no_more_optchars;
??/*?If?when?getopt()?is?called?argv[optind]?is?a?null?pointer?getopt()
?????shall?return?-1?without?changing?optind.?*/
??if?(argv[optind]?==?NULL)
????goto?no_more_optchars;
??/*?If?when?getopt()?is?called?*argv[optind]??is?not?the?character?‘-‘
?????getopt()?shall?return?-1?without?changing?optind.?*/
??if?(*argv[optind]?!=?‘-‘)
????goto?no_more_optchars;
??/*?If?when?getopt()?is?called?argv[optind]?points?to?the?string?“-“
?????getopt()?shall?retu
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-04-16?00:32??glfw-3.3\
?????目錄???????????0??2019-04-15?23:40??glfw-3.3\CMake\
?????文件????????1054??2019-04-15?23:40??glfw-3.3\CMake\GenerateMappings.cmake
?????文件?????????596??2019-04-15?23:40??glfw-3.3\CMake\i686-w64-mingw32-clang.cmake
?????文件?????????588??2019-04-15?23:40??glfw-3.3\CMake\i686-w64-mingw32.cmake
?????文件????????1297??2019-04-15?23:40??glfw-3.3\CMake\MacOSXBundleInfo.plist.in
?????目錄???????????0??2019-04-15?23:40??glfw-3.3\CMake\modules\
?????文件?????????747??2019-04-15?23:40??glfw-3.3\CMake\modules\FindEpollShim.cmake
?????文件?????????445??2019-04-15?23:40??glfw-3.3\CMake\modules\FindOSMesa.cmake
?????文件?????????915??2019-04-15?23:40??glfw-3.3\CMake\modules\FindWaylandProtocols.cmake
?????文件????????1043??2019-04-15?23:40??glfw-3.3\CMake\modules\FindXKBCommon.cmake
?????文件?????????606??2019-04-15?23:40??glfw-3.3\CMake\x86_64-w64-mingw32-clang.cmake
?????文件?????????598??2019-04-15?23:40??glfw-3.3\CMake\x86_64-w64-mingw32.cmake
?????文件???????12874??2019-04-15?23:40??glfw-3.3\CMakeLists.txt
?????文件????????1142??2019-04-15?23:40??glfw-3.3\cmake_uninstall.cmake.in
?????目錄???????????0??2019-04-15?23:40??glfw-3.3\deps\
?????文件????????8053??2019-04-15?23:40??glfw-3.3\deps\getopt.c
?????文件????????2136??2019-04-15?23:40??glfw-3.3\deps\getopt.h
?????目錄???????????0??2019-04-15?23:40??glfw-3.3\deps\glad\
?????文件??????206323??2019-04-15?23:40??glfw-3.3\deps\glad\gl.h
?????文件???????10037??2019-04-15?23:40??glfw-3.3\deps\glad\khrplatform.h
?????文件????????3318??2019-04-15?23:40??glfw-3.3\deps\glad\vk_platform.h
?????文件??????179624??2019-04-15?23:40??glfw-3.3\deps\glad\vulkan.h
?????文件??????109362??2019-04-15?23:40??glfw-3.3\deps\glad_gl.c
?????文件???????37298??2019-04-15?23:40??glfw-3.3\deps\glad_vulkan.c
?????文件???????12708??2019-04-15?23:40??glfw-3.3\deps\linmath.h
?????目錄???????????0??2019-04-15?23:40??glfw-3.3\deps\mingw\
?????文件??????112560??2019-04-15?23:40??glfw-3.3\deps\mingw\dinput.h
?????文件????????7950??2019-04-15?23:40??glfw-3.3\deps\mingw\xinput.h
?????文件????????3111??2019-04-15?23:40??glfw-3.3\deps\mingw\_mingw_dxhelper.h
?????文件??????980614??2019-04-15?23:40??glfw-3.3\deps\nuklear.h
............此處省略352個文件信息
- 上一篇:qq_43340440_10704141.zip
- 下一篇:cad植物圖例
評論
共有 條評論