Welcome, Guest. Please login or register.

Author Topic: I don't think I can learn C....  (Read 10413 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: I don't think I can learn C....
« Reply #59 from previous page: April 04, 2003, 11:27:08 AM »
Hey dude, I got my hair cut 2 years ago. My avatar image just old, that's all :-D

Actually, for C code, the comma operator is often useful in function-like macros that are supposed to 'return' a result and need to do several operations without ending the statement (ie with a semicolon).

A lot less useful in C++ where you just have an inline function.
int p; // A
 

Offline Agafaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1175
    • Show only replies by Agafaster
Re: I don't think I can learn C....
« Reply #60 on: April 04, 2003, 11:45:17 AM »
Cheers Karlos, thats reet canny !

Casper, I am a Greater English Longhair meself.
now I know this I am well on the way to being leet !
(though super-leet is a long way off- I sit on the 2nd floor coding in PL/1 on our Mainframe - not as much fun as C !)
\\"New Bruce here will be teaching Machiavelli, Bentham, Locke, Hobbes, Sutcliffe, Bradman, Lindwall, Miller, Hassett and Benaud.\\"
\\"Those are all cricketers, Bruce !\\"
A1XE G3/800MHz Radeon 7000 512MB
A1200 030/25MHz 8MB
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: I don't think I can learn C....
« Reply #61 on: April 04, 2003, 11:46:34 AM »
Reet canny :lol:

I'm homesick :cry:
int p; // A
 

Offline Agafaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1175
    • Show only replies by Agafaster
Re: I don't think I can learn C....
« Reply #62 on: April 04, 2003, 12:02:20 PM »
Quote

Karlos wrote:
Hey dude, I got my hair cut 2 years ago. My avatar image just old, that's all :-D


I havent - shame on you !

Quote

Actually, for C code, the comma operator is often useful in function-like macros that are supposed to 'return' a result and need to do several operations without ending the statement (ie with a semicolon).


Thats roughly what I guessed at - how useful is that ?! :-D
I'll have to mess about with it on me Handspring

Quote

A lot less useful in C++ where you just have an inline function.


I never really got to grips with C++.
it seems to overcomplicate a language based on simplicity and straightforward-ness (?!),
but then maybe I need to actually attempt to get something done in C++ rather than trying to pick up concepts from a book ! (from Bernard Babani)
\\"New Bruce here will be teaching Machiavelli, Bentham, Locke, Hobbes, Sutcliffe, Bradman, Lindwall, Miller, Hassett and Benaud.\\"
\\"Those are all cricketers, Bruce !\\"
A1XE G3/800MHz Radeon 7000 512MB
A1200 030/25MHz 8MB
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: I don't think I can learn C....
« Reply #63 on: April 04, 2003, 12:07:25 PM »
I had to cut me locks, man I wasn't getting hired!

Actually went to the other extreme for a bit ;-)

C++ is very cool and funky as long as yoi just don't dive in at the deep end with it - people look at the template driven STL stuff thats out there and go into cerebal meltdown.

Even without the OOP, there are many nice features you can use that aren't available in C (though the 1999 ISO standard does drag it up to date a bit).

Once you get into OOP though, you'll wonder how you did without it.

IMHO :-)
int p; // A
 

Offline Agafaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1175
    • Show only replies by Agafaster
Re: I don't think I can learn C....
« Reply #64 on: April 04, 2003, 12:10:06 PM »
So am I, even though its only 60 miles east of here...

Jus' get y'sel doon tha pub an' swally doon some o'that broon ale man.
Ye'll be aal reet after that !

(yes ! I learned everything I never needed to know about Novocastrian speak in Viz ! :-o
and having the p1ss taken by mates who were real geordies...  :-D )
\\"New Bruce here will be teaching Machiavelli, Bentham, Locke, Hobbes, Sutcliffe, Bradman, Lindwall, Miller, Hassett and Benaud.\\"
\\"Those are all cricketers, Bruce !\\"
A1XE G3/800MHz Radeon 7000 512MB
A1200 030/25MHz 8MB
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: I don't think I can learn C....
« Reply #65 on: April 04, 2003, 12:15:24 PM »
:lol:

This guy here at work (Venkman) used to work in a music shop of some sort - this geordie came in asking for speakers.
Check his signature - you'll see ;-)
int p; // A
 

Offline Agafaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1175
    • Show only replies by Agafaster
Re: I don't think I can learn C....
« Reply #66 on: April 04, 2003, 02:57:07 PM »
ooh. wasnt he in Ghostbusters ?
\\"New Bruce here will be teaching Machiavelli, Bentham, Locke, Hobbes, Sutcliffe, Bradman, Lindwall, Miller, Hassett and Benaud.\\"
\\"Those are all cricketers, Bruce !\\"
A1XE G3/800MHz Radeon 7000 512MB
A1200 030/25MHz 8MB
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: I don't think I can learn C....
« Reply #67 on: April 04, 2003, 03:03:03 PM »
He sure was...

But we know him better as P. H. Pete :-)
int p; // A