Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33830 Details for
Bug 54741
gnustep-base/gnustep-make-1.9.2 (New and Updated package).
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
This is a small Obective-C program that is used to test if gcc was compiled with Objective-C support.
helloworld.m (text/plain), 1004 bytes, created by
Armando Di Cianno (RETIRED)
on 2004-06-22 07:36:21 UTC
(
hide
)
Description:
This is a small Obective-C program that is used to test if gcc was compiled with Objective-C support.
Filename:
MIME Type:
Creator:
Armando Di Cianno (RETIRED)
Created:
2004-06-22 07:36:21 UTC
Size:
1004 bytes
patch
obsolete
>/** > * This example taken from the tutorial at: > * http://gnustep.made-it.com/GSPT/xml/Tutorial_en.html > * > <quote> > A GNUstep Programming Tutorial > Time is on our side... > Yen-Ju Chen > Dennis Leeuw > > Copyright © 2003 Yen-Ju Chen, Dennis Leeuw > > Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. > </quote> > */ > >#include <objc/Object.h> > >@interface Greeter:Object >{ > /* This is left empty on purpose: > ** Normally instance variables would be declared here, > ** but these are not used in our example. > */ >} > >- (void)greet; > >@end > >#include <stdio.h> > >@implementation Greeter > >- (void)greet >{ > printf("Hello, World!\n"); >} > >@end > >#include <stdlib.h> > >int main(void) >{ > id myGreeter; > myGreeter=[Greeter new]; > > [myGreeter greet]; > > [myGreeter free]; > return EXIT_SUCCESS; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 54741
:
33829
| 33830 |
34295