![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SED * operator | sinpeak | Shell Programming and Scripting | 7 | 12-24-2008 10:07 AM |
| Modulus operator | manash.paul | Shell Programming and Scripting | 5 | 11-07-2008 09:21 AM |
| ! operator in variable | mmunir | Shell Programming and Scripting | 1 | 05-30-2008 04:29 AM |
| Or operator with if | babom | HP-UX | 1 | 10-03-2007 04:56 PM |
| And operator | rcarnesiii | Shell Programming and Scripting | 4 | 08-04-2005 03:04 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
new operator
Hi,
Please clear the 2 questions, 2 Questions, 1) Why the new as a operator? Is there any special reason why it can't be a function like malloc? 2) How are we considering sizeof(),new are as a opearartors? I know + - * / -> , . etc.. are operators, which criteria satisfied by sizeof() since we are calling sizeof with function call operators "()". Thanks, Naga ![]() |
|
||||
|
because that was the fad when it was designed, to mix system-dependent, OS-dependent, and language-dependent things together into one glorious operator-overloadable mess. It cannot be a library function because such things don't have access to constructors and destructors, it has to be a language feature.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|