Sublime Forum

Issue With Buils System

#1

I have setup the new build system as

{
“cmd”: [“g++.exe”, “-std=c++17”, “${file}”,
“-o”, “${file_base_name}.exe”,
“&&”, “${file_base_name}.exe<inputf.in>outputf.out”],
“shell”:true,
“working_dir”:"$file_path",
“selector”:“source.cpp”
}

and make 3 files

  1. file.cpp
  2. inputf.in
  3. outputf.out

but when i am giving input in the inputf.in file so there is showing that its building but when it finished it shoes no output and i think its not getting the input only

pls help

here is the video link i am facing the issue

0 Likes

#2

Have you selected your custom build system? (Either through the Tools > Build System menu, or ctrl+shift+b)

2 Likes

#3

yes i found the mistake i was doing that i have selected the build as c++ instead of cp. thereafter i have rectified it and hence my sublime is runing properly.

thankyou very much @bschaaf

if needed i will definetly reply this feed

0 Likes