Click here to Skip to main content
15,887,214 members
Home / Discussions / Graphics
   

Graphics

 
QuestionGraphics for Visual Studio 2008 C++ Pin
The-Irishman14-Nov-23 11:06
The-Irishman14-Nov-23 11:06 
QuestionShadow copy with windows service Pin
Member 1611802317-Oct-23 22:46
Member 1611802317-Oct-23 22:46 
AnswerRe: How to send a windows message from C# to C++ Pin
Victor Nijegorodov5-Jun-23 20:32
Victor Nijegorodov5-Jun-23 20:32 
AnswerRe: How to send a windows message from C# to C++ Pin
jschell6-Jun-23 4:44
jschell6-Jun-23 4:44 
Questionwhat are the differences between pass-by-value and pass-by-reference in C++ Pin
ortegacarey31-May-23 20:30
ortegacarey31-May-23 20:30 
AnswerRe: what are the differences between pass-by-value and pass-by-reference in C++ Pin
Victor Nijegorodov31-May-23 20:47
Victor Nijegorodov31-May-23 20:47 
GeneralRe: what are the differences between pass-by-value and pass-by-reference in C++ Pin
trønderen1-Jun-23 14:45
trønderen1-Jun-23 14:45 
Pass-by-value is when someone presents an answer to your problem.
Pass-by-reference is when someone tells you "Why don't you just f***g google it?"

For being slightly more helpful:

Pass-by-value is when the caller makes a copy of the argument and hands this copy over to you. It carries no information about where your copy of the value is taken from - it may very well be the value of an expression directly stated in the argument list of the actual call. The copy is yours, and whatever you do to it won't affect anyone else. The value (copy) exists only as long as your method is running.

Pass-by-reference is when the caller doesn't give you a copy of the value, but rather tells you where you can find it, i.e. the location (address) in memory where the value is stored. You have to go and look there to find the value. In most cases, other parts of the program will be looking in the same location, and if your method changes the value stored, others who subsequently look there, will see your modifications to the value. The location exists both before and after the call to your method.

There is nothing C++ specific to this; it goes for all languages (or rather: all languages providing both call-by-value and call-by-reference - which are most of them).
GeneralRe: what are the differences between pass-by-value and pass-by-reference in C++ Pin
Gerry Schmitz1-Jun-23 16:04
mveGerry Schmitz1-Jun-23 16:04 
Answertack snap shot with windows service Pin
sa1114419-Oct-21 23:02
sa1114419-Oct-21 23:02 
GeneralRe: tack snap shot with windows service Pin
OriginalGriff19-Oct-21 23:05
mveOriginalGriff19-Oct-21 23:05 
QuestionUWP Flyout Problem Pin
RWey22-Jun-21 10:39
RWey22-Jun-21 10:39 
AnswerRe: UWP Flyout Problem Pin
Gerry Schmitz23-Jun-21 6:38
mveGerry Schmitz23-Jun-21 6:38 
AnswerRe: UWP Flyout Problem Pin
RWey25-Jun-21 6:38
RWey25-Jun-21 6:38 
QuestionDrawing a simple triangle horror when using std::vector Pin
Isawyouoo21-May-21 11:21
Isawyouoo21-May-21 11:21 
AnswerRe: Drawing a simple triangle horror when using std::vector Pin
Graham Breach21-May-21 21:03
Graham Breach21-May-21 21:03 
AnswerRe: Drawing a simple triangle horror when using std::vector Pin
Richard MacCutchan21-May-21 21:37
mveRichard MacCutchan21-May-21 21:37 
QuestionLooking for a C# option for doing simple 2D graphics Pin
MollyJanet13-May-21 8:45
MollyJanet13-May-21 8:45 
QuestionSharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 4:22
RWey15-Apr-21 4:22 
AnswerRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 4:53
mveDave Kreskowiak15-Apr-21 4:53 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 6:16
RWey15-Apr-21 6:16 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Gerry Schmitz15-Apr-21 8:25
mveGerry Schmitz15-Apr-21 8:25 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 9:35
RWey15-Apr-21 9:35 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 9:40
mveDave Kreskowiak15-Apr-21 9:40 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 10:45
RWey15-Apr-21 10:45 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
K3 Reviews9-Oct-23 5:18
K3 Reviews9-Oct-23 5: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.