Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to judge if the folder can be written? Pin
Mark Salsbery28-Feb-07 16:51
Mark Salsbery28-Feb-07 16:51 
QuestionHow to send a scroll message to MS WORD? Pin
Michael ZY28-Feb-07 15:52
Michael ZY28-Feb-07 15:52 
Questionworker thread did not survive the release version - MFC Pin
awah28-Feb-07 15:34
awah28-Feb-07 15:34 
AnswerRe: worker thread did not survive the release version - MFC Pin
Xing Chen28-Feb-07 15:52
Xing Chen28-Feb-07 15:52 
AnswerRe: worker thread did not survive the release version - MFC Pin
prasad_som28-Feb-07 17:56
prasad_som28-Feb-07 17:56 
AnswerRe: worker thread did not survive the release version - MFC Pin
Roger Stoltz28-Feb-07 21:20
Roger Stoltz28-Feb-07 21:20 
QuestionVseDebug with Visual express 2005 Pin
ForNow28-Feb-07 15:21
ForNow28-Feb-07 15:21 
Questionvector <t_vertice> puntos; [modified] Pin
George Lam28-Feb-07 15:02
George Lam28-Feb-07 15:02 
The following code on a linux gcc compiler gave me an error message:

error - SO C++ forbids declaration of "vector" with no type

apparently,
vector <double> dd; is okay because double is a known type

How can I make g++ recognize t_vertice as a valid type?
Or how can I switch off the ISO compatibilty on the g++ compiler?
_________________________________________________
#ifndef HSI3D_H
#define HSI3D_H

#include <qgl.h>
#include <vector>
#include <iostream>

#include "../imageplus.h"

#include <qimage.h>

class HSI3D : public QGLWidget
{
Q_OBJECT
public:
HSI3D(QWidget *parent=0, const char *name=0);
HSI3D(const ImagePlus &Image, QWidget *parent=0, const char *name=0);
~HSI3D();

typedef struct t_vertice{
uchar red;
uchar green;
uchar blue;
float h;
uchar s;
uchar i;
}t_vertice, *ptrtvertice;

vector <t_vertice> puntos;
int quants_punts;


-- modified at 0:02 Thursday 1st March, 2007
QuestionRe: vector t_vertice puntos; Pin
prasad_som28-Feb-07 17:29
prasad_som28-Feb-07 17:29 
GeneralRe: vector puntos; Pin
prasad_som28-Feb-07 18:15
prasad_som28-Feb-07 18:15 
GeneralRe: vector puntos; Pin
George Lam1-Mar-07 7:11
George Lam1-Mar-07 7:11 
AnswerRe: vector puntos; [modified] Pin
Mark Salsbery1-Mar-07 8:25
Mark Salsbery1-Mar-07 8:25 
Questionhelp on window on be set in always actvie ? Pin
icemelt(newbie)28-Feb-07 15:00
icemelt(newbie)28-Feb-07 15:00 
AnswerRe: help on window on be set in always actvie ? Pin
Xing Chen28-Feb-07 16:07
Xing Chen28-Feb-07 16:07 
GeneralRe: help on window on be set in always actvie ? Pin
icemelt(newbie)28-Feb-07 17:23
icemelt(newbie)28-Feb-07 17:23 
GeneralRe: help on window on be set in always actvie ? Pin
Xing Chen28-Feb-07 17:32
Xing Chen28-Feb-07 17:32 
QuestionScreen Fails to Refresh after another Pgm Paints Pin
syscwl28-Feb-07 13:56
syscwl28-Feb-07 13:56 
QuestionRe: Screen Fails to Refresh after another Pgm Paints Pin
Mark Salsbery28-Feb-07 14:12
Mark Salsbery28-Feb-07 14:12 
AnswerRe: Screen Fails to Refresh after another Pgm Paints Pin
syscwl28-Feb-07 14:52
syscwl28-Feb-07 14:52 
GeneralRe: Screen Fails to Refresh after another Pgm Paints Pin
Mark Salsbery28-Feb-07 15:04
Mark Salsbery28-Feb-07 15:04 
QuestionEasy Question Pin
arbster128-Feb-07 12:24
arbster128-Feb-07 12:24 
AnswerRe: Easy Question Pin
Stephen Hewitt28-Feb-07 12:27
Stephen Hewitt28-Feb-07 12:27 
QuestionImportant question regarding Window kernel Pin
parth_00728-Feb-07 11:37
parth_00728-Feb-07 11:37 
AnswerRe: Important question regarding Window kernel Pin
Mark Salsbery28-Feb-07 14:20
Mark Salsbery28-Feb-07 14:20 
QuestionText Box Pin
ScotDolan28-Feb-07 11:18
ScotDolan28-Feb-07 11:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.