|
From: Quentin S. <mac...@bi...> - 2002-05-27 18:51:55
|
Hi-
Here's what OS X says -
[maclap01:~] quentins% ./text-html > text-html.txt &
[1] 28379
[maclap01:~] quentins% ls -l text-html.txt
-rw-r--r-- 1 quentins staff 156606 May 27 14:49 text-html.txt
[1] + Segmentation fault ./text-html > text-html.txt
[maclap01:~] quentins% tail text-html.txt
HTML is the best!
Text is the best! HTML sucks!
HTML is the best!
Text is the best! HTML sucks!
HTML is the best!
Text is the best! HTML sucks!
HTML is the best!
Text is the best! HTML sucks!
HTML is the best!
Text is the best! HTML sucks!
[maclap01:~] quentins%
BTW, text is the best! HTML sucks!
--Quentin
On Thursday, May 23, 2002, at 03:06 AM, Ioannis Vranos wrote:
> Or better the code that illustrates the controversy:
>
> #include <iostream>
>
> void text();
>
> void html() { std::cout<<"HTML is the best!\n"; text(); }
>
> void text() { std::cout<<"Text is the best! HTML sucks!\n"; html(); }
>
> int main()
> {
> text();
> }
>
>
> In my system HTML prevails (stack overlflow):
>
> Text is the best! HTML sucks!
> HTML is the best!
> Text is the best! HTML sucks!
> HTML is the best!
>
> C:\c>
>
>
>
> Ioannis
>
> * Ioannis Vranos
> * Programming pages: http://www.noicys.cjb.net
> * Alternative URL: http://run.to/noicys
>
>
>> -----Original Message-----
>> From: dev...@li...
>> [mailto:dev...@li...] On Behalf
>> Of Graeme Foster
>> Sent: Thursday, May 23, 2002 8:28 AM
>> To: dev...@li...
>> Subject: [Dev-C++] Text - Html???
>>
>>
>> Sorry but I think you meant...
>>
>> #include <iostream>
>> void main() { Html() }
>>
>> void Html()
>> {
>> std::cout<<"This subject leads to nowhere!\n";
>> Text();
>> }
>>
>> void Text()
>> {
>> std::cout<<"This subject leads to nowhere!\n";
>> Html();
>> }
|