Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Started a presentation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Antóin Óg Ó Cuinneagáin  
View profile  
 More options Oct 4 2011, 12:29 pm
From: Antóin Óg Ó Cuinneagáin <anthony.cunning...@gmail.com>
Date: Tue, 4 Oct 2011 17:29:13 +0100
Local: Tues, Oct 4 2011 12:29 pm
Subject: Started a presentation

Very basic and the going is slow but will get there eventually
https://docs.google.com/present/edit?id=0AZNgFR-wWJahYWpnbnp0ZGo5OHc0...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Duncan Thomas  
View profile  
 More options Oct 4 2011, 12:43 pm
From: Duncan Thomas <duncan.tho...@gmail.com>
Date: Tue, 4 Oct 2011 17:43:05 +0100
Local: Tues, Oct 4 2011 12:43 pm
Subject: Re: Started a presentation
A link I usually pass around when looking at why main is 'int main(int
argc, char *argv[])'
http://users.aber.ac.uk/auj/voidmain.shtml

I've also a rant on why casting the return value of malloc is always
the wrong thing to do somewhere, which I'll try to dig out

2011/10/4 Antóin Óg Ó Cuinneagáin <anthony.cunning...@gmail.com>:

> Very basic and the going is slow but will get there eventually
> https://docs.google.com/present/edit?id=0AZNgFR-wWJahYWpnbnp0ZGo5OHc0...

--
Duncan Thomas

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antóin Óg Ó Cuinneagáin  
View profile  
 More options Oct 4 2011, 1:01 pm
From: Antóin Óg Ó Cuinneagáin <anthony.cunning...@gmail.com>
Date: Tue, 4 Oct 2011 18:01:31 +0100
Local: Tues, Oct 4 2011 1:01 pm
Subject: Re: Started a presentation
My next slide was gonna be solving all the warnings and moving forward
with the default 'template' of

#include <stdio.h>

int main(){
  return 0; //for success

}

No nasty non standard from me I assure you :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Duncan Thomas  
View profile  
 More options Oct 4 2011, 1:21 pm
From: Duncan Thomas <duncan.tho...@gmail.com>
Date: Tue, 4 Oct 2011 18:21:00 +0100
Subject: Re: Started a presentation
While it isn't /categorically required/ by the standard, it is
generally good practice to use

int main(void)

or

int main(int argc, char *argv[])

not

int main()

refs:
http://stackoverflow.com/questions/1765686/correctly-declaring-the-ma...
http://c-faq.com/ansi/maindecl.html
http://c-faq.com/ansi/voidmain.pjp.html
http://www.eskimo.com/~scs/readings/voidmain.960823.html

2011/10/4 Antóin Óg Ó Cuinneagáin <anthony.cunning...@gmail.com>:

--
Duncan Thomas

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »