View Single Post
KevinGrennansondra
New Member
Join Date: Apr 2022
Old 05-12-2022 , 07:11   Re: Sublime Text no build output
Reply With Quote #4

Hi

I'm new, and I'm doing C on Sublime 3. I am trying to get my program to run in a console window post build. I followed a tutorial in which you put code into a file and then select that code through the build systems. But for some reason, it still only outputs to the console in Sublime. Any idea of what im doing wrong?

This is the code that was supposed to be pasted into the build systems file

" { "cmd" : "gcc $file_name -o ${file_base_name} && ${file_base_name}", "selector" : "source.c", "shell": true, "working_dir" : "$file_path" } "

Thanks in advance omeglz, I'm fumbling a lot.

Last edited by KevinGrennansondra; 08-30-2022 at 03:45.
KevinGrennansondra is offline