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 :)....
Type: Posts; User: zdzislavv
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 :)....
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...
Actual code:
//Newton-Raphson Method
//http://en.wikipedia.org/wiki/Newton's_method
#include <cstdlib>
#include <iostream>
#include <math.h>
using namespace std;
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...
Actual code:
//Newton-Raphson Method
//http://en.wikipedia.org/wiki/Newton's_method
#include <cstdlib>
#include <iostream>
#include <math.h>
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.):
...
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...
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...
Hi!
int sss = 2;
switch (sss)
{
case 0: cout<<"0"; break;
case 1 || 2: cout<<"1 or 2"; break;
}