I am new to programming in C++.
I have came across a problem and i was wondering if someone could help me out.
I have this code <posted at the bottom> and when i compile it it says:
'=' : cannot convert from 'bool' to 'const char *
heres the code:
Code:
#include <iostream>
using namespace std;
int main(){
int num = 2;
const char * a ;
a = "COLOR" && num ;
system(a);
system("PAUSE");
return 0;
}