you can use _start function in c and then compile with gcc -nostartfile On Mon, Sep 19, 2011 at 2:39 PM, Prakash D <[email protected]> wrote:
> in c/c++ > without main function how to write a compilable code? > for example printing a string > > > On Tue, Sep 20, 2011 at 12:15 AM, hary rathor <[email protected]>wrote: > >> use #pragma in c . >> static block in java . >> >> by the way which lang you are talking about ? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
