Topic: null pointer assig/BC 3.1


Author: pc@aix1.ucok.edu (Paul Carter)
Date: Fri, 6 Aug 1993 14:03:31 GMT
Raw View
Esa Tiiliharju (iloesa@snakemail.hut.fi) wrote:

:   Hi!

: after I've run my program (terminates/runs normally, except this) I'll
: get the message:

:  (null pointer assignment)

: apppended right after my program's last output.

: Question is, what does this actually mean? An error? If so, how can I
: find it, since program runs normally?

: Could that mean I'm trying to for example do a strcpy(NULL, "some_string")???

: Anyways, looks like lots of stupid questions, eh? -:) I think Borland
: (yes, I'm using BC++ 3.1) should claim responsibility for this,
: since their inferior manuals (horrible, actually) don't even know that
: error? message string.

: Well, in a nutshell: What the .... is that message about???


:   humbly Yours


: --
:                    iloesa@snakemail

I think you should read your manuals more carefully. Look at page 206 of
the "Tools and Utilities Guide". (I think this error is also discussed in
the C++ FAQ). You can also use the debugger to find this errors.

One additional point. I think this topic belongs in comp.lang.c++ (or
comp.lang.c) not the standards newsgroup.

--
+--------------------------------+----------------------------------------+
|  Paul Carter                   |  "How to paint a perfect painting --   |
|  Univ of Central Oklahoma      |   make yourself perfect and then       |
|  Edmond, OK 73034              |   just paint naturally."               |
|  Voice: (405)-341-2980 x. 5384 |         Robert M. Pirsig               |
|  e-mail: carter@aix1.ucok.edu  |   Zen and the Art of Motorcycle        |
|                                |              Maintenance               |
+--------------------------------+----------------------------------------+




Author: iloesa@snakemail.hut.fi (Esa Tiiliharju)
Date: 06 Aug 93 21:50:30 GMT
Raw View
In article <CBCCDw.KzG@darkside.osrhe.edu> pc@aix1.ucok.edu (Paul Carter) writes:


   Esa Tiiliharju (iloesa@snakemail.hut.fi) wrote:


   :   Hi!

   : after I've run my program (terminates/runs normally, except this) I'll
   : get the message:

   :  (null pointer assignment)

    One additional point. I think this topic belongs in comp.lang.c++
 (or    comp.lang.c) not the standards newsgroup.

oops, sorry!

   --
   +--------------------------------+----------------------------------------+
   |  Paul Carter                   |  "How to paint a perfect painting --   |
   |  Univ of Central Oklahoma      |   make yourself perfect and then       |
   |  Edmond, OK 73034              |   just paint naturally."               |
   |  Voice: (405)-341-2980 x. 5384 |         Robert M. Pirsig               |
   |  e-mail: carter@aix1.ucok.edu  |   Zen and the Art of Motorcycle        |
   |                                |              Maintenance               |
   +--------------------------------+----------------------------------------+
--
                   iloesa@snakemail




Author: iloesa@snakemail.hut.fi (Esa Tiiliharju)
Date: 04 Aug 93 21:12:49 GMT
Raw View
  Hi!

after I've run my program (terminates/runs normally, except this) I'll
get the message:

 (null pointer assignment)

apppended right after my program's last output.

Question is, what does this actually mean? An error? If so, how can I
find it, since program runs normally?

Could that mean I'm trying to for example do a strcpy(NULL, "some_string")???

Anyways, looks like lots of stupid questions, eh? -:) I think Borland
(yes, I'm using BC++ 3.1) should claim responsibility for this,
since their inferior manuals (horrible, actually) don't even know that
error? message string.

Well, in a nutshell: What the .... is that message about???


  humbly Yours


--
                   iloesa@snakemail