<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[m0_47088198的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/m0_47088198</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; m0_47088198]]></copyright><item><title><![CDATA[【刷题】LeetCode力扣中C语言返回数组]]></title><link>https://blog.youkuaiyun.com/m0_47088198/article/details/144407092</link><guid>https://blog.youkuaiyun.com/m0_47088198/article/details/144407092</guid><author>m0_47088198</author><pubDate>Wed, 11 Dec 2024 18:22:43 +0800</pubDate><description><![CDATA[在力扣中刷题，选择C语言，如果要求的返回值是数组，会发现给的函数参数中有一个returnSize
这个参数的意义是指定返回数组的大小，否则会输出空数组
参考：
https://ask.youkuaiyun.com/questions/7411484
https://blog.youkuaiyun.com/m0_73633144/article/details/131505924返回数组时不能直接在局部函数中进行定义，定义局部变量a，返回的是a的地址，而a是一个局部变量，当函数调用结束时，局部变量中数据可能已经不复存在了。
解决方法]]></description><category></category></item><item><title><![CDATA[【Linux】linux5.6引入struct proc_ops，用以替代struct file_operations在/proc下进行文件操作]]></title><link>https://blog.youkuaiyun.com/m0_47088198/article/details/130001932</link><guid>https://blog.youkuaiyun.com/m0_47088198/article/details/130001932</guid><author>m0_47088198</author><pubDate>Thu, 06 Apr 2023 23:48:20 +0800</pubDate><description><![CDATA[该报错是错误码：EPERM，不允许操作。]]></description><category></category></item><item><title><![CDATA[vs2019报错：没有合适的默认构造函数可用]]></title><link>https://blog.youkuaiyun.com/m0_47088198/article/details/120374327</link><guid>https://blog.youkuaiyun.com/m0_47088198/article/details/120374327</guid><author>m0_47088198</author><pubDate>Sat, 18 Sep 2021 21:50:16 +0800</pubDate><description><![CDATA[一、问题描述

vs2019中，以下代码，有时会报错：没有合适的默认构造函数可用
class Person
{
public:
	
	Person(string name, int age, int height)
	{
		m_name = name;
		m_age = age;
		m_height = height;
	}

	string m_name;
	int m_age;
	int m_height;
};

二、问题解决

错误原因：在Person类中定义了其他构造函数，那么，编译器不会为]]></description><category></category></item><item><title><![CDATA[关于vs2019编译后报错：无法打开xxx.exe进行写入]]></title><link>https://blog.youkuaiyun.com/m0_47088198/article/details/120222174</link><guid>https://blog.youkuaiyun.com/m0_47088198/article/details/120222174</guid><author>m0_47088198</author><pubDate>Fri, 10 Sep 2021 15:05:54 +0800</pubDate><description><![CDATA[关于vs2019编译后报错：无法打开xxx.exe进行写入
错误原因
或许是exe文件已打开
解决方法


打开cmd


输入tasklist，显示正在运行的进程，在列表中找到自己要关闭的进程的PID


输入以下命令，关闭进程



tasklist /PID xxxx   //xxxx是进程PID


若关闭不了，输入以下命令，强制关闭

tasklist /PID xxxx /F   //xxxx是进程PID



...]]></description><category></category></item></channel></rss>