Eu preciso chamar um arquivo, já existente no main() em C, para o qual abir o arquivo .txt, não abrir ele para leitura e sim como se fosse lá no arquivo e apertar abrir.
Há como fazer isso em C no linux.
Tem tentei system("caminho", txt), mas não deu certo.
Question
DiegoTvdi
Boa tarde!
Eu preciso chamar um arquivo, já existente no main() em C, para o qual abir o arquivo .txt, não abrir ele para leitura e sim como se fosse lá no arquivo e apertar abrir.
Há como fazer isso em C no linux.
Tem tentei system("caminho", txt), mas não deu certo.
Desde já obrigado.
Link to comment
Share on other sites
8 answers 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.