Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Char * question

Reply
Thread Tools

Char * question

 
 
Emmanuel Delahaye
Guest
Posts: n/a
 
      12-26-2005
Keith Thompson a écrit :
> In my opinion, C99's new rule that falling off the end of main() is
> equivalent to "return 0;" is best ignored. Just always return a
> value, and your code will be valid under any standard.


Agreed.

--
A+

Emmanuel Delahaye
 
Reply With Quote
 
 
 
 
Randy Howard
Guest
Posts: n/a
 
      12-27-2005
Joe Wright wrote
(in article <R9SdnTcW9KeU9i3eRVn->):

> Randy Howard wrote:
>> Richard Heathfield wrote
>> (in article
>> <dop4ul$dll$>):
>>
>>
>>> Chad said:
>>>
>>>
>>>> Wow! So it takes others more than 2 years to get a full grasp over the
>>>> language?
>>>
>>> Oh yes. And, in some cases, much much much much much much much much much
>>> much much much much much much much much much much much much much longer.

>>
>>
>> We've actually seen examples in this very newsgroup of people
>> with exposure to C since almost its invention that still do not
>> understand it well at all.
>>
>>

> That would suggest a list of people. I wonder if I'm on it?


Actually, I thought I was down the hall in comp.programming when
I wrote that. There are not that many examples of "old timers"
here with that problem, and I certainly didn't aim it at you.

> A number of
> people do show significant growth however, our friend pete among them. I
> am concerned about several others, who shall remain nameless here.
>
> Chris Torek is coming along nicely.


Exceptionally well, yes.


--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw





 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(const char *cp) and (char *p) are consistent type, (const char **cpp) and (char **pp) are not consistent lovecreatesbeauty C Programming 1 05-09-2006 08:01 AM
/usr/bin/ld: ../../dist/lib/libjsdombase_s.a(BlockGrouper.o)(.text+0x98): unresolvable relocation against symbol `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostre silverburgh.meryl@gmail.com C++ 3 03-09-2006 12:14 AM
char *fred; char * fred; char *fred; any difference? Ben Pfaff C Programming 5 01-17-2004 07:37 PM
The difference between char a[6] and char *p=new char[6] ? wwj C Programming 24 11-07-2003 05:27 PM
the difference between char a[6] and char *p=new char[6] . wwj C++ 7 11-05-2003 12:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57