更新时间:2023-11-10 20:44:58
记事本+ +具有运行功能,但据我所知,这是无法帮你调试(例如,通过code步进,观察变量等)
Notepad++ has the run feature, but as far as I know it's unable to help you debugging (e.g. stepping through code, watching variables, etc.).
您***的选择是用一个简单的批处理文件来编译code和运行调试命令,但据我所知,你不能包括一切到记事本++(即它没有真正的C / C ++ IDE)
Your best bet would be using a simple batch file to compile the code and run your debug commands, but as far as I know you can't include everything into Notepad++ (i.e. it's no real C/C++ IDE).
只有你所得到的是将创建批处理文件程序选项按NppExecute运行。
Only option you've got is adding the created batch file as the program to be run by NppExecute.
编辑:
总体而言,作为rkosegi建议,如果可能的话,使用更先进的最新工具链。
Overall, as rkosegi suggested, if possible, use a more up-to-date toolchain.
微软的Visual C ++防爆preSS 版可以免费下载,并用于私人或商业项目。
Microsoft's Visual C++ Express Edition can be downloaded for free and used for private or commercial projects.
如果你的目标跨平台code,它可能是更容易使用 MinGW的来使用GCC / G ++ Windows下。
If you target cross platform code, it might be easier to use MinGW to use GCC/G++ under Windows.