| delorie.com/archives/browse.cgi | search |
| From: | rpolzer AT durchnull DOT de (echo 'Rudolf Polzer'>/dev/null) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Printing function pointers |
| References: | <3AE082F7 DOT B4E9C05 AT jps DOT net> <3AE1D9D3 DOT AC592F3F AT mail DOT rosecom DOT ca> |
| X-newsgroup: | comp.os.msdos.djgpp |
| X-realname: | April |
| X-Ringtones: | http://ringtones AT durchnull DOT de |
| X-Original: | no |
| Message-ID: | <slrn9e3t45.tqp.rpolzer@www42.t-offline.de> |
| User-Agent: | slrn/0.9.6.3 (Linux) |
| Date: | Sat, 21 Apr 2001 22:58:45 +0200 |
| Lines: | 13 |
| NNTP-Posting-Host: | 213.7.26.226 |
| X-Trace: | 987887469 news.freenet.de 29323 213.7.26.226 |
| X-Complaints-To: | abuse AT freenet DOT de |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
April <awhite AT mail DOT rosecom DOT ca> wrote:
> cout << ( unsigned long )junk2 << '\n';
^^^^^^^^^^^^^^^^^
Please do not use C-style casts in C++! Use
reinterpret_cast<type>(value> for such hackish things,
otherwise static_cast or dynamic_cast instead.
--
#!/usr/bin/perl -W -- WARNING: This will print 22,307 bytes! <strictsafe!>
use strict;for(my$y=-1;$y<1;$y+=.1){for(my$x=-1.9;$x<.4;$x+=.03){print'+';
my$X=my$Y=0;for(0..99){($X,$Y)=($X*$X-$Y*$Y+$x,2*$X*$Y+$y);print"\b "if$X*
$X+$Y*$Y>9;}}print"\n"};print''.reverse"\nHPAJ \a!rezloP .R yb torblednaM"
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |