xboxscene.org forums

Pages: 1 [2]

Author Topic: Xbox Development  (Read 168 times)

Mage

  • Archived User
  • Sr. Member
  • *
  • Posts: 482
Xbox Development
« Reply #15 on: April 14, 2003, 10:10:00 PM »

QUOTE (duythanh @ Apr 14 2003, 09:17 PM)
QUOTE (Mage @ Apr 6 2003, 08:01 PM)
No, that was C code not C++.
In C++, int blah() is treated as blah(void), however in C it's treated as int blah(...) would be treated in c++.

That's depend on the compiler though. Anyway, I am trying to mess my Xbox as well. I can understand the code but writing it is a pian for me because I did Java for so long. I am trying to compile a embeded mozilla code with the Xbox compiler. Still no luck. Any one interest?

That is when dealing with ANSI/ISO C++, which is the norm.  GCC and MSVC++ both follow it in this specific example, so your point isn't really valid.
And yes, before you say it, you COULD setup some configuration where it would be valid, however when you deal with real programming, you tend to stick with real standards.
Logged
Pages: 1 [2]