Welcome, Guest. Please login or register.

Author Topic: Beginners 'C' programing group  (Read 13060 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show all replies
Re: Beginners 'C' programing group
« on: February 12, 2004, 11:01:47 PM »
Quote

Piru wrote:
Right. Here's the correct one:

#include
#include

int main(void)
{
printf("hello world\n");
return EXIT_SUCCESS;
}


I would have returned zero at the end... bad?
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show all replies
Re: Beginners 'C' programing group
« Reply #1 on: February 13, 2004, 12:29:51 AM »
Maybe the reason so much Windows software is a fat mess is down to programmers who don't understand what the functions they are calling do at a basic level.
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show all replies
Re: Beginners 'C' programing group
« Reply #2 on: February 13, 2004, 01:29:09 AM »
@red

I was thinking the same as the thread unfolded. It could be a very positive thing to have out in the open, readily available...
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show all replies
Re: Beginners 'C' programing group
« Reply #3 on: February 13, 2004, 01:45:47 AM »
Hmm, yes that's one point against. ;-)

Maybe some cross-polination is in order.

(Wonder what Cyberus will be able to read into that comment?)
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show all replies
Re: Beginners 'C' programing group
« Reply #4 on: February 13, 2004, 02:13:11 AM »
Could be a problem with posting code on the forum though. Particulary anything with square brackets or nested code where tabbing is necessary for clarification.