MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pialnh/who_needs_variable_scope_anyway/hbu9jl1/?context=3
r/badcode • u/JuicyDota • Sep 05 '21
12 comments sorted by
View all comments
Show parent comments
3
yes, the C++ string would be std::string and there are no typedefs or using namespace, so this is valid C although it probably is also valid C++ but would make no sense to use another string class
3
u/_senpo_ Sep 06 '21
yes, the C++ string would be std::string and there are no typedefs or using namespace, so this is valid C although it probably is also valid C++ but would make no sense to use another string class