Click here to Skip to main content
15,791,353 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOpenGL stencil not working... Pin
Vaclav_22-Apr-20 11:38
Vaclav_22-Apr-20 11:38 
AnswerRe: OpenGL stencil not working... Pin
leon de boer22-Apr-20 20:16
leon de boer22-Apr-20 20:16 
GeneralRe: OpenGL stencil not working... Pin
Vaclav_23-Apr-20 4:10
Vaclav_23-Apr-20 4:10 
GeneralRe: OpenGL stencil not working... Pin
Vaclav_23-Apr-20 9:11
Vaclav_23-Apr-20 9:11 
QuestionCross Reference/Reporting Tool avaiable which does not resolve macros? Pin
Hans99922-Apr-20 1:57
Hans99922-Apr-20 1:57 
AnswerRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
Richard MacCutchan22-Apr-20 4:47
mveRichard MacCutchan22-Apr-20 4:47 
AnswerRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
k505422-Apr-20 5:07
mvek505422-Apr-20 5:07 
SuggestionRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
David Crow22-Apr-20 6:18
David Crow22-Apr-20 6:18 
Why don't you do this instead:
int main( void )
{
  float Diameter;
  float Circumference;

  cout << "Please enter diameter: ";
  cin >> Diameter;

  Circumference = 3.14 * Diameter;

  cout << " Circumference is " << Circumference << endl;

  return 0;
}
Then it is more standard, and you also get what you want.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
Richard MacCutchan22-Apr-20 7:25
mveRichard MacCutchan22-Apr-20 7:25 
GeneralRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
David Crow22-Apr-20 7:43
David Crow22-Apr-20 7:43 
GeneralRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
Richard MacCutchan22-Apr-20 7:51
mveRichard MacCutchan22-Apr-20 7:51 
Question'get_osfhandle': identifier not found Pin
_Flaviu20-Apr-20 1:13
_Flaviu20-Apr-20 1:13 
AnswerRe: 'get_osfhandle': identifier not found Pin
Richard MacCutchan20-Apr-20 1:37
mveRichard MacCutchan20-Apr-20 1:37 
GeneralRe: 'get_osfhandle': identifier not found Pin
leon de boer20-Apr-20 3:05
leon de boer20-Apr-20 3:05 
GeneralRe: 'get_osfhandle': identifier not found Pin
Richard MacCutchan20-Apr-20 4:28
mveRichard MacCutchan20-Apr-20 4:28 
QuestionSOLVED Passing function with parameters as parameter Pin
Vaclav_18-Apr-20 9:38
Vaclav_18-Apr-20 9:38 
AnswerRe: Passing function with parameters as parameter Pin
Greg Utas18-Apr-20 10:07
mveGreg Utas18-Apr-20 10:07 
GeneralRe: Passing function with parameters as parameter Pin
Vaclav_18-Apr-20 10:22
Vaclav_18-Apr-20 10:22 
AnswerRe: Passing function with parameters as parameter Pin
Greg Utas18-Apr-20 11:24
mveGreg Utas18-Apr-20 11:24 
GeneralRe: Passing function with parameters as parameter Pin
Vaclav_18-Apr-20 11:52
Vaclav_18-Apr-20 11:52 
GeneralRe: Passing function with parameters as parameter Pin
Greg Utas18-Apr-20 12:04
mveGreg Utas18-Apr-20 12:04 
GeneralRe: Passing function with parameters as parameter Pin
Vaclav_19-Apr-20 6:47
Vaclav_19-Apr-20 6:47 
GeneralRe: Passing function with parameters as parameter Pin
Greg Utas19-Apr-20 7:05
mveGreg Utas19-Apr-20 7:05 
GeneralSOLVED Re: Passing function with parameters as parameter Pin
Vaclav_19-Apr-20 10:03
Vaclav_19-Apr-20 10:03 
AnswerRe: Passing function with parameters as parameter Pin
Richard MacCutchan18-Apr-20 22:21
mveRichard MacCutchan18-Apr-20 22:21 

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.