-
Interesting...
The behavior is different between Java and C++, but only with the statement
"a = a++". If you remove the "a =" part, then the behavior is indentical.
Granted you wouldn't normally do "a = a++" but Mathi has a good point.
I'm not really sure why, but it may have something to do with the way the
post increment operator works. Anyone?
Thanks,
Frank
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks