I have a question about the relationship STL and BC++5.02

I have a question about the relationship STL and BC++5.02

Post by YOUN » Sat, 26 Sep 1998 04:00:00



I have a question about the relationship STL and BC++5.02

my compiler is bc++5.02..
I should use independent STL..
it is downloaded from SGI, ver 3.11

This library is very compatible with VC5.0
but BC5.0 is not....

Please tell me good document, tip or web site..
I don't have a lot of time...

              from Kim

 
 
 

I have a question about the relationship STL and BC++5.02

Post by Leen Ammera » Sun, 27 Sep 1998 04:00:00



>I have a question about the relationship STL and BC++5.02

>my compiler is bc++5.02..
>I should use independent STL..
>it is downloaded from SGI, ver 3.11

>This library is very compatible with VC5.0
>but BC5.0 is not....

>Please tell me good document, tip or web site..
>I don't have a lot of time...

>              from Kim

STL now belongs to the C++ standard and
is included in BC5. For demo programs
running under BC5, you may download the
software of 'STL for C++ Programmers' from
http://home.wxs.nl/~ammeraal/
Generally speaking, the more recent your C++ compiler
the more it will conform to the new C++ standard
and the better it will support STL. See also
http://www.linuxjournal.com/lj/issue44/2468.html

 
 
 

1. 02 windows manager question

Hello,

I am doing a vision experiment, and I want to
run two programs on an SGI O2 simultaneously.
One of them shows a fixation bar on a small black background.
The other shows pictures of various visual stimuli that fill
the whole screen.  

My problem is that I don't know how to make the window
with the fixation bar 1) have no border 2) always appear on top of
whatever other program is being run.

Following is that code (using c and Xlib) I use to make the window for the
fixation bar program.  When I call the function "makeWindow" with override
= 1, then I can get rid of the border, but that still leaves me with
the "on top" problem.  

Does anyone have suggestions?

        thanks,
        doris

Window makeWindow(int x, int y, int override)
{
   Window      win;
   XSizeHints  sz_hints;

   { XSetWindowAttributes winattr; int winattrMask = 0;
     if (override) {
       winattr.override_redirect = 1;    winattrMask |=
CWOverrideRedirect;
     }

       winattr.background_pixel = 0;   winattrMask |= CWBackPixel;
       winattr.border_pixel = 1;       winattrMask |= CWBorderPixel;
       winattr.colormap = cmap;        winattrMask |= CWColormap;    

    win = XCreateWindow(display,root,x,y,W,H,0,      
                        depth,InputOutput,visual,winattrMask,&winattr); }

   sz_hints.x          = x;          sz_hints.y          = y;
   sz_hints.width      = W;          sz_hints.height     = H;
   sz_hints.max_width  = W;          sz_hints.min_width  = W;
   sz_hints.max_height = H;          sz_hints.min_height = H;
   sz_hints.flags      = USSize | USPosition;

   XSetWMNormalHints(display,win, &sz_hints);
   XSelectInput(display, win, ExposureMask);
   XMapWindow(display, win);

   return win;

2. mpeg

3. Video / Keying on the 02 question

4. Stroke (line around a shape) in PSP7?

5. 02/JPEG image compression: Frequently Asked Questions

6. DXF to CDR Problem...

7. (26oct92) comp.graphics Frequently Asked Questions (FAQ)/02

8. Printing visual components

9. Newbie question on borders PS5.02

10. 02?SCSI question - please help!

11. Frequently Asked Questions for microsoft.public.win32.programmer.directx.graphics, V1.02

12. VRML->STL and STL->VRML: STLpack(1.2) software