Skip to content

TTSConsulting/C-Plus-IDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C+ IDE - Advanced C+ Development Environment

C+ IDE Version C+ Language Platform License

Overview

C+ IDE is a professional, feature-rich integrated development environment specifically designed for the C+ programming language. Built with modern Windows APIs and featuring real-time compilation, debugging capabilities, an intuitive user interface, and integrated Windows Console Host for authentic terminal experience.

Features

🎯 Core Development Features

  • Syntax-Aware Editor with line numbers and auto-scrolling
  • Real-Time Compilation with g++ 6.3.0 integration
  • Interactive Debugging with GDB 7.6.1 support
  • Windows Console Host Integration - Real cmd.exe terminal with live command execution
  • Dual Terminal Layout - Separate input/output panels with real-time command processing
  • Git Integration - Dedicated Git GUI with status, history, and repository management
  • File Management for .cplus files (Create, Open, Save)
  • Project Explorer - Visual Studio-style project management with .cplusproj files
  • File Association - .cplus files open automatically with C+ IDE
  • Command-Line Support - Open files directly: "C+ IDE.exe" "file.cplus"
  • Professional UI with resizable panels and modern fonts

🔧 C+ Language Support

  • C+ to C++ Translation Engine
    • func main()int main() conversion
    • printLine()std::cout translation
    • Automatic include statements injection
  • Real Code Execution - Actually compiles and runs your C+ programs
  • Error Handling with detailed compiler feedback

🛠️ Development Tools

  • Version-Controlled Compilation (g++ 6.3.0 required)
  • Professional Debugging (GDB 7.6.1 required)
  • Project Templates with starter code
  • Multiple Output Formats (GUI and CLI project support)
  • AI Integration Framework - C+ Copilot AI infrastructure (in development)

💻 Terminal & Git Features

  • Integrated Console Host - Real Windows cmd.exe process with pipe communication
  • Background Command Processing - Thread-safe terminal output handling
  • Git GUI Interface - Dedicated window for repository management
  • Git Status & History - View repository state and commit history
  • Real-time Command Execution - Live terminal input/output with automatic console startup

System Requirements

Required Software

Component Version Purpose
g++ Compiler 6.3.0 C+ code compilation
GDB Debugger 7.6.1 Interactive debugging
MinGW Latest Windows GCC toolchain
Windows 10/11 Operating system

Installation Prerequisites

  1. MinGW with g++ 6.3.0

    mingw-get install gcc g++
  2. GDB 7.6.1 Debugger

    mingw-get install gdb
  3. Visual Studio Build Tools (for IDE compilation)

  4. File Association (automatic on first launch)

    • C+ IDE automatically registers .cplus file association
    • Right-click any .cplus file → "Open With" → C+ IDE will appear
    • Double-click .cplus files to open directly in C+ IDE
    • Use register_cplus_files.reg for manual registration if needed

Quick Start

1. Launch C+ IDE

"C+ IDE.exe"

2. Create Your First C+ Program

  • Press Ctrl+N or go to File > New File
  • Save as hello.cplus
  • Write your C+ code:
// Hello World in C+
#include <iostream>
using namespace std;

func main() {
    printLine("Hello, C+ World!");
    return 0;
}

3. Run Your Program

  • Press F5 or go to Run > Run
  • Watch real-time compilation and execution in terminal

4. Debug Your Code

  • Press F10 or go to Run > Debug
  • Step through your code with GDB integration

5. Command-Line Usage

  • Open file directly: "C+ IDE.exe" "path\to\file.cplus"
  • From Windows Explorer: Double-click any .cplus file
  • Context menu: Right-click .cplus file → "Open with" → C+ IDE
  • Edit option: Right-click .cplus file → "Edit with C+ IDE"

6. Project Management

  • Create New Project: File > New Project → Choose location for .cplusproj file
  • Open Existing Project: Open > C+ Project (F9) → Select .cplusproj file
  • Project Explorer: Left panel shows project structure like Visual Studio Solution Explorer
  • Auto-Add Files: Opening or saving .cplus files automatically adds them to current project
  • Project Structure: Tree view with project name and all associated .cplus files

Keyboard Shortcuts

Shortcut Action Description
Ctrl+N New File Create new .cplus file
Ctrl+O Open File Open existing .cplus file
Ctrl+S Save File Save current file
F5 Run Compile and execute program
F10 Debug Debug with GDB integration
F6 GUI Project Create GUI project
F9 Open Project Open .cplusproj file
F11 CLI Project Create CLI project

Menu Reference

File Menu

  • New File (Ctrl+N) - Create new C+ source file
  • Open File (Ctrl+O) - Open existing .cplus file
  • Save File (Ctrl+S) - Save current file
  • Exit - Close IDE

Git Menu

  • Open Git Window - Launch dedicated Git GUI interface
  • Git Status - View repository status and changes
  • Git History - View commit history and logs
  • View Git Log - Detailed commit information
  • Diff View - Compare file changes

Make Menu

  • GUI Project (F6) - Create graphical application project
  • CLI Project (F11) - Create command-line application project

Open Menu

  • C+ Project (F9) - Open .cplusproj project file

Run Menu

  • Run (F5) - Compile and execute current file
  • Debug (F10) - Debug current file with GDB

C+ Language Reference

Basic Syntax

// Function declaration
func main() {
    // C+ uses func instead of int for main
    return 0;
}

// Output function
printLine("Text to display");
// Automatically converts to: std::cout << "Text to display" << std::endl;

File Extensions

  • Source Files: .cplus
  • Project Files: .cplusproj (planned)

Architecture

Component Overview

C+ IDE
├── Win32 Application Framework
├── Project Explorer (Tree View)
├── Text Editor with Line Numbers
├── Terminal Output Window
├── C+ Language Translator
├── g++ Compiler Integration
├── GDB Debugger Interface
├── File Management System
└── Project Management (.cplusproj)

Translation Process

  1. Parse C+ source code
  2. Translate C+ syntax to C++
  3. Verify compiler version (g++ 6.3.0)
  4. Compile with debug symbols
  5. Execute or Debug as requested

Version History

Version 2025 1.1 (Current)

  • ✅ Windows Console Host Integration - Real cmd.exe terminal experience
  • ✅ Enhanced Git GUI - Dedicated Git window with status and history
  • ✅ Dual Terminal Layout - Separate input/output panels
  • ✅ Background Command Processing - Thread-safe terminal handling
  • ✅ Professional Terminal Interface - Execute button and real-time output
  • ✅ Git Status & History Viewing - Repository management tools
  • ✅ AI Integration Framework - C+ Copilot AI infrastructure (in development)
  • ✅ Improved File Association - Enhanced registry integration
  • ✅ Version 1.1 Installer - Updated deployment package

Version 2025 1.0 (Previous)

  • ✅ Complete C+ IDE implementation
  • ✅ Real compilation and execution
  • ✅ GDB debugging integration
  • ✅ Professional UI with line numbers
  • ✅ Version-controlled toolchain
  • ✅ File management system
  • ✅ Terminal output with timestamps
  • ✅ File association for .cplus files
  • ✅ Command-line file opening support
  • ✅ "Open With" menu integration
  • ✅ Project Explorer with .cplusproj support
  • ✅ Visual Studio-style project management

C+ Language 0.1 (Current)

  • func main() syntax
  • printLine() function
  • ✅ C++ interoperability
  • ✅ Standard library integration

Technical Specifications

Compiler Integration

  • Target Compiler: g++ (MinGW) 6.3.0
  • Compilation Flags: Standard C++ with debug symbols (-g)
  • Output Format: Windows PE executable
  • Error Handling: Real-time compiler output capture

Debugger Integration

  • Target Debugger: GDB 7.6.1
  • Debug Features: Breakpoints, variable inspection, step execution
  • Automation: Script-based debugging sessions
  • Output: Real-time debug session capture

File Handling

  • Encoding: UTF-8 with Windows line endings
  • Auto-save: Manual save required
  • Backup: None (user responsible)
  • Project Files: Support planned for .cplusproj

Troubleshooting

Common Issues

"g++ version 6.3.0 is required!"

Solution: Install correct g++ version

mingw-get install gcc=6.3.0

"GDB version 7.6.1 is required for debugging!"

Solution: Install correct GDB version

mingw-get install gdb=7.6.1

Compilation Fails

Possible Causes:

  • MinGW not in PATH
  • Wrong compiler version
  • Invalid C+ syntax

Solution: Check About dialog for requirements

File Association Not Working

Possible Causes:

  • User permissions insufficient
  • Registry write access denied
  • Previous file associations conflict

Solutions:

  1. Run C+ IDE as administrator once to register associations
  2. Use the provided register_cplus_files.reg file
  3. Manually set file association in Windows Settings

Getting Help

  1. Check Help > About for version requirements
  2. Verify PATH includes C:\MinGW\bin
  3. Test compiler: g++ --version
  4. Test debugger: gdb --version

Development

Building from Source

# Requirements
- Visual Studio 2022 Preview
- Windows SDK
- MSBuild tools

# Build command
msbuild "C+ IDE.sln" /p:Configuration=Debug /p:Platform=x64

Project Structure

C+ IDE/
├── C+ IDE.cpp                  # Main application source
├── C+ IDE.h                   # Header definitions
├── C+ IDE.rc                  # Resource file (dialogs, menus)
├── framework.h                # Windows framework headers
├── resource.h                 # Resource constants
├── C+ IDE.ico                 # Application icon
├── README.md                  # Documentation
├── register_cplus_files.reg   # Registry script for file association
└── RELEASE_NOTES_v1.0.md      # Release notes

License

Proprietary Software
Copyright (c) 2025 TTSConsulting
All rights reserved.

Contact

Repository: C-Plus-IDE
Organization: TTSConsulting


C+ IDE 2025 v1.1 - Advanced C+ Development Environment
Built for professional C+ development on Windows with integrated Console Host and Git GUI

NOTES:

  • Requires g++ 6.3.0 and GDB 7.6.1
  • .CPlus (C+ Version of .NET) Features are not out yet!
  • C+ Copilot AI is currently in development and not yet available in v1.1

About

A Language That is in the C Family as Also, Offical Language.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors