In c++ and other languages in general is a tap and a space made by the space the same whitespace? or is it interpreted different?
by tap, do you mean tab? \t is not ' '
aaa so you use the escape sequence? :) yes i meant tab. But now idk cuzz i need to copy paste a bunch of data. From MS word the tab looks like -> but it is a white space idk what will happen if i copy paste it to a c++ file. Is there a way to replace tabs with another character in MS word?
I dunno MS word. Possibily just ctrl+h for replace
I'm not sure I understand, but whitespace is ignored when compiling a c++ file. \t (the tab escape sequence) is a command that puts 4 whitespace chars (' ') to stdout. In other words, whitespace makes no difference to the C++ output, \t does. I don't know how to explain the /t becoming a -> in your C++ file after copy-pasting; -> means something specific and very different than \t.
i know -> is the * of classes lol.
...or dereference any field of a struct. No idea why that would come up o.0
oh it came up cuzz MS word uses an arrow for the tab character. It also uses dots for spaces. and a |dw:1391709545401:dw| FOR returns aka new lines aka enter aka vertical space lol.
Join our real-time social learning platform and learn together with your friends!