Search:

Type: Posts; User: dimaash

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    4,495

    MOD function help

    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...
  2. Replies
    9
    Views
    1,148

    Thanks for ur help 7stud. Am i not using an...

    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++;
  3. Replies
    9
    Views
    1,148

    Here is my pop method which removes elements from...

    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
    { ...
  4. Replies
    9
    Views
    1,148

    How to remove from the end of the vector?

    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...
  5. Replies
    1
    Views
    3,853

    Cant create curses's newwin() inside a class

    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...
  6. Replies
    1
    Views
    2,980

    scroll up with ncurses ? plz help

    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...
Results 1 to 6 of 6