// ConsoleApplication50.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
enum Kolor {Czerwony,Niebieski,Zolty};
Kolor moj_kolor = Czerwony
if (moj_kolor = Czerwony)
{
cout << "Prawda " << endl;
}
return 0;
}
Przepraszam Bardzo ale nie wiem co tu jest złe , nie rozumiem enum ktoś może mi wytłumaczyć ?