Deprecated: Optional parameter $i declared before required parameter $data is implicitly treated as a required parameter in /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php on line 4

Deprecated: Optional parameter $i declared before required parameter $data is implicitly treated as a required parameter in /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php on line 245

Deprecated: Optional parameter $output declared before required parameter $attr is implicitly treated as a required parameter in /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/snippets.php on line 431

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909

Warning: Cannot modify header information - headers already sent by (output started at /home4/aipsa9vw/public_html/blogs/wp-content/themes/voice/include/modules.php:4) in /home4/aipsa9vw/public_html/blogs/wp-includes/rest-api/class-wp-rest-server.php on line 1909
{"id":443,"date":"2023-02-12T02:16:00","date_gmt":"2023-02-12T02:16:00","guid":{"rendered":"https:\/\/aipsacademy.com\/blogs\/?p=443"},"modified":"2023-02-12T02:16:01","modified_gmt":"2023-02-12T02:16:01","slug":"how-to-create-own-header-file-in-c-with-example","status":"publish","type":"post","link":"https:\/\/aipsacademy.com\/blogs\/2023\/02\/12\/how-to-create-own-header-file-in-c-with-example\/","title":{"rendered":"How to create own Header File in C++ with example"},"content":{"rendered":"\n

In this topic we are going to learn How to create own <\/strong>header file<\/strong><\/a> in c++ in very easy steps.<\/strong><\/p>\n\n\n\n

As we know that Header file is a file that contains the definition of <\/strong>functions or methods<\/strong><\/a>.<\/strong><\/p>\n\n\n\n

It has extension .h by default.<\/em><\/strong><\/strong><\/p>\n\n\n\n

If we write header files in a program then their respective <\/strong>functions<\/strong><\/a> can be used.<\/strong><\/p>\n\n\n\n

If we use any function and respective header file related with that function not included in program then compiler generates prototype error.<\/strong><\/p>\n\n\n\n

There are various header files in C++ which contains functions<\/a> definition .<\/ins><\/strong><\/p>\n\n\n\n

for example<\/ins><\/strong><\/p>\n\n\n\n

#include<iostream.h><\/ins><\/strong><\/p>\n\n\n\n

contains the method related to input output like cin, cout\u2026..<\/ins><\/strong><\/p>\n\n\n\n

#include<conio.h><\/ins><\/strong><\/p>\n\n\n\n

contains the method related to console input output like clsrscr(), getch(), etc..<\/ins><\/strong><\/p>\n\n\n\n

#include<math.h><\/ins><\/strong><\/p>\n\n\n\n

contains the method related to mathematics like sqrt( ), pow(), etc\u2026<\/ins><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

In this topic we are going to learn How to create own header file in c++ in very easy steps. As we know that Header file is a file that contains the definition of functions or methods. It has extension .h by default. If we write header files in a program then their respective functions can be used. If we […]<\/p>\n","protected":false},"author":1,"featured_media":444,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,3,9,7,8,6],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-11th-computer-science","category-12th-computer-science","category-bca","category-cbse-12th-computer-science","category-cbse","category-jac-12th-computer-science","category-jac"],"_links":{"self":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":1,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/443\/revisions\/445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/media\/444"}],"wp:attachment":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/media?parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/categories?post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/tags?post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}