Blitz logo

Blitz Support :

From: Heberto del Rio (hebertodelrio_at_[hidden])
Date: 2003-08-04 17:21:31


Hi, I have just downloaded and installed blitz-0.6 to my computer, it is
running. Although I have a question:

Every time that I try to input values into the arrays, my compiler produces
plenty of WARNINGS, I have tried everything but I cannot get rid of them.

blits is intalled into the following directories:

/usr/include/blitz
/usr/include/random
and
/usr/lib

I have used the following to compile: -lblitz

the program is the following:

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <iostream>
#include <stdlib.h>

#include <blitz/array.h>

using namespace blitz;

int main(void)
{
  cout << "Hello, World!" << endl;

  int n = 10;
  Array<double, 1> A(n);
  A=0;
  cout<< A <<endl;
  return 1;
}

As you can see this is a really very easy program. I have included the
output of the compilation

I hope someone can help me to figure out how to fix it.

Heberto

+--------------------------------------------------------------------------+
| |
| I am in the process of changing ISP, therefore my email address will |
| |
| change too. Please use the following email address in the future: |
| |
| hebertodelrio_at_[hidden] |
| |
+--------------------------------------------------------------------------+