Re: Pointer arithmetic



pghoshjobs@xxxxxxxxx wrote:

please quote in a standard manner and leave attributions in

"The function "main" is unique in that it can *only* have one of two
different signatures. "

Nope AFAIK, main can have 3 different signatures

1. main (void)
2. main (int argc, char *argv[])
3. main (int argc, char *argv[], char *envp[])

You are wrong. The 3rd version you give is non-standard (I think some
Unixen support it).


--
Nick Keighley

.



Relevant Pages

  • Re: How to get the signature of functions in dll file?
    ... dumpbin /exports mydll.dll ... AFAIK, there isn't any way to get the signatures unless you are well versed ... trick. ...
    (microsoft.public.vb.general.discussion)
  • private new void
    ... private new void Push ... public new objectname FunctionName() ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is this a bug in g++ or MSDEV?
    ... i only overwrite the: void talk; ... their signatures are different. ... > jesse wrote: ...
    (comp.lang.cpp)
  • Axis2 WSDL2Java
    ... When I execute the WSDL2Java command, I get the skeleton code, but the ... generated signatures are all void when they shouldn't be. ... and I just change the signatures as I ...
    (comp.lang.java.programmer)
  • Re: can you return a void function call?
    ... That's an error because "void" is a type, and you don't return types, you ... return int; // compiler error ... (CodeWarrior just says the signatures don't match, ...
    (comp.lang.cpp)