Hi guys , I am making an application just for fun 0_0 , and I have a little problem with it. The idea is to be able to run a "system" commands before the user imput the number . this is what I have :
#include <iostream>
#include <cstdlib>
int main()
{
using namespace std;
int var1;
int var2=3600;
int var3;
cout<<"Enter the time"<<endl;
cin>>var1;
var3=(var1*var2);
system("shutdown -s -t "time_here(var3)" ")