gcc paltform

Adjacency Matrix Creation Along with Degree of Vertices from a Text File

Submitted by Arup Kr Goswami on
This is a simple C source code, written in gcc platform (Ubuntu, Linux). It reads data from given input .txt file & generate .dat file as output, which contains the Adjacency matrix along with degree of vertices from the given .txt file. It is for only Unweighted Graph. Note: Must change the path of the files in code. Hence, Pattern is that the first digit is the number of nodes in the graph. Next

Generation of Binary Code using C

Submitted by Arup Kr Goswami on
Hello, This is a simple C source code, written in g++ platform (Ubuntu, Linux). This is a process to generate Equivalent Binary numbers of decimal values. Here, you have to Push values in stack at first, (Sequentially in decreasing order, e.g 4, 3, 2, 1), then it will generate a palindrome sequence (Length will be [2^n]-1 for given n numbers). Then you will show Binary numbers of maximum n bit