小编M I*_*ama的帖子

How to write and read a file with `fstream` simultaneously in c++?

I'm trying to write some text to a file and then read it using only 1 fstream object.

My question is very similar to this question except for the order of the read/write. He is trying to read first and then write, while I'm trying to write first and then read. His code was able to read but did not write, while my code is able to write but not read.

I've tried the solution from his question but it …

c++ fstream file

4
推荐指数
1
解决办法
82
查看次数

SvelteKit 是否支持后台作业

我应该将应该始终像croner一样运行的代码放在哪里?我在这里找不到它。

编辑:

目前看来还不可能。我应该使用单独的后端吗?

svelte sveltekit

4
推荐指数
2
解决办法
4217
查看次数

标签 统计

c++ ×1

file ×1

fstream ×1

svelte ×1

sveltekit ×1