I have been following a C tutorial and using DevC++. When I write this code:
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
and try to compile and run, I get this file popping up...
[*] cstddef
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.
It continues to talk about the GNU General Public License for a few paragraphs.
And then it reads...
/** @file cstddef
* This is a Standard C++ Library file. You should @c #include this file
* in your programs, rather than any of the "*.h" implementation files.
*
* This is the C++ version of the Standard C Library header @c stddef.h,
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std.
Then it has this code at the bottom?
#ifndef _CPP_CSTDDEF
#define _CPP_CSTDDEF 1
#pragma GCC system_header
#include <stddef.h>
namespace std
{
using ::ptrdiff_t;
using ::size_t;
}
#endif
I have searched for an answer but can find none. So I turn here.