Re: nullptr versus NULL

Roland Hughes via Foxgui-users <[email protected]>
Newsgroups gmane.comp.lib.fox-toolkit.user
Message-ID <[email protected]>
nullptr is the shiny new C++ standard. If you are compiling using c++11 
(maybe have to go to 17) doing this


char *tmp = NULL;

will generate a compiler error. NULL was usually a #define for 0 but 
nullptr is actually a pointer.

On 9/16/21 2:17 PM, John Selverian wrote:
>
> Is there a difference between using “nullptr” versus “NULL”? I see 
> that Fox usually uses NULL.
>
> Kind regards,
>
> js
>
>
>
> _______________________________________________
> Foxgui-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/foxgui-users

-- 
Roland Hughes, President
Logikal Solutions
(630)-205-1593

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog

_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.