Hi, i want to cin a value for a for the system but it give me a lot of errors.
Code:
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
string a;
int main(void)
{
cin >> a;
system("start "<<a " "); //Its about a link
return 0;
}
//So, whats wrong?, and the "code" button is not working/idk how to use it
//Thanks in advance
Last edited on