Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Jose M

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,032

    Re: [NOOB QUESTION] Really large numbers in C++

    In fact in my system.... ubuntu linux i don't have that library conio.h and therefore I can't use getch(). It works in windows ok. (but this is a bit of red herring)
  2. Replies
    11
    Views
    771

    Re: fibonacci number

    ok...
    I am sorry...
    I have checked it again. I have compiled them again and now yes I get the same result.
    I dont understand what happened. I have to think it was something else.:confused:
    ...
  3. Thread: Return int

    by Jose M
    Replies
    7
    Views
    617

    Re: Return int

    Yes it's true. I didn't know it.

    Then the cast would be this:

    int result=15.0f/2;

    Obviously here there's cast ...true????????
    because the result of the division would be 7.5 but finally...
  4. Replies
    11
    Views
    771

    Re: fibonacci number

    Razzle:



    Do you mean that this is iteration... ?

    int r1=fibo(pos1);
    int r2=fibo(pos2);

    int r=r1+r2;
  5. Replies
    11
    Views
    771

    Re: fibonacci number

    Sorry ... post1 and post2 is a mistake.
    I meant pos1 and pos2, are the same.
  6. Thread: Return int

    by Jose M
    Replies
    7
    Views
    617

    Re: Return int

    Yes, you are right.
    What you are doing is an implicit cast wich is a conversion type from float to int. Your are casting the type float (or double) to int.
  7. Replies
    4
    Views
    564

    Re: Loop Trouble with For Loop

    Judge is the Divers name so the type of Judge should be string or c-style;
    So instead of:


    int Judge;

    You should write;


    string Judge;
  8. Replies
    11
    Views
    771

    fibonacci number

    Hi, the next code is right. I mean it works. It gives the sequence of fibonaci numbers ...



    #include <iostream>
    #include <iomanip>
    using namespace std;

    int fibo(int pos)
    {
  9. Replies
    2
    Views
    381

    operator overloading (prefix ++)

    Hi...

    I am writing the overloading operator function (prefix ++) according to my book.. but it doesnt work !!!!!!

    But if i write:
    void operator++()
    {
    ++x;
    }
    it works !!!!!
  10. Thread: STL stack queue

    by Jose M
    Replies
    2
    Views
    406

    Re: STL stack queue

    ok thanks... I undertand now :):):):):)
  11. Thread: STL stack queue

    by Jose M
    Replies
    2
    Views
    406

    STL stack queue

    #include <iostream>
    #include <vector>
    #include <stack>
    Hi!
    In the Standart Template Library I am stading stack and queues.

    One way to instantiate is creating a stack that uses an underlying...
Results 1 to 11 of 11


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center