Search:

Type: Posts; User: hatsoff; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    2
    Views
    439

    Instruction of assembly language

    What is the instruction to invert content of a register?

    I'm using these two instructions to do a AND logical operation b/w two registers and store its result in 3rd seprate register:
    have a...
  2. Re: How do you use modulus operator for Greedy Algorithm

    Got it Thank you guys!
  3. Replies
    6
    Views
    1,092

    Re: Array of char problem. c++

    Oh no no brother you are welcome!





    got it!

    Actually er just imagine you have array of and you are comparing given input with array when you find that letter note down its position..(i...
  4. caser cipher: only first letter is encoding and not handling spaces!

    Here it is:


    #include <iostream>
    #include <stdio.h>
    #include <string>
    #include <ctype.h>
    using namespace std;

    int main()
  5. Replies
    6
    Views
    1,092

    Re: Array of char problem. c++

    you are right!! hehehe
    now getting single error:

    expected `(' before "wrapearound"

    and please do tell me how i think solution of problem fair ,good ,bad..:)
    how i improve my style? I want to...
  6. Replies
    6
    Views
    1,092

    Array of char problem. c++

    I'm wondering why i'm not allowed to declare and initialize array of char with alphabets?
    This is code for vegenere cipher.


    #include <stdio>
    #include <string>
    #include <ctype>
    #include...
  7. How do you use modulus operator for Greedy Algorithm

    suppose user has given us floating point number(like 0.37$) and we want it to covert into decimal by roundingoff (mayb such that it doesn't affect on answer) and then use modulus operator on them....
  8. Re: Count number of elements when you are given bulk of elements at once(as input) in

    @r-senior compiled successfully but command prompt just appears for nano second(i mean just appears and disappears although it has statement system("PAUSE") ;),
    @ofnuts like this?:

    #include...
  9. Re: Count number of elements when you are given bulk of elements at once(as input) in

    Thank you that was hidden from me!!
    what about this?

    #
    #include <iostream>
    #include <string>
    int counter;
    int main (void)
    {
    std::string str...
  10. Re: Count number of elements when you are given bulk of elements at once(as input) in

    isn't require a intelligent program or it will solve simply?
  11. Re: Count number of elements when you are given bulk of elements at once(as input) in

    #include <iostream>
    using namespace std ;

    int counter ;

    int main(void)
    {
    // i want to give input like this and want 1's to be read one by one until newline encounter

    ...
  12. Count number of elements when you are given bulk of elements at once(as input) in c++

    I'm beginner to c++;
    Today i was reading a piece of information during this i found a very large number of 1's(a long string of 1's) and interested to see how many are they, being a human i wanted...
  13. Replies
    5
    Views
    444

    Re: Pure Virtual Function

    I think i make getter and setter function virtual....
  14. Replies
    5
    Views
    444

    Re: Pure Virtual Function

    you r right i m giving only pure virtual function signature in base class and implementing it(search function) in child class but all three child classes are using same parameters(data members) for...
  15. Replies
    5
    Views
    444

    Pure Virtual Function

    Hi there,
    my question is can we use data members of base class in implementation of pure virtual function in drive class?
    P.S
    its saying give pure virtual function implementation(search function)...
  16. Re: Inorder successor or predecessor? deletion in AVL tree

    so it means first i'll find inorder successor (smallest in the right subtree) and replace root value with, it delete inorder successor and after it if unbalance, rebalnce and call it a day! m i...
  17. Re: Inorder successor or predecessor? deletion in AVL tree

    Thank you very much quite helpful :)
    this is for you and others who replied=D>
  18. Re: Inorder successor or predecessor? deletion in AVL tree

    its a 3rd level tree and root to be deleted is uppermost root.
  19. Re: Inorder successor or predecessor? deletion in AVL tree

    i didn't understand at all
  20. Inorder successor or predecessor? deletion in AVL tree

    Ive to delete a root node,and inorder to do this ive to find inorder successor or predecessor(red from wikipedia),now i dnt know how to,i found inorder successor is leftmost of right tree but in my...
  21. Replies
    2
    Views
    296

    Re: problem with cin

    i'll do practice and will try to understand it..thank u very much
  22. Replies
    2
    Views
    296

    problem with cin

    hi,
    in my code there are 2 prompt statements in do- while loop,one prompt works fine to get string of characters but when it comes to take integer input by 2nd prompt it does not work ,just display...
  23. Replies
    6
    Views
    523

    Re: expected : or ; before { token error

    i think there is problem with getline function please see this am i doing right?

    do
    {

    cout << "Enter the name of classmate " << endl;
    ...
  24. Replies
    6
    Views
    523

    Re: expected : or ; before { token error

    after changes ,it compiled right away but crashing, when i add name
  25. Replies
    6
    Views
    523

    Re: expected : or ; before { token error

    it did not solve the problem still getting same error.
Results 1 to 25 of 30
Page 1 of 2 1 2