Friday, April 10, 2020

Digest for comp.lang.c++@googlegroups.com - 9 updates in 3 topics

Ian Collins <ian-news@hotmail.com>: Apr 10 11:26AM +1200

On 10/04/2020 02:20, Γ–ΓΆ Tiib wrote:
> that assignments must be bland and uninspiring to extreme?
> This felt like assignment from novice level scholar, advanced
> use concepts of "foo" and "bar" to maximize on it.
 
Would any C++ class endorse using char* for a name class member?
 
--
Ian.
Jorgen Grahn <grahn+nntp@snipabacken.se>: Apr 10 05:10AM

On Thu, 2020-04-09, Ian Collins wrote:
>> This felt like assignment from novice level scholar, advanced
>> use concepts of "foo" and "bar" to maximize on it.
 
> Would any C++ class endorse using char* for a name class member?
 
The code had an early 1990s feel to it in general, so that part
didn't seem so unusual.
 
A teacher stuck in the past feels like a fairly likely explanation.
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
"Γ–ΓΆ Tiib" <ootiib@hot.ee>: Apr 09 10:23PM -0700

On Friday, 10 April 2020 08:10:22 UTC+3, Jorgen Grahn wrote:
 
> The code had an early 1990s feel to it in general, so that part
> didn't seem so unusual.
 
> A teacher stuck in the past feels like a fairly likely explanation.
 
Judging by some stack overflow questions C++ curriculum in (at least
some parts of) India still involves things like <conio.h>,
<iostream.h> and Borland C.
Juha Nieminen <nospam@thanks.invalid>: Apr 10 09:29PM

> Judging by some stack overflow questions C++ curriculum in (at least
> some parts of) India still involves things like <conio.h>,
> <iostream.h> and Borland C.
 
There are surprisingly many servers out there that are, for some
reason, stuck with gcc 4.
 
Of course even that is miles more modern than Borland C for DOS.
Jorgen Grahn <grahn+nntp@snipabacken.se>: Apr 10 10:21PM

On Fri, 2020-04-10, Juha Nieminen wrote:
>> <iostream.h> and Borland C.
 
> There are surprisingly many servers out there that are, for some
> reason, stuck with gcc 4.
 
gcc 4 is the default compiler in RedHat <mumble> 7, and 8 was only
fairly recently out. That may be part of the reason.
 
#7 came in 2014 I believe.
 
> Of course even that is miles more modern than Borland C for DOS.
 
Yes, gcc 4 has fairly/nearly complete C++11 support, and doesn't
really cripple your designs. (Except notably std::regex is broken.)
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Apr 10 08:50PM +0100

This weekend I will be implementing game controller support (joysticks/gamepad/console controllers) in neoGFX.
 
#cpp #gamedev #coding #neoGFX
 
https://pastebin.com/8GCGKKFi
 
That is all.
 
/Flibble
 
--
"Snakes didn't evolve, instead talking snakes with legs changed into snakes." - Rick C. Hodgin
 
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who doesn't believe in any God the most. Oh, no..wait.. that never happens." – Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are confronted by God," Byrne asked on his show The Meaning of Life. "What will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a world that is so full of injustice and pain. That's what I would say."
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Apr 10 09:51PM +0100

On 10/04/2020 20:50, Mr Flibble wrote:
 
> #cpp #gamedev #coding #neoGFX
 
> https://pastebin.com/8GCGKKFi
 
> That is all.
 
A more permanent link: https://github.com/i42output/neoGFX/blob/master/include/neogfx/hid/i_game_controller.hpp
 
/Flibble
 
--
"Snakes didn't evolve, instead talking snakes with legs changed into snakes." - Rick C. Hodgin
 
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who doesn't believe in any God the most. Oh, no..wait.. that never happens." – Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are confronted by God," Byrne asked on his show The Meaning of Life. "What will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a world that is so full of injustice and pain. That's what I would say."
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Apr 10 02:03PM -0700

On 4/10/2020 1:51 PM, Mr Flibble wrote:
>> (joysticks/gamepad/console controllers) in neoGFX.
 
>> #cpp #gamedev #coding #neoGFX
 
>> https://pastebin.com/8GCGKKFi
 
 
Fwiw, here is the raw link, pure text, no ads:
 
https://pastebin.com/raw/8GCGKKFi
 
:^)
 
Sam <sam@email-scan.com>: Apr 10 12:06AM -0400

Frederick Gotham writes:
 
> libMonkey.so: undefined reference to `log_info'
> collect2: error: ld returned 1 exit status
 
> I've never seen a linker do this before.
 
This happens to be the most common linking failure error.
 
> Any got a clue what's going on?
 
Code in libMonkey.so is referencing those symbols, which are nowhere to be
found. You have to figure out where they are defined, and then figure out
why it's not getting linked correctly.
 
That's pretty much it. There aren't really that many different ways of
explaining what "undefined reference" means. It always means one thing:
undefined reference.
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: