Currently browsing tag

Stack

C++ code checking palindrome … not working :s?

this specific code we have made down below runs nonetheless useless…any help! thanx #include #include #define maxsize 100 int top=-1; int front=-1; int rear=-1; char stackmaxsize; char queuemaxsize; bool isempty() returning (top==-1rear==front); bool isfull() returning (top==maxsize-1rear==maxsize-1); useless push (char x) if(isfull()) cout<<"stack full"<<endl; else stack++top=x; char pop() if(isempty()) cout<<"stack empty"<<endl; …

Why does my Mac keep getting Kernel panics?

My own computer informs me that i should turn the item lower right away.After that once i turn it back in, there is that message: Interval Considering Previous Panic and anxiety Statement:272173 sec Panics Since Previous Survey:2 Mysterious UUID:C24A9C34-0D40-4045-B64F-04A0AD76750A Mon Dec 35 THIRTEEN:TWENTY THREE:46 2010 panic(cpu 0 owner 0x2a9d27):Double problem …