×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • RANDOM
  • One Liner

Software Engineering

Software Engineering is the fastest growing domain which is related to the art of building and designing systems using software concepts and programming. It is the basis of giant companies such as Microsoft, Google, Facebook, Baidu, Alibaba, Apple and others.

Software Engineering

Working with Navigator property of DOM

In this article, we will look into navigator property of window object of a web document and use it to get information about the browser and load different code depending on browser.

Dawit U
Software Engineering

Different ways to initialize unordered_map in C++

In this article, we are going to learn about Unordered_map in C++ and specifically how to initialize them in our code in 4 different ways.

Sourajeet Mohanty Sourajeet Mohanty
Software Engineering

Introduction to Lambda Expression in Java

Lambda Expression is one of the newest features introduced in Java 8 release. It is an expression but in the form of an anonymous function definition.

Navya Praniyath
Software Engineering

Swapping a queue in C++ STL

In this article, we will explore examples of swapping queues. We can swap a queue in C++ STL in two ways using std::queue::swap and using std::swap.

Sai Kranthi
Software Engineering

#include in C

#include is a preprocessor directive in C and C++ to include the code from other files (header files + C/ C++ code) in the current file.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Using Assert.h in C

In this article we'll talk about one of those header files, namely the assert.h header file. First we'll look at the purpose of this file, second we'll go over code examples and in the third part we'll dive a little deeper into the details of this header file and tips on how to use it.

Anton de Regt
Software Engineering

Java Time Package

This article brings a brief introduction to some classes available by the Date/Time Java API, with samples to the main characteristics of each one of them.

Gabriel Lechenco Gabriel Lechenco
Software Engineering

Detect Operating System in C

To check the operating system of the host in a C or C++ code, we need to check the macros defined by the compiler (GNU GCC or G++). For example, on Windows platform, the compiler has a special macro named _WIN32 defined.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

#error directive in C

#error is a preprocessor directive in C which is used to raise an error during compilation and terminate the process.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Compilation process in C (from code.c to a.out)

Compilation is the process of converting a code in a programming language (C in our case) to machine code. In this process, the code goes through different steps depending upon the compiler and language. We will explore the compilation steps in C.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Check if a header file in C has been included

To check if an header file has been included or not in a C or C++ code, we need to check if the macro defined in the header file is being defined in the client code.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

#warning directive in C

#warning is a preprocessor directive in C which is used to raise compilation warnings for various situations. It is different from #error directive in that #warning will not cancel the compilation process while #error will cancel it.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

#undef directive in C

#undef is a preprocessor directive to remove an existing macro. It is useful as the only way to update an existing macro is to delete it (using undef) and create a new macro (using define).

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Basics of Reflection in Java

In Java, Reflection is a powerful and advanced feature that enables the programmers to inspect or modify the classes, interfaces, and methods of a program running on Java Virtual Machine.

Navya Praniyath
Software Engineering

Uploading a File to server in Node.JS

In this article, we will learn how to upload any file from the client side to a folder in the server by buidling a Node.js app.

Abhishek Kumar
Software Engineering

Fullscreen API in JavaScript

The full screen API allows an element on a page to be viewed in full screen. It makes it convenient for users to view web content in full pixel width and height.

Dawit U
Software Engineering

#define directive in C

#define is a preprocessor directive in C which is used to define macros. Macros are code framents which has been given a name.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

#ifdef directive in C

ifdef is an include guard. ifndef can be seen as if defined then do this till endif. It is opposite of [ifndef directive

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

#ifndef directive in C

ifndef directive is a define directive in C which checks if a MACRO has been defined previously or not. If it has not been defined, it will execute a set of commands. It is followed by endif.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Getting started with 2D graphics in C++ (SDL2)

We will start by implementing a basic class design which initialize various parameters of SDL with a clear black window. From there, we will implement drawing different shapes and then we will create a simple animation

Shivang Patel
Software Engineering

Automatically delete archives older than two days using Shell Script

In this article, we will understand the concept of Data Purging and learn how to automatically delete archives older than two days using Shell Script and cron tab scheduler.

Kshitiz Saini Kshitiz Saini
Software Engineering

Abstract Base class in Python

In this article we will discuss about Abstract base classes in Python. Abstract classes are an implementation of Abstraction in Object Oriented approach.

Ashutosh Vashisht Ashutosh Vashisht
Software Engineering

Memory Leaks in C

In this article, we explored the core reasons for memory leak in C with examples and how we can prevent such situations while writing C code

Abhishek Kumar
Software Engineering

Convert video to images in Python

In this article, we convert a video to images that is extract its frames in a folder using a Python code through the OpenCV library.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Types of References in Java

In this article, we explore the types of references in Java which includes strong reference, weak reference, soft reference and phantom reference.

Gabriel Lechenco Gabriel Lechenco
OpenGenus IQ © 2025 All rights reserved â„¢
Contact - Email: team@opengenus.org
Primary Address: JR Shinjuku Miraina Tower, Tokyo, Shinjuku 160-0022, JP
Office #2: Commercial Complex D4, Delhi, Delhi 110017, IN
Top Posts LinkedIn Twitter
Android App
Apply for Internship