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
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
- C/C++ both are awesome programming languages. Yet Powerful also.
- You can find Contribution Guidelines here and Security Guidelines here.
- This Repository Contains All of My Best C & C++ Programs.
- Trick - All Valid C Code is Also A Valid C++ Code.
- (i.e You Can Save Your C Source Code with .cpp extension.)
- Enjoy ! You can try Shell Scripting too. Try Now >
#include <iostream>
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;
}
$ g++ filename.cpp -o filename
$ gcc filename.c -o filename
You are allowed to copy and implement these programs freely.
Happy Coding ~ offensive-vk
© Vedansh 2020 - Present
Licensed under GNU General Public License
Thanks for visiting :)