Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to declare a function in c++ header file

//somefile.h
#ifndef SOMEFILE_H
#define SOMEFILE_H
int add(int a, int b);
#endif
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #declare #function #header #file
ADD COMMENT
Topic
Name
8+5 =