On Tuesday, 2 August 2016 at 16:21:07 UTC, Rufus Smith wrote:
How does one use C main? extern C?

extern(C) int main()

should do it
  • prolog and epilog code Rufus Smith via Digitalmars-d-learn
    • Re: prolog and epilog co... Steven Schveighoffer via Digitalmars-d-learn
      • Re: prolog and epilo... Rufus Smith via Digitalmars-d-learn
        • Re: prolog and e... Adam D. Ruppe via Digitalmars-d-learn
          • Re: prolog a... Rufus Smith via Digitalmars-d-learn
            • Re: pro... Adam D. Ruppe via Digitalmars-d-learn
              • Re:... Adam D. Ruppe via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
            • Re: pro... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... Rufus Smith via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
                • ... Rufus Smith via Digitalmars-d-learn
                • ... Rufus Smith via Digitalmars-d-learn

Reply via email to