asz304
- 107
- 0
Say for example
What's different with the first if statement? or do they have the same meaning?
Thanks
EDIT: What is the use of two-dimensional arrays? I see it mostly in file input output stream stuff.
And how do I change the brightness of a picture using c++ using this formula:
R2 = G2 = B2 = (R1 + G1 + B1)/3
Do I need to use pass by reference?
Code:
int a = 0;
if ( a ){
...
}
int a = 0;
if ( a < 0 ){
...
}
What's different with the first if statement? or do they have the same meaning?
Thanks
EDIT: What is the use of two-dimensional arrays? I see it mostly in file input output stream stuff.
And how do I change the brightness of a picture using c++ using this formula:
R2 = G2 = B2 = (R1 + G1 + B1)/3
Do I need to use pass by reference?
Last edited: