c++ - Sublime text 3 sublime input package -
python3 file input
'''input </ ''' print(input())
output
access denied.
input
'''input < ''' print(input())
input
'''input > ''' print(input())
output
the syntax of command incorrect.
input
'''input <s ''' print(input())
output
the system cannot find file specified.
input
'''input <? ''' print(input())
output
the filename, directory name, or volume label syntax incorrect.
and on .. how rid off these. want give html , xml inputs. https://packagecontrol.io/packages/sublime%20input
meanwhile use
s=''' <html> <head> <head> </html> ''' s=s.splitlines() i=0 def input(): global i+=1 return s[i] print(input()) print(input()) print(input()) print(input())
output
<html> <head> <head> </html>
and in c++ create file , file object cin or stringstream
Comments
Post a Comment