Wednesday, August 9, 2017

Digest for comp.lang.c++@googlegroups.com - 12 updates in 5 topics

Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Aug 09 10:14PM +0100

First page of documentation for my C++ GUI/game lib, neoGFX (coming soon):
 
http://neogfx.io/wiki/index.php/NeoGFX_C%2B%2B_Code_Naming_Convention
 
/Flibble
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Aug 10 12:48AM +0200

On 09.08.2017 23:14, Mr Flibble wrote:
> First page of documentation for my C++ GUI/game lib, neoGFX (coming soon):
 
> http://neogfx.io/wiki/index.php/NeoGFX_C%2B%2B_Code_Naming_Convention
 
I've almost stopped using prefix `p` for pointers.
 
Difficult to get rid of such habit!
 
Re your prefix `k` for constants: remember, one person's constant is
another's variable, and vice versa. The constness can change in maintenance.
 
 
Cheers!,
 
- Alf
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Aug 09 07:01PM +0100

On 08/08/2017 13:52, Daniel wrote:
 
>> If anything Flibble writes quite good code and uses reasonable names.
 
> I was thinking Flibble might use a different naming convention for the code
> that he contributes to Rick's project. Mere speculation, of course.
 
Ears burning. I haven't contributed any code to Rick's project(s) so I
have no idea what you are talking about. :|
 
/Flibble
kushal bhattacharya <bhattacharya.kushal4@gmail.com>: Aug 09 02:05AM -0700

Hi,
Is there any way to uuencode and uudecode via either the standard C++ library or some external libraries?Please point me out some valuable pointers here.
Thanks
scott@slp53.sl.home (Scott Lurndal): Aug 09 12:41PM

>Hi,
>Is there any way to uuencode and uudecode via either the standard C++ library or some external libraries?Please point me out some valuable pointers here.
>Thanks
 
http://numerical.recipes/utils/uudecode.c.txt
Jorgen Grahn <grahn+nntp@snipabacken.se>: Aug 09 12:47PM

On Wed, 2017-08-09, kushal bhattacharya wrote:
> Hi,
 
> Is there any way to uuencode and uudecode via either the standard
> C++ library or some external libraries?
 
It's not in the standard library. You have to google for more info
... I'm not sure any major library has bothered to implement it, but
you can probably copy an implementation from some source code with a
license which permits that.
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
kushal bhattacharya <bhattacharya.kushal4@gmail.com>: Aug 09 05:55AM -0700

On Wednesday, August 9, 2017 at 6:17:43 PM UTC+5:30, Jorgen Grahn wrote:
 
> --
> // Jorgen Grahn <grahn@ Oo o. . .
> \X/ snipabacken.se> O o .
 
thanks for the info :) so is there any difference between normal encoding and the uuencode format?
"Öö Tiib" <ootiib@hot.ee>: Aug 09 06:10AM -0700

On Wednesday, 9 August 2017 12:06:09 UTC+3, kushal bhattacharya wrote:
> Hi,
> Is there any way to uuencode and uudecode via either the standard C++
> library or some external libraries?
 
Not in standard library. These are simple functions and posix commands.
http://www8.cs.umu.se/~isak/snippets/uuencode.c
http://www8.cs.umu.se/~isak/snippets/uudecode.c
 
> Please point me out some valuable pointers here.
 
Usually it is Base64 encoding what is used to transfer binary bits
as text these days (and not uu encoding). When something
archaic is tried to be used then on at least 90% of cases it is some
cargo cult misuse because of misunderstanding of random text
that was read in internet. How is it on your case?
"Öö Tiib" <ootiib@hot.ee>: Aug 09 07:01AM -0700

On Wednesday, 9 August 2017 15:56:19 UTC+3, kushal bhattacharya wrote:
> > license which permits that.
 
> thanks for the info :) so is there any difference between normal encoding
> and the uuencode format?
 
What is "normal encoding"? The encoding of "normals" of 3D space or in
floating point have nothing to do with uuencode format.
kushal bhattacharya <bhattacharya.kushal4@gmail.com>: Aug 09 05:59AM -0700

Hi,
Is there any facility in c++,where suppose i have a function say do_something();
I want to get the compiled out of that function which has the related instruction within it including the error or warning message or the success message if that function was compiled correctly,Can i do that?
Thanks
"Öö Tiib" <ootiib@hot.ee>: Aug 09 06:47AM -0700

On Wednesday, 9 August 2017 15:59:22 UTC+3, kushal bhattacharya wrote:
> Hi,
> Is there any facility in c++,where suppose i have a function say do_something();
> I want to get the compiled out of that function which has the related instruction within it including the error or warning message or the success message if that function was compiled correctly,Can i do that?
 
AFAIK you can't request C++ compilers to compile just one function and nothing
else. The "compilation unit" of C++ is one file with everything that it does #include
preprocessed into it. But if you want to make such a tool then feel free. Lot of C++
compilers (including clang and g++) are open source.
kushal bhattacharya <bhattacharya.kushal4@gmail.com>: Aug 09 02:04AM -0700

On Sunday, August 6, 2017 at 1:36:20 PM UTC+5:30, 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?
 
hi got the solution actually i wanted to name a user say my_user to a program or the process which is started by me and later i can kill that process by that user. As @Marcel Mueller pointed out that it has to be done with the superuser and to be done when launching the executable
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: