Click here to Skip to main content
15,917,177 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What the best way to sleep 1 ms Pin
Tim Smith3-May-05 17:43
Tim Smith3-May-05 17:43 
AnswerRe: What the best way to sleep 1 ms Pin
Abu Mami3-May-05 6:20
Abu Mami3-May-05 6:20 
GeneralWater-wall Pin
DinaMazor3-May-05 1:19
DinaMazor3-May-05 1:19 
GeneralRe: Water-wall Pin
QuiJohn3-May-05 2:01
QuiJohn3-May-05 2:01 
GeneralRe: Water-wall Pin
Blake Miller3-May-05 7:38
Blake Miller3-May-05 7:38 
Generalhide from application list Pin
3-May-05 0:42
suss3-May-05 0:42 
GeneralRe: hide from application list Pin
ThatsAlok3-May-05 1:00
ThatsAlok3-May-05 1:00 
GeneralCan't compile function template on VC7.1 Pin
Teerayoot2-May-05 23:48
Teerayoot2-May-05 23:48 
i want to compile this code :
<br />
template <class T> <br />
inline const T& max ( const T& a,  const T& b) <br />
{ <br />
		return a < b ? b : a ; <br />
<br />
<br />
}<br />


got this error message :
: error C2226: syntax error : unexpected type 'T'
: error C2062: type 'const int' unexpected
: error C2059: syntax error : ')'
: error C2143: syntax error : missing ';' before '{'
: error C2447: '{' : missing function header (old-style formal list?)


but it's successfully compiled on BCB6.0 .
VC7.1 is just stupid???
GeneralRe: Can't compile function template on VC7.1 Pin
ThatsAlok2-May-05 23:59
ThatsAlok2-May-05 23:59 
GeneralRe: Can't compile function template on VC7.1 Pin
Rahim Rattani3-May-05 0:25
Rahim Rattani3-May-05 0:25 
GeneralRe: Can't compile function template on VC7.1 Pin
Teerayoot3-May-05 2:07
Teerayoot3-May-05 2:07 
QuestionHow to do this???? Pin
eli150219792-May-05 23:41
eli150219792-May-05 23:41 
AnswerRe: How to do this???? Pin
Rahim Rattani2-May-05 23:57
Rahim Rattani2-May-05 23:57 
AnswerRe: How to do this???? Pin
toxcct3-May-05 0:10
toxcct3-May-05 0:10 
AnswerRe: How to do this???? Pin
Blake Miller3-May-05 8:04
Blake Miller3-May-05 8:04 
QuestionGroup calendar control ? Pin
Bernhard2-May-05 23:39
Bernhard2-May-05 23:39 
GeneralSetWindowRgn() for buttons Pin
Asha Udupa2-May-05 23:24
Asha Udupa2-May-05 23:24 
GeneralRe: SetWindowRgn() for buttons Pin
Behzad Ebrahimi2-May-05 23:40
Behzad Ebrahimi2-May-05 23:40 
GeneralRe: SetWindowRgn() for buttons Pin
Asha Udupa2-May-05 23:45
Asha Udupa2-May-05 23:45 
GeneralRe: SetWindowRgn() for buttons Pin
ThatsAlok3-May-05 0:01
ThatsAlok3-May-05 0:01 
GeneralRe: SetWindowRgn() for buttons Pin
Asha Udupa3-May-05 0:05
Asha Udupa3-May-05 0:05 
GeneralRe: SetWindowRgn() for buttons Pin
Behzad Ebrahimi3-May-05 0:14
Behzad Ebrahimi3-May-05 0:14 
GeneralRe: SetWindowRgn() for buttons Pin
Asha Udupa3-May-05 0:25
Asha Udupa3-May-05 0:25 
GeneralRe: SetWindowRgn() for buttons Pin
ThatsAlok3-May-05 0:28
ThatsAlok3-May-05 0:28 
GeneralRe: SetWindowRgn() for buttons Pin
Asha Udupa3-May-05 0:30
Asha Udupa3-May-05 0:30 

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.