[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/vixcpp/cli/dev/docs/vix_error_examples.cpp [Back]  [Original]

/*
    File: vix_error_examples.cpp
    Purpose:
        This file contains commented C++ code snippets that intentionally
        trigger common C++ errors and runtime issues.

        Each section demonstrates ONE specific error that Vix CLI is able
        to detect and explain.

         Do NOT compile this file as-is.
        Uncomment ONE section at a time to test error handling.
*/

#include 
#include 
#include 
#include 
#include 
#include 

// ============================================================================
// [CPP001] cout not declared (missing  / std::)
// ============================================================================

/*
int main()
{
    cout 

Web Proxy Viewer  |  New URL  |  Original Page