Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C Programs C

Basics of File Handling in C

So far the operations using C program are done on a prompt / terminal which is not stored anywhere. But in the software industry, most of the programs are written to ...

Error Handling in C programs

Although C does not provide direct support to error handling (or exception handling), there are ways through which error handling can be done in C. A programmer has t...
C C++ C

Exception handling and object destruction Set 1

Predict the output of following C++ program. #include <iostream> using namespace std;    class Test { public:   Test() { cout &...
C C++ School Programming

Exception Handling in C++

One of the advantages of C++ over C is Exception Handling. Exceptions are run-time anomalies or abnormal conditions that a program encounters during its execution. T...
C++ cpp-file-handling CPP-Library

Set position with seekg() in C++ language file handling

seekg() is a function in the iostream library (part of the standard library) that allows you to seek to an arbitrary position in a file. It is used in file handling t...

C++ Signal Handling

Signals are the interrupts that force an OS to stop its ongoing task and attend the task for which the interrupt has been sent. These interrupts can pause a service i...
C++ Java cpp-exception

Comparison of Exception Handling in C++ and Java

Both languages use try, catch and throw keywords for exception handling, and meaning of try, catch and free blocks is also same in both languages. Following are the d...
Java Java-Exception Handling Java-Exceptions

Output of Java program Set 12(Exception Handling)

Prerequisites : Exception handling , control flow in try-catch-finally 1) What is the output of the following program? public class Test {   &#xA...
JavaScript Web Technologies javascript-basics

Javascript Error and Exceptional Handling With Examples

An error is an action which is inaccurate or incorrect. There are three types of error in programming which are discusses below : Syntax error Logical error Runtime ...
GBlog Project Python Django

Handling Ajax request in Django

Introduction This tutorial explains how to carry out a ajax request in Django web framework. We will create a simple post-liking app as a part of example. Glossary ...

Subscribe to Our Newsletter