Talk:C++/Archive 3

message: I am not sure that PHP was influenced by C++, although PHP5 is now leaning towards that direction. PHP until version 5 had no method of overloading operators, overloading functions, strongly typed variables, and remains completely interpreted.
PHP has no sensible OOP-style programming model before PHP5, and has no try..catch methods.
I conclude that if PHP is, in fact, based on C++, since it rejects so many of these major advances by the C++ foundation, that it is, in fact based on C, and not C++. {{subst:unsigned|129.31.85.158 }
:Well, PHP4 had a C++ style class declaration (I don't know if it has similar semantics, though). But yes, I agree that the influence is rather tentative. Keeping in mind WP:OR, soes anybody have references for or against? Something from the PHP web site maybe?--Stephan Schulz 07:34, 10 October 2006 (UTC)
replies: text: if you want to claim something like this you need a reference. Concluding it yourself is a nono. --MarSch 15:30, 3 December 2006 (UTC)
thread_title:  PHP influenced by C++? 

message: Somebody has written "I don't know c+++++++ how can i edit?" under 'Templates.' Please remove.
:.  --Yamla 16:54, 6 November 2006 (UTC)
thread_title:  Vandalised. 

message: I am under the impression that the canonical starting program (at least in g++) is actually
int main(int argc, char* argv[]) {}
with the arguments being the command-line parameters passed to the application. This is more likely to be what a user or someone interested in C++ would see; perhaps the "minimal program" should have them added? One might say that this isn't quite a "minimal program," but it's what would actually be seen...I don't know. Thoughts? Ed Ropple - Blacken - (Talk) 22:06, 9 November 2006 (UTC)
thread_title:  arguments? 

message: The article begins, "C++ (pronounced the way it looks) is a ..."  But how does it look?  C plus plus?  C double plus?  C positive positive?  C double positive?  I'm deleting this until somebody can come up with a citation. Patiwat 21:31, 5 December 2006 (UTC)
replies: text: The IPA clearly distinguishes between all possibilities mentioned by Patiwat. What more info would "See plus plus" add? --MarSch 14:43, 5 January 2007 (UTC)
replies: text: Well, in my browser, the IPA is just a bunch of boxes - I probably don't have all the fonts required by IPA. But even if all the characters were there, I suspect it would be much less clear than a simple "C plus plus". I think IPA is overkill in this case, since the name C++ is composed of very simple English words. Though I'm not going to change it if there is opposition. ATren 15:25, 5 January 2007 (UTC)
replies: text: I'm adding "pronounced C-plus-plus" in addition to the IPA, and we'll see if that sticks. ATren 17:19, 12 January 2007 (UTC)
replies: text: Agree. "pronoucing the way it looks" is not as good as the previous version imo. --Deryck C. 08:55, 13 January 2007 (UTC)
thread_title:  C++: Pronounced the way it looks? 

message: The article contains a 'citation needed' notice for a sentence claiming C++ isn't LALR(1).  I don't have a citation, but I think the following (presented in a different manner, one would hope!) would demonstrate one parse ambiguity:
 #if 1
 typedef int* Ambiguous;
 #else
 int Ambiguous = 3;
 #endif
 
 int val = 4;
 
 #if 1
 int*
 #else
 int
 #endif
 test()
 {
   return (Ambiguous) & (val);
 }
Waldo 00:46, 6 December 2006 (UTC)
replies: text: you're mixing preprocessor stuff with the C++ stuff. The parsing problem is about pure C++. The ref in a sentence earlier says the LALR(1) stuff, I think, so I removed the {fact}. --MarSch 17:51, 6 December 2006 (UTC)
thread_title:  C++ not LALR(1) 

message: All return values but EXIT_FAILURE, EXIT_SUCCESS and 0 invoke implementation-defined behavior according to the standard. Just changed the article. —The preceding unsigned comment was added by 88.76.234.183 (talk • contribs) 22:36, 24 January 2007  (UTC1)
:Although the C++ standard does not require a return value of 0, an error will be returned to the operating system whenever the return value of int main() is not 0. All non-zero values will be treated as runtime error. Moreover, most compilers (including G++) doesn't allow void as the main() return type. --Deryck C. 09:06, 25 January 2007 (UTC)
thread_title:  int main() 

message: sometimes when i search C++ it sends me to a never-ending redirect of itself (ie with no page content). but not always?. i'm not sure how to fix it or why it happens but i thought i'd bring it up..
:some joker made the page a redirect to itself for a while. Maybe it was just that. --MarSch 17:18, 31 January 2007 (UTC)
thread_title:  neverending redirect.