I am still learning to work properly with a framework to build up a GUI. I am
learning wxwidgets but I am really bored by wxwidgets MACROS and
old-style-looking programming, so I was wondering about gtkmm.
How hard is it to learn and debug?
Praise
I'd greatly appreciate finding an algorithm for sampling the Generalized
Gamma distribution as defined in the following site:
http://www.weibull.com/LifeDataWeb/generalized_gamma_probability_density_fu…
Please, note that for me the parameter BETA is vital and must be equal
to 2.
I have an algoriythm for sampling a canonical Gamma deviste with BETA =1
but this does not solve my problem.
Thank you in advance.
MEM
I define the constant string. Then i want to compare string from file with this constant string. The file contain many line. Each line contain string and integer. It must search the same string with the string that defined before, so i can get tha value of integer to execute.
This is the example of file contain:
Tom 30
Mike 40
Ivan 35
etc....
What must i do? thanks before.
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I want to try my hand at OpenGL using C++. I know the basics of the vector
math (quaternions are still a bit beyond my grasp), and I've been doing my
best to learn C++ over the past few months. Is there a good rapid-fire
introduction to OpenGL using C++? I'm still using SuSE 9.0. Using tools
from the distribution would be ideal.
STH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD4DBQFAedRZwX61+IL0QsMRAv4WAJ9Zf4dMr6JeK19MiSMwk0dmq8lVnACY73+W
axi373Bw71BP4INq50MF8w==
=FoUI
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
with curses. I use kdevelop3.2 with kde 3.2 and gcc 3.3 prerelease. I
have updated ld.so.conf and within kdevelop I have set the ccflags to
- -L/usr/lib/curses/curses but I still get an undefined for initsrc().
I've searched google, but couldn't find anything.
Any ideas would be appreciated..
- --
Adolph & Sharon Weidanz
S/V Time To Paws
43' 1978 Endeavour Ketch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFAY4j5lC+PSm9+eB0RAqnqAJ9KvmOPZFnzRmAz6VoDaFwWz7I6rwCeNgJt
TaYFusDQdGrxbkxGHzfaMuU=
=7Toq
-----END PGP SIGNATURE-----
Is there a library or development environment equivalent to IDL
(http://www.floating.co.uk/idl/)
supported by Linux/SuSE or Linux in general ?
I'm particularly interested in BioMedical Imaging development.
I'd rather discard any package that runs on top of Windows !!!
Thank you very much.
MEM
Örn Hansen wrote:
>torsdag 01 april 2004 01:18 skrev du:
>
>
> <snip>
>
> These are "C" heders, and not C++ headers. Use their C++ counterpart, and
>for those you really need ...
>
>extern "C" {
>
>#include <dos.h>
>
>};
>
>#include <cstdio>
>#include <cstdlib>
>#include <cstring>
>#include <cctype> or <cwctype>
>#include <ctime>
>#include <iostream>
>#include <cmath>
>
>.
>.
>.
>
>
Thanks to all for their comments. I will give these suggestions a try.
I was unaware that these were C and not C++ headers to I will start there.
Thanks again,
DC
I hope this is not a totally ignorant/stupid question, but please help
me get started.
I am fairly new to C++, brand new to C++ in *nix, and brand new to
kdevelop. I am trying to get started with a file that a friend gave me
and am unable to compile it.
Hear is the #include section of the file:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <alloc.h>
#include <io.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <math.h>
#include <sys/utsname.h>
#include <search.h>
#include <memory.h>
#include <dir.h>
#include <dos.h>
#include "ri40file.hpp"
and here are the compiler ouput messages that I am getting:
*cd "/home/big_bear/rid_dev/cpp/wmc/ptcdump/debug/src" &&
WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k ptcdump.lo
*if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I/home/big_bear/rid_dev/cpp/wmc/ptcdump/src -I.. -O0 -g3 -MT ptcdump.lo
-MD -MP -MF ".deps/ptcdump.Tpo" -c -o ptcdump.lo `test -f
'/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp' || echo
'/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/'`/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp;
then mv -f ".deps/ptcdump.Tpo" ".deps/ptcdump.Plo"; else rm -f
".deps/ptcdump.Tpo"; exit 1; fi
*g++ -DHAVE_CONFIG_H -I. -I/home/big_bear/rid_dev/cpp/wmc/ptcdump/src
-I.. -O0 -g3 -MT ptcdump.lo -MD -MP -MF .deps/ptcdump.Tpo -c
/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp -fPIC
*In file included from /usr/include/g++/backward/alloc.h:46,
*from /home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:20:
*/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:21:16: io.h: No
such file or directory
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:28:17: dir.h: No
such file or directory
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:29:17: dos.h: No
such file or directory
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp: In function `int
*ReadSortFile(char*)':
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:414: error:
`_popen' undeclared (first use this function)
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:414: error:
(Each undeclared identifier is reported only once for each function it
appears in.)
*/home/big_bear/rid_dev/cpp/wmc/ptcdump/src/ptcdump.cpp:422: error:
`_pclose' undeclared (first use this function)
*gmake: *** [ptcdump.lo] Error 1
**** Exited with status: 2 ***
I checked the system and the .h files that the compiler says it cannot
find seem to be there. Example: io.h is located at
/usr/include/sys/io.h. The only exception might be the dos.h which only
exists in a Kylix3 directory.
Do I have some configuration done incorrectly? Will someone give me a
kick start here?
Thanks,
DC