An open API service indexing awesome lists of open source software.

https://github.com/offensive-vk/classics

Classics: (C/C++) ~ This Repository Contains All of My C & C++ Programs. Hence, An Old School Repo. All Programs Have Categorized for Reference.
https://github.com/offensive-vk/classics

assembly bash c cpp

Last synced: 10 months ago
JSON representation

Classics: (C/C++) ~ This Repository Contains All of My C & C++ Programs. Hence, An Old School Repo. All Programs Have Categorized for Reference.

Awesome Lists containing this project

README

          



c


cplusplus

# **What is C** ?

C is a general-purpose, low level computer programming language. It was created in the 1970s by Dennis Ritchie, and remains very widely used and most influential.
C is an imperative procedural language, supporting structured programming, lexical variable scope, and recursion, with a static type system. It was designed to be compiled to provide low-level access to memory and language constructs that map efficiently to machine instructions.

- Paradigm - Multi-paradigm: imperative (procedural), structured
- Designed by **Dennis Ritchie**
- First appeared - 1972; (50+ years ago)
- Typing discipline - Static, weak, manifest, nominal
- OS - Cross-platform
- Filename extensions .c, .h
- Read More at [Wikipedia](https://en.wikipedia.org/wiki/C_(programming_language))

# **What is C++** ?

C++ is a general-purpose, high level, object based, statically typed programming language developed as an extension of the C programming language.
C++ was designed with systems programming and embedded, resource-constrained software and large systems in mind, with performance, efficiency, and flexibility of use as its design highlights.

- Paradigms - Multi-paradigm: procedural, imperative, functional, object-oriented, generic, modular
- Designed by **Bjarne Stroustrup**
- First appeared in 1985; (39 years ago)
- Typing discipline - Static, strong, nominative, partially inferred
- OS - Cross-platform
- Filename extensions - .c, .cc, .cpp, .cxx, .c++, .h, .H, .hh, .hpp, .hxx, .h++ .cppm, .ixx.
- Read More at [Wikipedia](https://en.wikipedia.org/wiki/C%2B%2B)

## Classics - C and C++ Programs

- C/C++ both are awesome programming languages. Yet Powerful also.
- You can find Contribution Guidelines [here](https://github.com/offensive-vk/Classics/blob/classic/CONTRIBUTING.md) and Security Guidelines [here.](https://github.com/offensive-vk/Classics/blob/classic/SECURITY.md)
- This Repository Contains All of My Best C & C++ Programs.
- Trick - Every C Program is also a Valid C++ Program.
- (i.e You Can Save Your C Source Code with .cpp extension.)
- Enjoy ! _You can try Shell Scripting too._ [Try Now >](https://github.com/offensive-vk/Classics/blob/classic/Bash/)

## Sample Program

```c++
#include
int main(int argc, char const *argv[]) {
int i = 0;
while (i < 1000000000)
{
i++;
}
std::cout << "Hello All, C++ is Easy. !!" << std::endl;
std::cout << i << std::endl;
return 0;
}
```

### To Compile any .cpp | .cxx | .c++ file

```bash
$ g++ filename.cpp -o filename
```

### To Compile any .c program

```bash
$ gcc filename.c -o filename
```

You are allowed to copy and implement these programs freely.

## Happy Coding - [offensive-vk](https://github.com/offensive-vk/)

***


© Vedansh 2020 - Present

Licensed under GNU General Public License



Thanks for visiting :)