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:
#include <iostream>
using namespace std;

int main(){
	int num = 2;
	const char * a ;
	a = "COLOR" && num ;
	return 0;

Last edited by shabbir; 5Jan2008 at 10:08.. Reason: Code block