Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conditional stream opening and 22.3?
#1
Does the rule prohibit cases like the following:
Code:
if( someCondition )
    f = fopen( "apple", "r+" );
else
    f = fopen( "apple", "r" );
g = fopen( "apple", "r+" );


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)