xintect Posted May 15, 2017 at 06:53 PM Report #604303 Posted May 15, 2017 at 06:53 PM Boas, estou a tentar fazer um programa em que aceite como argumento os sinais < e > , exemplo : ./programa 6 < 4 Mas ele não m lê o argumento < , porque o UNIX pensa que estamos a dar ficheiro, alguém sabe como fazer? usando sinais do unix talvez?
HappyHippyHippo Posted May 15, 2017 at 09:15 PM Report #604306 Posted May 15, 2017 at 09:15 PM usa aspas IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
xintect Posted May 17, 2017 at 11:27 PM Author Report #604384 Posted May 17, 2017 at 11:27 PM não posso usar aspas nem \
M6 Posted May 18, 2017 at 08:54 AM Report #604387 Posted May 18, 2017 at 08:54 AM Como assim não podes usar aspas nem \ ? 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
HappyHippyHippo Posted May 18, 2017 at 09:02 AM Report #604388 Posted May 18, 2017 at 09:02 AM 9 hours ago, xintect said: não posso usar aspas nem \ mas valia a pena dizer que não sabes ou que não percebeste ... IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now