Begini nih codingnya:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QString isiCommand = "command yang mau kamu pake"; | |
std::string std = isiCommand.toUtf8().constData(); | |
const char* conv = std.c_str(); | |
system(conv); |
kalo pake software selain qt juga bisa kok. Ini flow asal-asalan buat ngubah command biar bisa di eksekusi :
![]() | |
gbr 1. flowchart ubah command |
Tidak ada komentar:
Posting Komentar