Add New Component Ribon To Codeblocks IDE

[codesyntax lang=”php”] <ol><li>Open CodeBlocks and create a new project or open an existing one.</li><li>Click on “Settings” in the menu bar, and then click on “Editor” in the dropdown menu.</li><li>In the “Editor Settings” dialog box, click on the “Palette” tab.</li><li>Click on the “New” button to create a new ribbon.</li><li>In the “New Ribbon” dialog box, enter the […]

Add New Component To Codeblocks Palate

[codesyntax lang=”bash”] To add a new component to the palette in CodeBlocks, you can follow these steps: 1. Open CodeBlocks and create a new project or open an existing one. 2. Click on “Settings” in the menu bar, and then click on “Editor” in the dropdown menu. 3. In the “Editor Settings” dialog box, click […]

Grails MariaDB Dynamically Created

I have authored a c++ application that is useful in the creation of new Grails projects supporting the MariaDB relational database management system (RDBMS).  The c++ program fulfills all the perfunctory requirements to utilize MariaDB via Grails. Create the Grails Project – This is accomplished by allowing the user to select a target for the […]

MariaDB Grails

MariaDB is a popular open-source relational database management system that is a fork of the MySQL database. Grails, on the other hand, is a web application framework for the Java platform. It is based on the Groovy programming language and uses the Model-View-Controller (MVC) architecture. To use MariaDB with Grails, you need to set up […]

String Array To File

The code below allows the contents of a collection of strings to be written to a text file. [codesyntax lang=”cpp”] void grailsGenFrame::saveBuild() { out.Open(“/home/archman/workspace/grails/grailsSkel/build.gradle2”); for (size_t i=0; i < str.Count(); i++) { out.AddLine(str[i]); } out.Write(); out.Close(); } [/codesyntax] Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Path Manipulator c++

Often file specifications need to be manipulated to generate the desired results for CodeBlocks projects.  Our exercise begins with the following structure. [codesyntax lang=”cpp”] struct rPath_area { string rawPath = “/home/archman/workspace/cb/cpp/pathManip/pathManip.cbp”; int eop; // Value used for scannind string pathOnly; // Just the file path string fileNameOnly; // File name and extension string xqt; // […]

BCS Programmer’s Tools

Primary Dialog Primary Option Menu Edit Link Categories Pop Up Menu Link Pop Up Menu Our primary workbench is depicted below. This tool stores links (for web pages and executable programs).  Browser counterparts cannot accomodete other links which may be useful in developing computer software. The panel on the left deals with entries for cagtegories […]

Browser Launcher

Currently I use multiple browsers to complete my assigned task.  To accomodate multiple browsers a block of code was created. The main method is listed below. [codesyntax lang=”cpp”] void DlgTstFrame::fireBrowser(string bn) { // bn is the variable that holds the browser name string url = checkForURL(); // check the clipboard for a URL if (url […]

Modified Source Code

The heat of battle caused me to produce ugly code with multiple hard coded references to the Konqueror web browser.  The change all command was not sufficent for making changes because the problem was too sophiscated for change all.  The code in question is in the sample below. [codesyntax lang=”cpp”] Xqt(“/usr/bin/konqueror https://youtube.com/archman007”); [/codesyntax] The desired […]