witam, chciałbym się pozbyć definicji
kod wyglada tak
#ifdef _BDD_REPUTACJA_
if (reput != 0){
if (access >= 1)
{
s <<"\nReputation: "<<(reput>0?"+":"")<<reput<<"\n";
}
else
{
s <<"\nReputation: "<<(reput>0?"+":"")<<reput<<"\n";}}
#else
s <<"\nReputation: "<<(access>0?"+":"")<<access<<"\n";exit(1);
#endif //_BDD_REPUTACJA_
zmieniając na
if (reput != 0){
if (access >= 1)
{
s <<"\nReputation: "<<(reput>0?"+":"")<<reput<<"\n";
}
else
{
s <<"\nReputation: "<<(reput>0?"+":"")<<reput<<"\n";}}
else //zmieniłem #else na else tak powinno byc?
s <<"\nReputation: "<<(access>0?"+":"")<<access<<"\n";exit(1);
jeżeli mam #else to powinienem zmienić na else?