| | |
what is a header block of the fuction
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2009
Posts: 45
Reputation:
Solved Threads: 5
0
#2 26 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; 26 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 class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node output parameter pointer problem program programming project proxy python read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





