Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: just like this.. Pin
toxcct31-Aug-05 1:58
toxcct31-Aug-05 1:58 
Questionhow can i get all the arguments in the va_list Pin
bbluey30-Aug-05 22:53
bbluey30-Aug-05 22:53 
AnswerRe: how can i get all the arguments in the va_list Pin
Bob Ciora31-Aug-05 1:22
Bob Ciora31-Aug-05 1:22 
GeneralRe: how can i get all the arguments in the va_list Pin
bbluey31-Aug-05 2:14
bbluey31-Aug-05 2:14 
GeneralRe: how can i get all the arguments in the va_list Pin
Rick York31-Aug-05 7:56
mveRick York31-Aug-05 7:56 
GeneralRe: how can i get all the arguments in the va_list Pin
bbluey31-Aug-05 22:03
bbluey31-Aug-05 22:03 
QuestionThru Windows Service connecting to SQL server database using windows authentication Pin
Nassa30-Aug-05 22:52
Nassa30-Aug-05 22:52 
QuestionHow to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 22:02
greenwyx30-Aug-05 22:02 
I define a struct like this:
typedef struct
{
float blc;
float sx;
float sy;
}ScreenStruct;

Then in the .h,I define a struct pointer :
ScreenStruct *m_Screen;

At last ,I use it in the .cpp as follows:
m_Screen[0].sx=0;

When I run ,it canont be complied.And the result is that
"miss ; (before *)" or "CView::ScreenStruct miss the storage class or class declaration".

How can I do?Thank u.
AnswerRe: How to use the struct in the VC.Net? Pin
toxcct30-Aug-05 22:17
toxcct30-Aug-05 22:17 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 22:49
greenwyx30-Aug-05 22:49 
GeneralRe: How to use the struct in the VC.Net? Pin
toxcct30-Aug-05 22:54
toxcct30-Aug-05 22:54 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 23:02
greenwyx30-Aug-05 23:02 
GeneralRe: How to use the struct in the VC.NET [edited] Pin
toxcct30-Aug-05 23:09
toxcct30-Aug-05 23:09 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 23:16
greenwyx30-Aug-05 23:16 
GeneralRe: How to use the struct in the VC.Net? Pin
Cedric Moonen30-Aug-05 23:13
Cedric Moonen30-Aug-05 23:13 
General[Message Deleted] Pin
Cedric Moonen30-Aug-05 23:13
Cedric Moonen30-Aug-05 23:13 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 23:20
greenwyx30-Aug-05 23:20 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 23:06
greenwyx30-Aug-05 23:06 
AnswerRe: How to use the struct in the VC.Net? Pin
Marc Soleda30-Aug-05 22:52
Marc Soleda30-Aug-05 22:52 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 22:55
greenwyx30-Aug-05 22:55 
GeneralRe: How to use the struct in the VC.Net? Pin
GDavy30-Aug-05 23:09
GDavy30-Aug-05 23:09 
GeneralRe: How to use the struct in the VC.Net? Pin
Marc Soleda30-Aug-05 23:21
Marc Soleda30-Aug-05 23:21 
GeneralRe: How to use the struct in the VC.Net? Pin
greenwyx30-Aug-05 23:35
greenwyx30-Aug-05 23:35 
GeneralRe: How to use the struct in the VC.Net? Pin
Marc Soleda30-Aug-05 23:52
Marc Soleda30-Aug-05 23:52 
GeneralRe: How to use the struct in the VC.Net? Pin
toxcct31-Aug-05 0:01
toxcct31-Aug-05 0:01 

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.