Home
Sign Up
Sign In
V2EX
›
问与答
请教在 c++回调函数中如何初始化数据库连接?
hunk
·
Jan 2, 2023
· 1382 views
This topic created in 1289 days ago, the information mentioned may be changed or developed.
想在回调函数中写入 TDengine 数据,但不知道数据库连接在主程序中初始化作为参数传入加成调函数好,还是回调函数中初始化?
原来程序 demo 中是写入文本文件,不存在此问题。刚刚写 c++,有些思路上还没吃透,谢谢。
No Comments Yet
函数
回调
初始
写入
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1312 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms ·
UTC 17:19
·
PVG 01:19
·
LAX 10:19
·
JFK 13:19
♥ Do have faith in what you're doing.
❯