2048正式版

学术版

你看看你有没有库<\_mingw.h><crtdefs.h><sec\_api/conio\_s.h>
by lzr20040310 @ 2016-12-09 20:36:16


INC文件 ```cpp /** \* This file has no copyright assigned and is placed in the Public Domain. \* This file is part of the mingw-w64 runtime package. \* No warranty is given; refer to the file DISCLAIMER.PD within this package. \*/ #ifndef \_INC\_CONIO #define \_INC\_CONIO #include <crtdefs.h> #ifdef \_\_cplusplus extern "C" { #endif \_CRTIMP char \*\_cgets(char \*\_Buffer) \_\_MINGW\_ATTRIB\_DEPRECATED\_SEC\_WARN; \_CRTIMP int \_\_cdecl \_cprintf(const char \* \_\_restrict\_\_ \_Format,...); \_CRTIMP int \_\_cdecl \_cputs(const char \*\_Str); \_CRTIMP int \_\_cdecl \_cscanf(const char \* \_\_restrict\_\_ \_Format,...) \_\_MINGW\_ATTRIB\_DEPRECATED\_SEC\_WARN; \_CRTIMP int \_\_cdecl \_cscanf\_l(const char \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,...) \_\_MINGW\_ATTRIB\_DEPRECATED\_SEC\_WARN; \_CRTIMP int \_\_cdecl \_getch(void); \_CRTIMP int \_\_cdecl \_getche(void); \_CRTIMP int \_\_cdecl \_vcprintf(const char \* \_\_restrict\_\_ \_Format,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_cprintf\_p(const char \* \_\_restrict\_\_ \_Format,...); \_CRTIMP int \_\_cdecl \_vcprintf\_p(const char \* \_\_restrict\_\_ \_Format,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_cprintf\_l(const char \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,...); \_CRTIMP int \_\_cdecl \_vcprintf\_l(const char \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_cprintf\_p\_l(const char \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,...); \_CRTIMP int \_\_cdecl \_vcprintf\_p\_l(const char \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_kbhit(void); #if defined(\_X86\_) && !defined(\_\_x86\_64) int \_\_cdecl \_inp(unsigned short); unsigned short \_\_cdecl \_inpw(unsigned short); unsigned long \_\_cdecl \_inpd(unsigned short); int \_\_cdecl \_outp(unsigned short,int); unsigned short \_\_cdecl \_outpw(unsigned short,unsigned short); unsigned long \_\_cdecl \_outpd(unsigned short,unsigned long); #endif \_CRTIMP int \_\_cdecl \_putch(int \_Ch); \_CRTIMP int \_\_cdecl \_ungetch(int \_Ch); \_CRTIMP int \_\_cdecl \_getch\_nolock(void); \_CRTIMP int \_\_cdecl \_getche\_nolock(void); \_CRTIMP int \_\_cdecl \_putch\_nolock(int \_Ch); \_CRTIMP int \_\_cdecl \_ungetch\_nolock(int \_Ch); #ifndef \_WCONIO\_DEFINED #define \_WCONIO\_DEFINED #ifndef WEOF #define WEOF (wint\_t)(0xFFFF) #endif \_CRTIMP wchar\_t \*\_cgetws(wchar\_t \*\_Buffer) \_\_MINGW\_ATTRIB\_DEPRECATED\_SEC\_WARN; \_CRTIMP wint\_t \_\_cdecl \_getwch(void); \_CRTIMP wint\_t \_\_cdecl \_getwche(void); \_CRTIMP wint\_t \_\_cdecl \_putwch(wchar\_t \_WCh); \_CRTIMP wint\_t \_\_cdecl \_ungetwch(wint\_t \_WCh); \_CRTIMP int \_\_cdecl \_cputws(const wchar\_t \*\_String); \_CRTIMP int \_\_cdecl \_cwprintf(const wchar\_t \* \_\_restrict\_\_ \_Format,...); \_CRTIMP int \_\_cdecl \_cwscanf(const wchar\_t \* \_\_restrict\_\_ \_Format,...) \_\_MINGW\_ATTRIB\_DEPRECATED\_SEC\_WARN; \_CRTIMP int \_\_cdecl \_cwscanf\_l(const wchar\_t \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,...) \_\_MINGW\_ATTRIB\_DEPRECATED\_SEC\_WARN; \_CRTIMP int \_\_cdecl \_vcwprintf(const wchar\_t \* \_\_restrict\_\_ \_Format,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_cwprintf\_p(const wchar\_t \* \_\_restrict\_\_ \_Format,...); \_CRTIMP int \_\_cdecl \_vcwprintf\_p(const wchar\_t \* \_\_restrict\_\_ \_Format,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_cwprintf\_l(const wchar\_t \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,...); \_CRTIMP int \_\_cdecl \_vcwprintf\_l(const wchar\_t \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,va\_list \_ArgList); \_CRTIMP int \_\_cdecl \_cwprintf\_p\_l(const wchar\_t \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,...); \_CRTIMP int \_\_cdecl \_vcwprintf\_p\_l(const wchar\_t \* \_\_restrict\_\_ \_Format,\_locale\_t \_Locale,va\_list \_ArgList); \_CRTIMP wint\_t \_\_cdecl \_putwch\_nolock(wchar\_t \_WCh); \_CRTIMP wint\_t \_\_cdecl \_getwch\_nolock(void); \_CRTIMP wint\_t \_\_cdecl \_getwche\_nolock(void); \_CRTIMP wint\_t \_\_cdecl \_ungetwch\_nolock(wint\_t \_WCh); #endif #ifndef NO\_OLDNAMES char \*\_\_cdecl cgets(char \*\_Buffer) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl cprintf(const char \* \_\_restrict\_\_ \_Format,...) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl cputs(const char \*\_Str) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl cscanf(const char \* \_\_restrict\_\_ \_Format,...) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl getch(void) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl getche(void) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl kbhit(void) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl putch(int \_Ch) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl ungetch(int \_Ch) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; #if (defined(\_X86\_) && !defined(\_\_x86\_64)) int \_\_cdecl inp(unsigned short) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; unsigned short \_\_cdecl inpw(unsigned short) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; int \_\_cdecl outp(unsigned short,int) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; unsigned short \_\_cdecl outpw(unsigned short,unsigned short) \_\_MINGW\_ATTRIB\_DEPRECATED\_MSVC2005; #endif /\* \_\_cpuid moved …
by lzr20040310 @ 2016-12-09 20:37:05


```cpp /* __cpuid moved to intrin.h per msdn */ /* __inbyte moved to intrin.h per msdn */ /* __inbytestring moved to intrin.h per msdn */ /* __indword moved to intrin.h per msdn */ /* __indwordstring moved to intrin.h per msdn */ /* __inword moved to intrin.h per msdn */ /* __inwordstring moved to intrin.h per msdn */ /* __outbyte moved to intrin.h per msdn */ /* __outbytestring moved to intrin.h per msdn */ /* __outdword moved to intrin.h per msdn */ /* __outdwordstring moved to intrin.h per msdn */ /* __outword moved to intrin.h per msdn */ /* __outwordstring moved to intrin.h per msdn */ /* __readcr0 moved to intrin.h per msdn */ /* __readcr2 moved to intrin.h per msdn */ /* __readcr3 moved to intrin.h per msdn */ /* __readcr4 moved to intrin.h per msdn */ /* __readcr8 moved to intrin.h per msdn */ /* __readmsr moved to intrin.h per msdn */ /* __writecr0 moved to intrin.h per msdn */ /* __writecr2 moved to intrin.h per msdn */ /* __writecr3 moved to intrin.h per msdn */ /* __writecr4 moved to intrin.h per msdn */ /* __writecr8 moved to intrin.h per msdn */ /* __writemsr moved to intrin.h per msdn */ #endif #ifdef __cplusplus } #endif #include <sec_api/conio_s.h> #endif ```
by lzr20040310 @ 2016-12-09 20:38:28


\_H文件 ```cpp /* * conio.h * This file has no copyright assigned and is placed in the Public Domain. * This file is a part of the mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER within the package. * * Low level console I/O functions. Pretty please try to use the ANSI * standard ones if you are writing new code. * */ #ifndef _CONIO_H_ #define _CONIO_H_ /* All the headers include this file. */ #include <_mingw.h> #ifndef RC_INVOKED #ifdef __cplusplus extern "C" { #endif _CRTIMP char* __cdecl _cgets (char*); _CRTIMP int __cdecl _cprintf (const char*, ...); _CRTIMP int __cdecl _cputs (const char*); _CRTIMP int __cdecl _cscanf (char*, ...); _CRTIMP int __cdecl _getch (void); _CRTIMP int __cdecl _getche (void); _CRTIMP int __cdecl _kbhit (void); _CRTIMP int __cdecl _putch (int); _CRTIMP int __cdecl _ungetch (int); #ifndef _NO_OLDNAMES _CRTIMP int __cdecl getch (void); _CRTIMP int __cdecl getche (void); _CRTIMP int __cdecl kbhit (void); _CRTIMP int __cdecl putch (int); _CRTIMP int __cdecl ungetch (int); #endif /* Not _NO_OLDNAMES */ #ifdef __cplusplus } #endif #endif /* Not RC_INVOKED */ #endif /* Not _CONIO_H_ */ ```
by lzr20040310 @ 2016-12-09 20:39:16


@[LiBai](/space/show?uid=25210)
by lzr20040310 @ 2016-12-09 20:41:22


@[lzr20040310](/space/show?uid=18182) 我在用GUIDE!!!(就是那个windows和ubuntu都能编程的程序,你搜搜)
by LiBai @ 2016-12-09 20:46:02


当我没说,自己解决
by lzr20040310 @ 2016-12-10 18:48:00


上一页 |