function c8vec_print ( n, a, title )

%*****************************************************************************80
%
%% c8vec_print() prints a C8VEC.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 September 2009
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of components of the vector.
%
%    complex A(N), the vector to be printed.
%
%    string TITLE, a title.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '%s\n', title );

  fprintf ( 1, '\n' );
  for i = 1 : n
    fprintf ( 1, '  %6d: %s\n', i, num2str ( a(i) ) );
  end

  return
end
