GPGMe Question (possibly round 2)

Robert J. Hansen rjh at sixdemonbag.org
Mon Mar 28 23:08:05 CEST 2011


On Mon, 28 Mar 2011 15:29:01 -0500, Daniel Sullivan
<dansully at uchicago.edu>
wrote:
> This is my first posting to this list, I apologize if I am posting to
the
> wrong place.  If this email should be directed to a different email
address
> please let me know and I will make sure to bark up somebody else's tree.

Here or GnuPG-Users are good choices.  GnuPG-Users is probably a better
choice, but here works fine.

> Admittedly I am learning
> C++ at the same time I am doing this, so I am a newbie in many regards. 

C++ may be part of the problem.  Have you tried telling NetBeans this is a
straight C program?  (You will need to change your code for it to compile
as C: #include <cstdlib> should become #include <stdlib.h>, and you'll need
to remove #include <iostream> and the using statement.)

I would not recommend using C libraries if you're just beginning to learn
C++.  Modern C++ code is written in a vastly different style than C.  If
you're just learning C++ and you're linking against C, you're going to
effectively be trying to learn how to program in two different languages at
the same time.

Please don't think I'm trying to discourage you -- nothing of the sort. 
C++ and C are both worth learning.  It's just that trying to learn them
both at the same time will be a bit of a challenge.  :)

Best of luck!




More information about the Gnupg-devel mailing list