Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
5 crawler(s) on-line.
 98 guest(s) on-line.
 1 member(s) on-line.


 Rob

You are an anonymous user.
Register Now!
 Rob:  2 mins ago
 Gunnar:  12 mins ago
 outlawal2:  24 mins ago
 pixie:  55 mins ago
 Chris_Y:  1 hr 12 mins ago
 MichaelMerkel:  1 hr 13 mins ago
 Tpod:  1 hr 17 mins ago
 zipper:  1 hr 19 mins ago
 kolla:  1 hr 41 mins ago
 Deaths_Head:  1 hr 43 mins ago

/  Forum Index
   /  Amiga General Chat
      /  Amiga Inc. Loses U.S. Trademarks
Register To Post

PosterThread
bison 
Re: Cloanto acquire Amiga Inc Trademark
Posted on 18-Feb-2019 17:28:11
#1 ]
Elite Member
Joined: 18-Dec-2007
Posts: 2112
From: N-Space

@Jupp3

Quote:
With f.ex. member functions, in C++ you do:
obj->DoSomething(args);

instead of:
obj->DoSomething(obj, args);

(In other words, "this" pointer is automatically silently passed in C++)

Yes, I think this is right, and it always seems clunky to me. The leading "obj->" in "obj->DoSomething(obj, args)" is just syntactic sugar to make it look OO when it's really not. Having a function pointer inside a struct only gets us half way there; if the function doesn't "know" anything about the struct in which it is contained without explictly passing in a pointer, then it's not worth much.

Last edited by bison on 19-Feb-2019 at 09:38 PM.
Last edited by bison on 18-Feb-2019 at 05:41 PM.

_________________
"Unix is supposed to fix that." -- Jay Miner

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: Cloanto acquire Amiga Inc TrademarkSnorg18-Feb-2019 20:44:22
          Re: Cloanto acquire Amiga Inc Trademarknumber618-Feb-2019 21:33:29
              Re: Cloanto acquire Amiga Inc Trademarkmatthey18-Feb-2019 22:44:43
                  Re: Cloanto acquire Amiga Inc Trademarknumber618-Feb-2019 23:13:24
                      Re: Cloanto acquire Amiga Inc Trademarkcgutjahr19-Feb-2019 1:05:41
                          Re: Cloanto acquire Amiga Inc Trademarknumber619-Feb-2019 1:23:37
                              Re: Cloanto acquire Amiga Inc Trademarkkolla19-Feb-2019 6:17:16
                                  Re: Cloanto acquire Amiga Inc Trademarkhth31319-Feb-2019 7:00:47
                                  Re: Cloanto acquire Amiga Inc TrademarkOlafS2519-Feb-2019 8:38:06
                                      Re: Cloanto acquire Amiga Inc Trademarkkolla19-Feb-2019 10:58:43
                                          Re: Cloanto acquire Amiga Inc Trademarkmatthey19-Feb-2019 15:06:37
                                              Re: Cloanto acquire Amiga Inc TrademarkNonefornow19-Feb-2019 17:10:21
                                                  Re: Cloanto acquire Amiga Inc TrademarkNonefornow19-Feb-2019 17:49:34
                                                      Re: Cloanto acquire Amiga Inc Trademarknumber619-Feb-2019 17:57:32
                                                      Re: Cloanto acquire Amiga Inc Trademarkmatthey19-Feb-2019 19:43:16
                                                          Re: Cloanto acquire Amiga Inc Trademarknumber619-Feb-2019 19:55:53
                                                              Re: Cloanto acquire Amiga Inc TrademarkNonefornow19-Feb-2019 20:46:15
                                                                  Re: Cloanto acquire Amiga Inc Trademarknumber619-Feb-2019 21:30:11
                                                                  Re: Cloanto acquire Amiga Inc Trademarkcgutjahr19-Feb-2019 23:02:07
                                                                  Re: Cloanto acquire Amiga Inc. assetsaria25-Feb-2019 5:26:00
                                                                      Re: Cloanto acquire Amiga Inc. assetsgregthecanuck25-Feb-2019 10:58:21
                                                                      Re: Cloanto acquire Amiga Inc. assetsOlafS2525-Feb-2019 12:09:38
                                                                          Re: Cloanto acquire Amiga Inc. assetsmatthey25-Feb-2019 17:12:48
                                                                              Re: Cloanto acquire Amiga Inc. assetsNonefornow25-Feb-2019 18:27:53
                                                                          Re: Cloanto acquire Amiga Inc. assetsRob25-Feb-2019 20:33:20
                                                                              Re: Cloanto acquire Amiga Inc. assetsribdevil25-Feb-2019 20:42:45
                                                                                  Re: Cloanto acquire Amiga Inc. assetsBigD25-Feb-2019 21:40:37
                                                                                      Re: Cloanto acquire Amiga Inc. assetsNonefornow26-Feb-2019 15:47:42
                                                                                          Re: Cloanto acquire Amiga Inc. assetsHypex26-Feb-2019 16:14:11
                                                                                          Re: Cloanto acquire Amiga Inc. assetsPetah26-Feb-2019 23:39:09
                                                                                  Re: Cloanto acquire Amiga Inc. assetsmegol25-Feb-2019 22:02:02
                                                                                  Re: Cloanto acquire Amiga Inc. assetskolla26-Feb-2019 4:58:50
                                                                                      Re: Cloanto acquire Amiga Inc. assetsOlafS2526-Feb-2019 8:43:46
                                                                                  Re: Cloanto acquire Amiga Inc. assetsPetah26-Feb-2019 13:28:37
                                                                                      Re: Cloanto acquire Amiga Inc. assetsBigD26-Feb-2019 14:01:57
                                                                                          Re: Cloanto acquire Amiga Inc. assetsLou26-Feb-2019 14:18:12
                                                                      Re: Cloanto acquire Amiga Inc. assetsnumber625-Feb-2019 14:17:08
                                                          Re: Cloanto acquire Amiga Inc TrademarkSnorg19-Feb-2019 21:24:32
                      Re: Cloanto acquire Amiga Inc TrademarkSnorg19-Feb-2019 8:22:07
      Re: Cloanto acquire Amiga Inc TrademarkJupp319-Feb-2019 20:32:39
          Re: Cloanto acquire Amiga Inc Trademarkbison19-Feb-2019 21:37:30
              Re: Cloanto acquire Amiga Inc TrademarkHypex20-Feb-2019 15:47:34
                  Re: Cloanto acquire Amiga Inc TrademarkDiscreetFX23-Feb-2019 13:57:42
                      Re: Cloanto acquire Amiga Inc TrademarkOlafS2523-Feb-2019 14:25:31
                          Re: Cloanto acquire Amiga Inc TrademarkDiscreetFX23-Feb-2019 14:32:36
                              Re: Cloanto acquire Amiga Inc TrademarkOlafS2523-Feb-2019 14:41:37
                      Re: Cloanto acquire Amiga Inc TrademarkNonefornow23-Feb-2019 18:21:03
                          Re: Cloanto acquire Amiga Inc TrademarkBigD23-Feb-2019 22:26:44
                              Re: Cloanto acquire Amiga Inc TrademarkDiscreetFX24-Feb-2019 10:42:07
                                  Re: Cloanto acquire Amiga Inc Trademarkkolla24-Feb-2019 12:33:16
                                      Re: Cloanto acquire Amiga Inc Trademarkne_one24-Feb-2019 19:13:06
                                          Re: Cloanto acquire Amiga Inc Trademarkkolla24-Feb-2019 19:42:54
                                          Re: Cloanto acquire Amiga Inc Trademarkmatthey24-Feb-2019 22:57:45
                                              Re: Cloanto acquire Amiga Inc TrademarkDiscreetFX24-Feb-2019 23:30:17
                                                  Re: Cloanto acquire Amiga Inc TrademarkOlafS2525-Feb-2019 12:05:43
                                                      Re: Cloanto acquire Amiga Inc TrademarkDiscreetFX25-Feb-2019 16:42:21
                                          Re: Cloanto acquire Amiga Inc Trademarkmuyuu26-Feb-2019 15:32:34
                                              Re: Cloanto acquire Amiga Inc TrademarkNonefornow26-Feb-2019 15:43:29
                                                  Re: Cloanto acquire Amiga Inc Trademarkmuyuu26-Feb-2019 18:04:13
                                                  Re: Cloanto acquire Amiga Inc TrademarkDave7326-Feb-2019 18:10:17
                                                      Re: Cloanto acquire Amiga Inc TrademarkLou26-Feb-2019 18:14:44
                                                      Re: Cloanto acquire Amiga Inc TrademarkNonefornow26-Feb-2019 18:31:56
                                                          Re: Cloanto acquire Amiga Inc TrademarkDiscreetFX26-Feb-2019 20:09:04
                                                          Re: Cloanto acquire Amiga Inc Trademarkpavlor26-Feb-2019 20:15:32
                                                          Re: Cloanto acquire Amiga Inc Trademarkmuyuu26-Feb-2019 22:25:32
                                  Re: Cloanto acquire Amiga Inc TrademarkKronos24-Feb-2019 12:33:33
                                      Re: Cloanto acquire Amiga Inc TrademarkBigD24-Feb-2019 17:13:40
                                          Re: Cloanto acquire Amiga Inc TrademarkKronos24-Feb-2019 19:44:18
              Re: Cloanto acquire Amiga Inc Trademarknumber624-Feb-2019 17:21:41


PosterThread
hth313 
Re: Cloanto acquire Amiga Inc Trademark
Posted on 18-Feb-2019 16:56:16
#1 ]
Regular Member
Joined: 29-May-2018
Posts: 159
From: Delta, Canada

@Jupp3

I would like to add that from an object point of view, the biggest difference is that C++ allows you to use operators to act on objects, which is not possible in C. This can make using the objects more straightforward.

This has the flip side that you can no longer look at the code and have a gut feeling about what it does in terms of efficiency. Seemingly innocent pointer access or addition may no longer be a rather basic operation with C++, it may instead be a very expensive operation that can do essentially anything, including accessing a file or open a connection over the network.

 Status: Offline
Profile     Report this post  
 Top | Parent



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle