Search:

Type: Posts; User: zdzislavv

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    2,736

    So I guess now I've got working code with no...

    So I guess now I've got working code with no warnings and no errors (in Dev-C++'s compiler there are no errors and I hope there shouldn't be any in the other compiler). Thanks a lot for your help :)....
  2. Replies
    20
    Views
    2,736

    I thought I've got return here: hessian...

    I thought I've got return here:


    hessian operator*(hessian theHes1, hessian theHes2)
    {
    hessian result;
    //simple multiplication matrix by matrix
    //[a b][e f] = [ae+bg af+bh]
    //[c...
  3. Replies
    20
    Views
    2,736

    Actual code: //Newton-Raphson Method...

    Actual code:

    //Newton-Raphson Method
    //http://en.wikipedia.org/wiki/Newton's_method

    #include <cstdlib>
    #include <iostream>
    #include <math.h>

    using namespace std;
  4. Replies
    20
    Views
    2,736

    1. Untitled1.cpp:103: warning: unused parameter...

    1. Untitled1.cpp:103: warning: unused parameter 'thePoint'
    In the class point there is declaration of x1 and x2:

    class point
    {
    public:
    double x1, x2;
    In the line no. 103 I take...
  5. Replies
    20
    Views
    2,736

    Actual code: //Newton-Raphson Method...

    Actual code:


    //Newton-Raphson Method
    //http://en.wikipedia.org/wiki/Newton's_method

    #include <cstdlib>
    #include <iostream>
    #include <math.h>
  6. Replies
    20
    Views
    2,736

    I compile when writing a code. I use Dev-C++ (I...

    I compile when writing a code. I use Dev-C++ (I know that's not the best idea), version 4.9.9.2.
    I noticed some errors here, it is corrected version (and "point itsPoint;" in line 130.):

    ...
  7. Replies
    20
    Views
    2,736

    problem with classes

    Hello!
    I've got a problem with my classes - especially with private functions (I changed both private: into public:) and some kind of mistake in classes causes the fact that I cannot compile main...
  8. Replies
    4
    Views
    1,541

    Thanks! I've got other question. This is what I...

    Thanks!
    I've got other question.
    This is what I can do:

    string text = "My text.";
    cout << "Found on the position: " << text.find("text") << endl;
    But I don't know how to check how many...
  9. Replies
    4
    Views
    1,541

    easy question about switch

    Hi!


    int sss = 2;
    switch (sss)
    {
    case 0: cout<<"0"; break;
    case 1 || 2: cout<<"1 or 2"; break;
    }
Results 1 to 9 of 9