⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 buggy_code.ex.c

📁 OPNET odb_lab_ref-baseline
💻 C
字号:
#include <string.h>

void
fcn (void)
	{
	/* Note the syntax here is correct, but this program will	*/
	/* have undefined behavior at runtime when the call to		*/
	/* strcpy() below overwrites random memory.					*/
	
	/* However, reading the contents of the compiler warnings could	*/
	/* help you identify such an unfortunate error in your own		*/
	/* models.  Compiler warnings are kept in the 					*/
	/* <home>/op_admin/tmp/cc_err file.  This file is re-created	*/
	/* every time a model is compiled.								*/
	char * char_ptr;
	
	strcpy (char_ptr, "Hello World");
	
	return;
	}

⌨️ 快捷键说明

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