| | |
what is a header block of the fuction
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2009
Posts: 44
Reputation:
Solved Threads: 5
0
#2 25 Days Ago
•
•
•
•
my assignment says to "Finish the header block on the function.
" What is the header block? Is it the // (write information) or is it something else?
i.e.:
c++ Syntax (Toggle Plain Text)
int myFunction (double arg1, bool arg2 [, more args]) //<-- the function header { //pre: precondition1 // precondition2 //post: result1 // result2 //...action statements... }
Note, if you are going to use a prototype / declaration statement, it must match the header.
Last edited by Fbody; 25 Days Ago at 3:55 pm.
![]() |
Similar Threads
- problem in converting HTML to PDF using tidy (Java)
- Calling a Javascript Function From PHP (PHP)
- filestream read with lock-unlock problem (C#)
- Layered elements in liquid lay-out (HTML and CSS)
- Newbie's Blogger Blog Woes (Windows NT / 2000 / XP)
- space between header and spry nav bar in E7 (Site Layout and Usability)
- reasons why malloc fails? (C)
- CSS not working in FireFox (HTML and CSS)
- Stupid CSS problem... (HTML and CSS)
- returning a value from a header file (C++)
Other Threads in the C++ Forum
- Previous Thread: Creating a triangle in C++
- Next Thread: else if statement in for loops
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





