stdafx.h

来自「使用VC编写的快速排序算法」· C头文件 代码 · 共 37 行

H
37
字号
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__F3837A2E_285A_49DA_8BE3_9A65A5EBBD0D__INCLUDED_)
#define AFX_STDAFX_H__F3837A2E_285A_49DA_8BE3_9A65A5EBBD0D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers

#include <stdio.h>
#include"Stdlib.h"



// TODO: reference additional headers your program requires here

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__F3837A2E_285A_49DA_8BE3_9A65A5EBBD0D__INCLUDED_)
quick_sort(int x[], int low, int high);
void Produce_afile(char * Str_name1,int Str_num,int * Str_buffer,int IsFirst,char* Str_first,int Isend);

void  init(void);
int  Str_printf_strname(FILE *fp,char *str_name,int num,int Flag);
int  Str_printf_strnum(FILE *fp,int *buffer,int num);
int  Str_printf_strend(FILE *fp);
int  Changenumtochar(char ch6,char *ch4);
int  GetRandomSign(int num);
int  GetRandom(int num);
int  Str_printf_strchar(FILE *fp,char *buffer,int num);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?