 |
Introduction
Solves the LPP by "SIMPLEX" and "DUAL SIMPLEX" method.
The code
Simplex Method Code
#include <stdio.h>
#include <conio.h>
By shabbir
Last Message By omidrezak
|
11 35,213 |
 |
I wanted to make a remake of my previous BAD versions of these 2 functions.
I think they are working great now, and they're portable the same as the originals from STD library.
ATOI
/********************************************************************************************************
...
By david_BS
Last Message By david_BS
|
1 6,009 |
 |
The below code is a calculator in plain C. It does not take into account the operability of bodmas but just one operation at a time.
The main thing in the source code below in the scanf which scans the input as number symbol number just as in case of normal calculator.
#include<stdio.h>
...
By coderzone
Last Message By rioeduardo
|
34 120,945 |
 |
Strings are paramount datatype for any real use case scenario. However, in C, there is no basic datatype as ‘string’. A string is understood as a collection set of characters i.e. in programmatic language, an array of characters, which are:
Directly assigned in double quotes
Terminated by a...
By Trinity
Last Message By c_user
|
3 2,309 |
 |
Introduction
Definition: Pointer is a variable which stores address of another variable.
To understand this definition properly, let us separate it into two statements:
1. Pointer is a variable.
2. It stores address of another variable.
Consider the first statement, it means that a...
By Sanskruti
Last Message By samraj
|
8 8,251 |
 |
As it is said, great things are in small ones. Its someway true in C as well. Working on bits rather than bytes, and other bigger data structures leverage implementations in speed and space efficiency. With really high end computers coming up these days, bitwise operations may not be that useful in...
By Trinity
Last Message By grizlizli
|
4 1,872 |
 |
Error handling has always been dominantly vital in programming. It has become a bit more sophisticated with the object oriented languages, however even in the system programming language like C, error handling is being offered in its own simple ways.
Introduction
To swim deep into the...
By Trinity
|
0 1,520 |
 |
InFix to PostFix
Introduction
Infix Expression :
Notation in which the operator separates its operands. Eg (a + b) * c. Infix notation requires the use of brackets to specify the order of evaluation.
Postfix Expression :
By shabbir
Last Message By Jack Hard
|
30 88,115 |
 |
The keyword ‘static’ has been widely used in many programming languages. I know it is there in Java, C and C++. I am pretty sure, it is must be used in other languages as well, even though it might depict different attributes and characteristics. However, we are going to learn about the keyword...
By Trinity
Last Message By Rajesh M. Kanojia
|
1 2,099 |
 |
Pretty sure, one must have used the datatype ‘float’ numerous number of times since the day one has started programming. However, there are many times, when we mishandle floats and doubles, or get unexpected results while using float variables or find ourselves being perplexed while using floating...
By Trinity
|
0 1,548 |
 |
WHAT IS A UNION
A union, is a collection of variables of different types, just like a structure. However, with unions, you can only store information in one field at any one time.
You can picture a union as like a chunk of memory that is used to store variables of different types. Once a new...
By Amit Ray
Last Message By IkarusDowned
|
12 184,957 |
 |
When an ELF executable is executed, a process is created and its process image is create in the RAM. However, it is here in the process image in RAM, all the variables are assigned memory. Sometimes memory is allocated statically i.e. defined how much memory at the compile time, and at times it has...
By Trinity
Last Message By chinujhon
|
3 2,126 |
 |
GCC provides quite a lot of builtin functions. These functions are part of standard C offered by the compiler and may come in various variants as per the gcc. These are also termed as hardware specific functions which are internally implemented in assembly or we can say machine instructions, with...
By Trinity
|
0 2,146 |
 |
For a given problem, there maybe many solutions, but we always look for a ‘better’ solution. So, how do we determine which solution is ‘better’? In the context of algorithms and programs, we consider a solution as ‘better’ when it uses the minimum resources. Hence, an efficient program will always...
By Trinity
|
0 2,152 |
 |
Using URLDownloadToFile function
In this article I would want to show you how to download a file from internet using URLDownloadToFile function in C language. I think everybody has ever experienced the downloading a file with Internet Explorer. IE is using directly this function, but It uses...
By Scripting
Last Message By Naresh Twanabasu
|
3 2,985 |
 |
Algorithms are the riches of any programming language. The major objective of any algorithm is being efficient and optimized. For any logical scenarios, the prime and foremost is designing an algorithm. In this article, we shall we be discussing one such scenario to determine the k-th maximum /...
By Trinity
|
0 2,157 |
 |
The Need
Most of our articles over here are focused on Linux programming. However, many of us, especially beginners are still comfortable and much used to Windows environment, the look and feel of it.
And also,many out of them tend to avoid Linux programming because of the pain of installing...
By Trinity
|
0 8,697 |
 |
/*question number 1*/
int z,x=5,y=-10,a=4,b=2;
z = x++ - --y * b / a;What number will z in the sample code above contain?
Choice 1
5
Choice 2
6
Choice 3
10 Corrected by buddy by running the program
Choice 4
By coderzone
Last Message By niveshetty91
|
153 356,266 |
 |
What are Hash Tables?
Hash table is a data structure to store key value pairs for all situations. So it is like a table with each entry has a key and a value corresponding to it. So, it is an efficient way of mapping and accessing data.
An abstract illustration of hash table:
-> Data...
By Trinity
|
0 2,449 |
 |
During C programming, file operations are pretty common. And when you are writing programs in C on Linux, two familiar terms related to file operations are File Pointers and File Descriptors.
We know both are different, but what are they? This article will focus on understanding what are file...
By Trinity
|
0 2,171 |