Search:

Type: Posts; User: o0o

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,590

    okeys thanku. I'll keep that in mind.

    okeys thanku. I'll keep that in mind.
  2. Replies
    8
    Views
    1,590

    brackets? whats the logic behind brackets??

    brackets?

    whats the logic behind brackets??
  3. Replies
    8
    Views
    1,590

    Ofcourse '==' is 100% right. I am using a DEV-C++...

    Ofcourse '==' is 100% right. I am using a DEV-C++ compiler and it gives 3 errors for the following code;


    #include<iostream>
    #include<conio.h>

    void perfect(int); // function prototype
    ...
  4. Replies
    8
    Views
    1,590

    okeys it reduces to 3 errors if i do so but the...

    okeys it reduces to 3 errors if i do so but the compiler gives this error now
    :...:' in function void perfect(int).

    &

    :39: name
    lookup of `value' changed for new ISO `for' scoping
  5. Replies
    8
    Views
    1,590

    lvale problem in function definition/

    #include<iostream>
    #include<conio.h>

    void perfect(int); // function prototype

    using std::cout;
    using std::cin;
    using std::endl;

    int main()
  6. Thread: a prob?

    by o0o
    Replies
    4
    Views
    1,126

    got it now thanku/

    got it now thanku/
  7. Thread: a prob?

    by o0o
    Replies
    4
    Views
    1,126

    didn't get that/

    didn't get that/
  8. Thread: a prob?

    by o0o
    Replies
    4
    Views
    1,126

    a prob?

    #include<iostream>
    #include<conio.h>
    using std::cout;
    using std::cin;
    using std::endl;
    // function prototype
    double small(double,double);

    int main()
    {
  9. Thread: wrong result?

    by o0o
    Replies
    5
    Views
    1,891

    thanku salem

    thanku salem
  10. Thread: wrong result?

    by o0o
    Replies
    5
    Views
    1,891

    just a slight change makes it work. only adding...

    just a slight change makes it work.
    only adding double or static_cast<double> doesn't give the required results on my dev c++ compiler.
    y? is that?





    double Celsius( double valueA )
    {
  11. Thread: wrong result?

    by o0o
    Replies
    5
    Views
    1,891

    wrong result?

    #include<iostream>
    #include<conio.h>

    using std::cout;
    using std::cin;
    using std::endl;

    // functions prototypes

    double Celsius( double );
  12. Thread: showTime()?

    by o0o
    Replies
    2
    Views
    1,050

    Yes it works and sorry i missed another *60 in...

    Yes it works and sorry i missed another *60 in hours to convert it into secds/ thanku
  13. Thread: random value?

    by o0o
    Replies
    4
    Views
    1,052

    I guess it should be like this int x =...

    I guess it should be like this


    int x = randomValue;

    randomValue = 0 + rand()%100;
  14. Thread: showTime()?

    by o0o
    Replies
    2
    Views
    1,050

    showTime()?

    #include<iostream>
    #include<conio.h>

    using std::cout;
    using std::cin;
    using std::endl;

    // function prototype

    void showTimeH( int );
  15. Replies
    10
    Views
    1,643

    #include is missing pal/

    The only prob u r facing at the moment is that your system doesn't pause so that u can see the output.

    here try to include cstdlib in ur code.



    #<iostream>
    #include<cstdlib> // in older...
  16. Replies
    10
    Views
    1,643

    try this one/

    y? don't u try this code.


    #include<iostream>
    #include<conio.h>

    using std::cout;
    using std::endl;

    int main()
  17. Replies
    2
    Views
    1,680

    lol hahaaa !! Thanku very much salem. :) I...

    lol hahaaa !!

    Thanku very much salem.
    :) I will now keep spellings in mind.
  18. Replies
    2
    Views
    1,680

    printSquare( side ); ???

    #include<iostream>
    #include<conio.h>

    using std::cout;
    using std::cin;
    using std::endl;

    // function prototype

    void printSquare( int );
  19. Thread: decrypting

    by o0o
    Replies
    11
    Views
    2,404

    y 2 try such a long method?

    try this code to decript 6543 to 9876.


    #include<iostream>
    #include<conio.h>

    using std::cout;
    using std::cin;
    using std::endl;
  20. Thread: nested for loops/

    by o0o
    Replies
    2
    Views
    1,599

    u r right/

    Thanku Calthun.I got it.And yes I didn't initialize the variables.Got to keep that in mind in future.:cool:
  21. Thread: nested for loops/

    by o0o
    Replies
    2
    Views
    1,599

    nested for loops/

    #include<iostream>
    #include<conio.h>
    #include<iomanip>

    using std::cout;
    using std::cin;
    using std::endl;
    using std::setw;

    int main()
  22. Replies
    2
    Views
    1,451

    approx value of (e)/

    Value of e is to be found by the formula

    e=1+1/1!+1/2!+1/3!+..................

    The following code give value only upto 5!.Although it should increment num and use the new value (ie...
  23. Replies
    8
    Views
    2,880

    Theory is very important and ofcourse we cannot...

    Theory is very important and ofcourse we cannot only rely on theory cuz lots of coding practice is also needed.So I'll just advise u to concentrate on both theory and coding practice.Solve the...
  24. Replies
    5
    Views
    2,040

    sorryculdn't attach the file

    sorry couldn't attach the file
  25. Replies
    5
    Views
    2,040

    decripting 4-digit integer/

    #include<iostream>
    #include<conio.h>

    using std::cout;
    using std::cin;
    using std::endl;

    int main()
    {
    // declare variables
Results 1 to 25 of 37
Page 1 of 2 1 2