Home > Software engineering >  For bosses to help see a program, I don't know where is wrong
For bosses to help see a program, I don't know where is wrong

Time:09-16


Do the cell detection and counting system, achieve the final add pictures inside is always an error, look not to understand the program where there is a problem, please help, thank you
/* * *
* crtexe. C - Initialization for the console EXE using CRT DLL
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* the Purpose:
* This is the actual startup routine for apps linking to the CRT DLL.
* It calls the user 's main routine [w] the main () or WinMain [w] after
* performing C Run - Time Library initialization.
*
* With ifdefs, this source file also provides the source code for:
* wcrtexe. C the startup routine for the console apps with wide chars
* crtexew. C the startup routine for Windows apps
* wcrtexew. C the startup routine for Windows apps with wide chars
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

# ifdef CRTDLL

/*
* SPECIAL BUILD MACROS. Note that crtexe. C (and crtexew. C) is linked with in
* the client 's code. It does not go into CRTDLL. DLL! Therefore, it must be
* built under the _DLL switch (like user code) and CRTDLL must be undefined.
* The symbol SPECIAL_CRTEXE is turned on to suppress The normal CRT DLL
* definition of _fmode and _commode using __declspec (dllexport). Otherwise
* this module order to not be able to refer to both the local and DLL versions
* of these two variables.
*/

# undef CRTDLL
# # ifndef _DLL
# define _DLL
# endif _DLL/* */

# define SPECIAL_CRTEXE

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

Extern IMAGE_DOS_HEADER __ImageBase;

/*
* This has then version from unhandld. CPP to here, because we only
* want to set the UnhandledExceptionFilter the when this CRT is the loaded
* by the an EXE (ie. Not the loaded by a DLL)
*/
Int __cdecl __CxxSetUnhandledExceptionFilter (void);
_CRTALLOC (". The CRT $XIY ") static _PIFV pinit=& amp; __CxxSetUnhandledExceptionFilter;

# define SPACECHAR _T (' ')
# define DQUOTECHAR _T (' \ ')
"
/* the default floating point precision - X86 only! */

# ifdef _M_IX86
Extern void _setdefaultprecision ();
# endif _M_IX86/* */


/*
* Declare function, informs the to install a user - supplied _matherr routine.
*/
_CRTIMP void __setusermatherr (int (__cdecl *) (struct _exception *));


/*
* Declare the names of the exports corresponding to _fmode and _commode
*/
# ifdef _M_IX86

# define _IMP___FMODE _IMP___FMODE
# define _IMP___COMMODE _IMP___COMMODE

_M_IX86 # else/* */

/* assumed to be x64 or ARM */

# define _IMP___FMODE __imp__fmode
# define _IMP___COMMODE __imp__commode

# endif _M_IX86/* */

Extern int * _IMP___FMODE;/* exported from the CRT DLL */
Extern int * _IMP___COMMODE;/* these names are implementation - specific */

Extern int _fmode;/* must match the definition in & lt; Stdlib. H> */
Extern int _commode;/* must match the definition in & lt; Internal. H> */
Extern int _dowildcard;/* passed to __getmainargs () */

/*
* Declare/define communal that serves as indicator, the default matherr
* routine is being 2.
*/
Int __defaultmatherr;

/*
* the routine in the DLL to do initialization (in this case, c + + constructors)
*/
Extern int __cdecl _initterm_e (_PIFV _PIFV *, *);
Extern void __cdecl _initterm (_PVFV _PVFV *, *);

# # ifndef _CRT_APP
/*
* routine to check if this is a managed application
*/
Static int __cdecl check_managed_app (void);
# endif _CRT_APP/* */

/*
* Pointers to initialization sections
*/
Extern _CRTALLOC (". The CRT $XIA ") _PIFV __xi_a [];
Extern _CRTALLOC (". The CRT $XIZ ") _PIFV __xi_z []; Initializers/* C */
Extern _CRTALLOC (". The CRT $XCA ") _PVFV __xc_a [];
Extern _CRTALLOC (". The CRT $XCZ ") _PVFV __xc_z [];/* c + + initializers */

/*
* Pointer to the callback function to initialize any dynamically the initialized
* __declspec (thread) variables. This relies on a subtle aspect of c.
* The pointer is defined here uninitialized. It is defined The initialized in
* tlsdyn. C. If the user code USES dynamically the initialized __declspec (thread)
* the variables, then the compiler - injected dependencies cause tlsdyn. Obj to be
* linked. In that case, the non - zero definition of __dyn_tls_init_callback
* in tlsdyn obj will take precedence, and the startup code will execute the
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related