328软妹币买了个项目实战包,分享给大家看(bai)看(piao)

今天给大家分享一下一个朋友买的实战项目包,这个朋友呢跟大部分在座的一样,大学时就是天天打游戏泡酒吧,技术那是完全拉垮,虽说校招前恶补了两个月理论知识,但项目实战经验为零啊,这就好像某些人恋爱理论一套一套的,但你要问他谈过几个女朋友,他能跟你急眼,别问,问就是处男。强调一下真的是朋友,不是我[doge],这种情况下显然是找不到满意的工作的,没辙啊,我这位朋友又只能恶补项目实战,网上找了许久,今天跟我说这个看起来还不错,于是先花328买了一个小项目包,我们来看看这个项目有哪些东西。

篇幅所限,只给大家贴出部分源码,感兴趣的朋友可以点赞评论【项目实战】或者进群973961276即可获得所有源码跟电子书哦!

项目实战相关的视频资料我放在这里了☞c/c++ 项目实战,学习方法在这里☞企业级项目实战,三个月快速就业!

一、C和指针资料

这个文件夹里主要有一本叫《C和指针》的电子书和一些源码,其他一些零碎就不表了,我在下面贴一些电子书的截图和部分源码给大家看看。

《C和指针》☟

 328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第1张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第2张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第3张图片

《C和指针源代码及答案》☟

rearrang

/*
** This program reads input lines from the standard input and prints
** each input line, followed by just some portions of the lines, to
** the standard output.
**
** The first input is a list of column numbers, which ends with a
** negative number.  The column numbers are paired and specify
** ranges of columns from the input line that are to be printed.
** For example, 0 3 10 12 -1 indicates that only columns 0 through 3
** and columns 10 through 12 will be printed.
*/

#include 
#include 
#include 
#define	MAX_COLS	20	/* max # of columns to process */
#define	MAX_INPUT	1000	/* max len of input & output lines */

int	read_column_numbers( int columns[], int max );
void	rearrange( char *output, char const *input,
	    int n_columns, int const columns[] );

int
main( void )
{
	int	n_columns;		/* # of columns to process */
	int	columns[MAX_COLS];	/* the columns to process */
	char	input[MAX_INPUT];	/* array for input line */
	char	output[MAX_INPUT];	/* array for output line */

	/*
	** Read the list of column numbers
	*/
	n_columns = read_column_numbers( columns, MAX_COLS );

	/*
	** Read, process and print the remaining lines of input.
	*/
	while( gets( input ) != NULL ){
		printf( "Original input : %s\n", input );
		rearrange( output, input, n_columns, columns );
		printf( "Rearranged line: %s\n", output );
	}

	return EXIT_SUCCESS;
}

/*
** Read the list of column numbers, ignoring any beyond the specified
** maximum.
*/
int
read_column_numbers( int columns[], int max )
{
	int	num = 0;
	int	ch;

	/*
	** Get the numbers, stopping at eof or when a number is < 0.
	*/
	while( num < max && scanf( "%d", &columns[num] ) == 1
	    && columns[num] >= 0 )
		num += 1;

	/*
	** Make sure we have an even number of inputs, as they are
	** supposed to be paired.
	*/
	if( num % 2 != 0 ){
		puts( "Last column number is not paired." );
		exit( EXIT_FAILURE );
	}

	/*
	** Discard the rest of the line that contained the final
	** number.
	*/
	while( (ch = getchar()) != EOF && ch != '\n' )
		;

	return num;
}

/*
** Process a line of input by concatenating the characters from
** the indicated columns.  The output line is then NUL terminated.
*/
void
rearrange( char *output, char const *input,
    int n_columns, int const columns[] )
{
	int	col;		/* subscript for columns array */
	int	output_col;	/* output column counter */
	int	len;		/* length of input line */

	len = strlen( input );
	output_col = 0;

	/*
	** Process each pair of column numbers.
	*/
	for( col = 0; col < n_columns; col += 2 ){
		int	nchars = columns[col + 1] - columns[col] + 1;

		/*
		** If the input line isn't this long or the output
		** array is full, we're done.
		*/
		if( columns[col] >= len ||
		    output_col == MAX_INPUT - 1 )
			break;

		/*
		** If there isn't room in the output array, only copy
		** what will fit.
		*/
		if( output_col + nchars > MAX_INPUT - 1 )
			nchars = MAX_INPUT - output_col - 1;

		/*
		** Copy the relevant data.
		*/
		strncpy( output + output_col, input + columns[col],
		    nchars );
		output_col += nchars;
	}

	output[output_col] = '\0';
}

s_srch1

/*
** Given a pointer to a NULL-terminated list of pointers, search
** the strings in the list for a particular character.
*/

#include 

#define	TRUE	1
#define	FALSE	0

int
find_char( char **strings, char value )
{
	char	*string;	/* the string we're looking at */

	/*
	** For each string in the list ...
	*/
	while( ( string = *strings++ ) != NULL ){
		/*
		** Look at each character in the string to see if
		** it is the one we want.
		*/
		while( *string != '\0' ){
			if( *string++ == value )
				return TRUE;
		}
	}
	return FALSE;
}

 


二、WEB外挂

这个文件夹里面同样是有《外挂制作教程》和配套的电子书。一起来看看

外挂制作教程☟

                                                                                                                328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第4张图片

《网络游戏外挂》☟

 328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第5张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第6张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第7张图片


三、Windows程序设计

 

Windows程序开发指南☟ 

328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第8张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第9张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第10张图片

code☟

                                                                                                       328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第11张图片

四、数据结构

 328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第12张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第13张图片328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第14张图片

                                                                                                                            328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第15张图片

大概就是这些东西了,剩下的几个项目和配套电子书如果有人看的话再更新一下吧,点个赞让我知道有人在看好吗

                                                                                                                                                                               328软妹币买了个项目实战包,分享给大家看(bai)看(piao)_第16张图片

 

 

你可能感兴趣的:(项目架构,c++,linux,程序人生,经验分享)