Jump to content
Fórum Script Brasil
  • 0

Como adicionar uma argumento na linha de comando para programas feitos para CLI (Linux) funcionarem na GUI (Windows)?


pedrotscom
 Share

Question

Bom dia pessoal, estou tentando executar em Code Blocks um programa em C produzido para CLI Linux no Windows, fui informado que deveria adicionar um argumento  com o executável gerado pelo Code Blocks porém quando compilo o programa ele apresenta a mesma mensagem quando compilava no Code Blocks. O que faço me ajudem! Vejam as imagens:

 

Tentei executar o executável gerado pelo Code Blocks através do CMD:

http://s799.photobucket.com/user/pedrotscom/media/0_zpsispekiht.png.html

Erro ao compilar o programa pelo Code Blocks:

http://s799.photobucket.com/user/pedrotscom/media/2_zpswxa82gb6.png.html

Erro que surgiu no Code Blocks:

http://s799.photobucket.com/user/pedrotscom/media/1_zpsafz3lec9.png.html

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Forum Statistics

    • Total Topics
      149.6k
    • Total Posts
      646.2k
×
×
  • Create New...