• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C local auto-initialized?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C local auto-initialized?


  • Subject: Re: C local auto-initialized?
  • From: Chris Suter <email@hidden>
  • Date: Fri, 21 Sep 2007 11:00:39 +1000


On 21/09/2007, at 10:21 AM, Fritz Anderson wrote:

Yes, that is good. However, people seem to forget what I'm doing: I'm trying to teach how to debug something. I DON'T WANT TO AVOID THE BUG. And, if I'm debugging, there's no optimization. Besides, I'm writing for instructional purposes, teaching Xcode, and at the very beginning, I can't detour people away from instructional tasks to adjusting the development environment.

I did realise that. Just wanted to point it out in case you didn't know about it and it might benefit other readers of this list.


Does the following program exhibit the program and if so, can you send us the output?

#include <stdio.h>

int main ()
{
    double      sumY, sumY2;
    double      y = 4.0;
    printf("sumY2 = %g\n", sumY2);
    sumY2 += y * y;
    printf("sumY2 = %f\n", sumY2);
    return 0;
}

- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: C local auto-initialized?
      • From: Fritz Anderson <email@hidden>
References: 
 >Re: C local auto-initialized? (From: Greg Guerin <email@hidden>)
 >Re: C local auto-initialized? (From: Fritz Anderson <email@hidden>)
 >Re: C local auto-initialized? (From: Chris Suter <email@hidden>)
 >Re: C local auto-initialized? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: C local auto-initialized?
  • Next by Date: Re: C local auto-initialized?
  • Previous by thread: Re: C local auto-initialized?
  • Next by thread: Re: C local auto-initialized?
  • Index(es):
    • Date
    • Thread