GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hexoncode/ucc: Compile and run programs through the TurboC Compiler without having to use the TurboC IDE and intricately fabricated DOS commands.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

151 Commits
151 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
BIN
BIN
 
 
docs
docs
 
 
screenshots
screenshots
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
boilerplate
boilerplate
 
 
ucc
ucc
 
 

Repository files navigation

UCC

This was built for the students of schools/colleges that still use TurboC++ and teach it's archaic code samples, and ask its students to use the same. You no longer need to torture your eyes by using that ugly blue and old pixelated IDE anymore, and the codes you write will be exactly same as TurboC++! No 'using namespace std;' stuff required!

NOTE: This can compile and run both C and C++ codes and has FULL support for the graphics library.

NOTE: a UCC workspace is a folder that contains all your working files and folders for UCC. Make sure you don't use the folder for anything else.

Common Instructions:

EVERY valid UCC Workspace will contain these folders:

  • builds/ (this will contain the built EXE files)
  • sources/ (this will contain the C/CPP source code)
  • logs/ (this will contain the build and DosBox logs)
  • files/ (this will contain the files created through C/C++ using filestreams)
  • headers/ (this will contain your custom header files)

WINDOWS:

Here is a video that guides you on how to install Visual Studio Code (a very good code editor) and use it with UCC: https://www.youtube.com/watch?v=WLkYAsEskq8

To use UCC on Windows, download https://github.com/uditkarode/ucc/raw/windows/ucc-windows.zip

Now, make a new folder somewhere, and extract the zip inside it.

After extraction, you must run UCC-INIT.bat. The file will set up the directory and automatically remove itself.

After this step, you must place your source codes in the sources/ directory.

You can now use UCC-BUILD.bat, UCC-RUN.bat, or UCC-BUILD-RUN.bat to compile, run, or compile and seamlessly run respectively.

This has been tested working on Windows 10.

For advanced users: If you prefer direct command line usage, you can change directory to the assets folder and use ucc this way:

.\bash ucc --build abc.cpp
.\bash ucc --run abc.cpp.EXE

--OR--

.\bash ucc -br abc.cpp

*NIX:

ARCH LINUX/MANJARO USERS:
UCC is available on the AUR.

yay/yaourt -S ucc

SCRIPT METHOD:
The commands below will do the heavylifting for you. You can copy and paste them to your terminal directly. After executing them, your workspace will be ~/UCCRoot :
cd ~
git clone https://github.com/uditkarode/ucc.git/
sudo mv ucc/ucc /bin/ucc
mkdir UCCRoot && cd UCCRoot
mv ~/ucc/BIN .
mkdir builds sources logs files headers
rm -rf ~/ucc
ucc --workspace .

You can now place your source code in the ~/UCCRoot/sources directory.

After setting up UCC, you can compile and run your programs with a command as simple as ucc -br program.cpp!

For instructions on usage of the script, use ucc --help

In the words of Bob the Builder:

Happy Building!

About

Compile and run programs through the TurboC Compiler without having to use the TurboC IDE and intricately fabricated DOS commands.

uditkarode.github.io/ucc

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.