0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

plunkerでjor1k その3

Last updated at Posted at 2019-05-08

概要

plunkerでjor1kやってみた。
linuxプログラミングしてみた。

issueあげたら直った。

結果

~ $ cat main.c                                                                  
# include <stdio.h>                                                              
# include <stdlib.h>                                                             

int main(int argc, char * argv[])                                               
{                                                                               
         int i;                                                                 
         for (i = 1; i < argc; i++)                                             
         {                                                                      
                 printf("%s%s", (i == 1 ? "" : " "), argv[i]);                  
         }                                                                      
         putchar('\n');                                                         
         exit(0);                                                               
}                                                                               

~ $ gcc main.c                                                                  
~ $ ./a.out abc                                                                 
abc                                                                             
~ $ uname -a                                                                    
Linux openrisc 4.4.0-42578-gacba10ee627d-dirty #6 Thu May 25 20:53:14 UTC 2017 openrisc GNU/Linux


以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?