- "Death to C, ++" - 6 Updates
- Jesus Christ Rescuer Of All Who Will Be Rescued - 7 Updates
- attaching process of the program to a given custom defined user in Linux - 3 Updates
- implicit conversions and parameter packs - 1 Update
Jerry Stuckle <jstucklex@attglobal.net>: Aug 05 11:09PM -0400 On 8/5/2017 2:33 PM, Mr Flibble wrote: > How it is implemented "under the hood" is irrelevant as far as high > level language abstractions are concerned and the abstraction Java uses > is the pointer. Ah, but it is very important. A pointer identifies a specific location in memory. A handle identifies a resource - which may be relocatable. > another language. Nobody claimed you could set a Java pointer to a > physical address but you can set it to point at an object or you can set > it to null. Nope. You're the one saying Java has pointers - which means it points to a specific location in memory. So why can't you set that location yourself? > As well as being fractally wrong you are also fractally obtuse. > Deal with it. > /Flibble And you have once again proven you know nothing about what you speak - but you have to continue to make a fool of yourself, anyway. Deal with it. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ================== |
SG <s.gesemann@gmail.com>: Aug 05 09:46PM -0700 Am Samstag, 5. August 2017 05:01:29 UTC+2 schrieb Jerry Stuckle: > > From section 4.3.1 of the Java Language Specification (v8): > > "The reference values (often just references) are pointers to these > > objects" Flibble, you know that this is the only occurence in the spec of the words "pointer" or "pointers" (not counting "NullPointerException"). That's hardly a good enough reason to "correct" me in my use of the word "reference" given that the spec uses the term reference even including "null reference" everywhere else. You're just trolling. The distinction doesn't really matter in Java. > No, you don't understand what they are saying. C++ has both references > and pointers. Java references act like C++ references. Jerry, of course we can compare C++ pointers and C++ references to Java references. Yes, a Java reference (or rather Java's dot operator) implicitly dereferences if you want to access an object's member. But just like C++ pointers Java references can be reassigned and even be null. Anyhow, words mean different things in different contexts. And context matters. I'll stick to Java terminology in the context of Java. I can't believe we're even talking about something as boring and irrelevant as this. So, did any of you guys actually try Rust yet? :) SG |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Aug 06 03:16PM +0100 On 06/08/2017 04:09, Jerry Stuckle wrote: > Nope. You're the one saying Java has pointers - which means it points > to a specific location in memory. So why can't you set that location > yourself? Wrong. Java uses pointers; deal with it. /Flibble |
Daniel <danielaparker@gmail.com>: Aug 06 07:54AM -0700 On Sunday, August 6, 2017 at 12:47:20 AM UTC-4, SG wrote: > Flibble, you know that this is the only occurence in the spec of the > words "pointer" or "pointers" (not counting "NullPointerException"). But it's a well known fact, well known to Mr Flibble, that language specifications always hide their deepest and darkest meanings in the naming of exception classes. > I'll stick to Java terminology in the context of Java. Interesting idea. Weird, almost. > I can't believe we're even talking about something as boring and > irrelevant as this. Just so. |
Jorgen Grahn <grahn+nntp@snipabacken.se>: Aug 06 06:57PM On Sun, 2017-08-06, SG wrote: ... > I can't believe we're even talking about something as boring and > irrelevant as this. That summarizes my feeling about most of c.l.c++, for the past several years. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
Jerry Stuckle <jstucklex@attglobal.net>: Aug 06 03:24PM -0400 On 8/6/2017 10:16 AM, Mr Flibble wrote: >> yourself? > Wrong. Java uses pointers; deal with it. > /Flibble Then show me how you can set a Java "pointer" to 0x12345678. But you can't. All you know about Java is you read a couple of pages of a tutorial, and now you think you're an expert. You're right on one thing - you are an ex (has been) spurt (drip under pressure). -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ================== |
"Tristan B. Kildaire" <deavmi@disroot.org>: Aug 06 02:40PM +0200 On 2017-07-24 02:14 PM, Rick C. Hodgin wrote: > eternity more than He wants to judge you for sin. > Thank you, > Rick C. Hodgin I looked for the meaning of life and I got a null pointer exception. |
Melzzzzz <Melzzzzz@zzzzz.com>: Aug 06 12:52PM >> Thank you, >> Rick C. Hodgin > I looked for the meaning of life and I got a null pointer exception. For Rick, meaning of life is to spew a shit across technical newsgroups... -- press any key to continue or any other to quit... |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 06 05:55AM -0700 Tristan B. Kildaire wrote: > I looked for the meaning of life and I got a null pointer exception. Apply some debugging ... your search algorithm is still flawed. Thank you, Rick C. Hodgin |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 06 06:01AM -0700 Melzzzzz wrote: > For Rick, meaning of life is to spew a .. across technical newsgroups... It is you who did that, Melzzzzz. I point you to eternal life in the paradise of Heaven with God forever in a body like the angels, beautiful, strong, never ages or tires, with unlimited resources to express yourself fully in God's vast universe. Jesus alone makes this possible, so I take time and teach you about Him, asking you to go to Him and prove it all out for yourself. Compare that teaching to your disparaging me and using profanity and see for yourself who's who by our fruit. Thank you, Rick C. Hodgin |
Melzzzzz <Melzzzzz@zzzzz.com>: Aug 06 02:31PM > Him, asking you to go to Him and prove it all out for yourself. > Compare that teaching to your disparaging me and using profanity > and see for yourself who's who by our fruit. You will die Rick, so do I. There is no Heaven in the sky, Hell does not wait for our dawnfall (LEmmy ). There is no God, no Angels, nothing. Once you realize that, you will spend rest of your life to do something usefull, instead to spew shit all over the place. > Thank you, > Rick C. Hodgin You will thank me later, sure. -- press any key to continue or any other to quit... |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 06 09:23AM -0700 Melzzzzz, I'll let the Bible speak for me: http://biblehub.com/revelation/20-15.htm 15 And whosoever was not found written in the (1)book of life was cast into the (2)lake of fire. If you have issue with my posts, your real root issue is with God, because I teach what He gave us accurately. In that one passage above: (1) Lamb's Book of Life http://biblehub.com/revelation/21-27.htm (2) Lake of Fire http://biblehub.com/revelation/20-14.htm There is no coming back from that. Praying for you, Rick C. Hodgin |
Jorgen Grahn <grahn+nntp@snipabacken.se>: Aug 06 07:14PM On Sun, 2017-08-06, Tristan B. Kildaire wrote: ... > I looked for the meaning of life and I got a null pointer exception. You were using Java to try to find the meaning of life? Did you remember to first download at least a dozen random Github projects with nonsense names? /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
kushal bhattacharya <bhattacharya.kushal4@gmail.com>: Aug 06 01:05AM -0700 hi, Is there a way in C ,C++ or by terminal itself ,to attach the process asscociated with the program with a custom defined user? |
Marcel Mueller <news.5.maazl@spamgourmet.org>: Aug 06 10:23AM +0200 On 06.08.17 10.05, kushal bhattacharya wrote: > hi, > Is there a way in C ,C++ or by terminal itself ,to attach the process asscociated with the program with a custom defined user? C++ has no idea of the term 'user'. But in Linux systems the command 'su' will do the job. You will need either superuser privilege or the user's password. Marcel |
Jorgen Grahn <grahn+nntp@snipabacken.se>: Aug 06 07:01PM On Sun, 2017-08-06, kushal bhattacharya wrote: > hi, Is there a way in C ,C++ or by terminal itself ,to attach the > process asscociated with the program with a custom defined user? I cannot understand your question; please explain the problem more clearly. Perhaps it would help to be more concrete. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
Barry Schwarz <schwarzb@dqel.com>: Aug 06 02:30AM -0700 On Sat, 05 Aug 2017 18:42:46 +0200, Marcel Mueller >Just tested, it does. With two distinct parameter packs you can pass >whatever you want, e.g. errno. This will crash the program. So it is not >an option. It crashes the program because printMessage is calling printf with a format string that specified %s and %s. However, the variadic arguments passed to printf have type char* and int. Passing an int when printf expects a char* causes undefined behavior. Again, this has nothing to do with implicit conversions. Some compilers match printf arguments against the conversion specifications in the format string. If yours did so, it would have reported that int is incompatible with the second %s. >a member function for every future function that deals with the template >and the matching parameters. (This is the idea behind the scenes, to >have different implementations.) Yes but one of the programmer's responsibilities is to insure that the code generated when an instance of the template function is created is valid for the arguments actually passed. It is possible to call many functions with arguments that are invalid but cannot be detected by the compiler. -- Remove del for email |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment