Click here to Skip to main content
16,011,950 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can get roundoff value? Pin
Le@rner11-Jun-08 18:23
Le@rner11-Jun-08 18:23 
AnswerRe: How can get roundoff value? Pin
_AnsHUMAN_ 11-Jun-08 18:45
_AnsHUMAN_ 11-Jun-08 18:45 
GeneralRe: How can get roundoff value? Pin
Le@rner11-Jun-08 18:53
Le@rner11-Jun-08 18:53 
AnswerRe: How can get roundoff value? [modified] Pin
Rajesh R Subramanian11-Jun-08 19:03
professionalRajesh R Subramanian11-Jun-08 19:03 
GeneralRe: How can get roundoff value? Pin
Saurabh.Garg11-Jun-08 19:12
Saurabh.Garg11-Jun-08 19:12 
GeneralRe: How can get roundoff value? Pin
Rajesh R Subramanian11-Jun-08 21:47
professionalRajesh R Subramanian11-Jun-08 21:47 
GeneralRe: How can get roundoff value? Pin
Saurabh.Garg11-Jun-08 21:48
Saurabh.Garg11-Jun-08 21:48 
Questiondoes declare variables must before functionary code in VS2005 using C language? Pin
CooperWu11-Jun-08 17:29
CooperWu11-Jun-08 17:29 
example1, this is OK.
<br />
#include <stdio.h><br />
int main(void) {<br />
   int n = 5;<br />
   int m = 6;<br />
   printf("%d\n", n+m);<br />
}<br />
</stdio.h>


example2, error Frown | :(
<br />
#include <stdio.h><br />
int main(void) {<br />
   int n = 5;<br />
   int m = 6;<br />
   printf("%d\n", n+m);<br />
   int z = 9; // error here, error C2143: syntax error : missing ';' before 'type'<br />
}<br />
</stdio.h>


is there a compile options for allow declare variables after functionary code in VS2005 IDE ??

Rose | [Rose] Rose | [Rose] Rose | [Rose]

Glad to discuss with you and best wishes.

AnswerRe: does declare variables must before functionary code in VS2005 using C language? Pin
Saurabh.Garg11-Jun-08 17:53
Saurabh.Garg11-Jun-08 17:53 
Questionvideo card speed info Pin
locoone11-Jun-08 11:53
locoone11-Jun-08 11:53 
AnswerRe: video card speed info Pin
Saurabh.Garg11-Jun-08 15:24
Saurabh.Garg11-Jun-08 15:24 
GeneralRe: video card speed info Pin
locoone11-Jun-08 15:50
locoone11-Jun-08 15:50 
QuestionHow to get rid of reference? Pin
RYU^^11-Jun-08 11:44
RYU^^11-Jun-08 11:44 
QuestionCan a taskbar button change for a window that doesn't have a Titlebar? Pin
Joseph Marzbani11-Jun-08 9:25
Joseph Marzbani11-Jun-08 9:25 
AnswerRe: Can a taskbar button change for a window that doesn't have a Titlebar? Pin
Nibu babu thomas11-Jun-08 17:41
Nibu babu thomas11-Jun-08 17:41 
AnswerRe: Can a taskbar button change for a window that doesn't have a Titlebar? Pin
sudhir_Kumar11-Jun-08 20:13
sudhir_Kumar11-Jun-08 20:13 
QuestionLooking for Visual Studio project for LZMA and command line utility Pin
Joe Woodbury11-Jun-08 8:00
professionalJoe Woodbury11-Jun-08 8:00 
AnswerRe: Looking for Visual Studio project for LZMA and command line utility Pin
Saurabh.Garg11-Jun-08 14:52
Saurabh.Garg11-Jun-08 14:52 
GeneralRe: Looking for Visual Studio project for LZMA and command line utility Pin
Joe Woodbury11-Jun-08 19:03
professionalJoe Woodbury11-Jun-08 19:03 
QuestionHighlight a listview column Pin
kani9811-Jun-08 6:58
kani9811-Jun-08 6:58 
AnswerRe: Highlight a listview column Pin
led mike11-Jun-08 7:28
led mike11-Jun-08 7:28 
AnswerRe: Highlight a listview column Pin
Saurabh.Garg11-Jun-08 14:55
Saurabh.Garg11-Jun-08 14:55 
QuestionThread question?? Pin
york52811-Jun-08 5:35
york52811-Jun-08 5:35 
AnswerRe: Thread question?? Pin
David Crow11-Jun-08 5:48
David Crow11-Jun-08 5:48 
GeneralRe: Thread question?? Pin
york52812-Jun-08 1:01
york52812-Jun-08 1: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.