A PHP Error was encountered

Severity: Warning

Message: fopen(/tmp/ci_sessionrop4h6vlasdpv946kmi99rg6toi3b8c6): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 176

Backtrace:

File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 311
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /tmp)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 311
Function: require_once

Convert a string of Uppercase Letters to a Palindromic string in C++ | ranjith1604
Coders Packet

Convert a string of Uppercase Letters to a Palindromic string in C++

By RANJITH RAMAMURTHY TEVNAN

  • code.cpp
  • a.exe
  • This code takes a string with all Uppercase Letters and tells if its reordering can give a palindromic string(And tell if it is impossible). This code is written in C++.

    The project consists of the code and a (.exe) executable file. We can run the executable and give the input string (of uppercase letters).

    Also, the code could be integrated into another code as per requirement.

    The code will output the palindromic string if possible. Else it will notify if it's impossible.

    The code works by keeping a count of the upper case characters in the string. This is done using an array. Using this count array, a possible rearrangement is found out if possible.

    Download Complete Code

    Comments

    No comments yet

    Download Packet

    Reviews Report

    Submitted by RANJITH RAMAMURTHY TEVNAN (ranjith1604)

    Download packets of source code on Coders Packet