Hi everyone.
I am confused a bit with a mod function, cause my calculator, the C % mod operator and some other calculator are all giving me different results for some numbers.
Can any1 please...
Type: Posts; User: dimaash
Hi everyone.
I am confused a bit with a mod function, cause my calculator, the C % mod operator and some other calculator are all giving me different results for some numbers.
Can any1 please...
Thanks for ur help 7stud.
Am i not using an iterator in the following code snippet ?
while(*temp)
{
cout<<"Element at rank "<<i<<" is :"<<**temp<<endl;
temp++;
i++;
Here is my pop method which removes elements from the front of the vector.
template <class T>
void sequence<T>::pop()
{
if(!S.empty()) //S is my vector which holds pointers to integers
{ ...
Hi everyone.
I dont have a lot of experience with STL, so here i am.
I am implementing a certain queue-like behaiviour data structure.
So i have a certain vector, to which i am adding elements...
Hi every1. I am writing a console progy here using curses libraries. What i have here is a certain class which has 2 pointers of type WINDOW. In my general constructor i am calling newwin() so that...
Hi every1. I am writing a small console progy here using ncurses libraries. What i would liked to know is how to scroll upward using any of ncurses functions. Basically what i have is a window. And i...