- #1
Jammin_James
- 49
- 0
Hey all!
I've been reading through my book trying to figure all this out for my Data Structures class and I'm typing this out while I take a break from reading the book.
I'm looking over the examples from class and my teacher has header, implementation and test files. There is no input from a user that I can see in these programs, which is where these test files come in. Also, I think I understand why people use header and imp files, but I'm having troubles understanding how aurguments are passed between them. I'm also having trouble with the declarations in header and implementation files.
IN HEADER:
class Date
{
Date(arguments)
}
IN IMPLEMENTATION FILE:
Date::Date(arguments)
Is my teacher making the function declaration twice?
I could link the code if you'd like because I really doubt any of this made sense, haha.
I've been reading through my book trying to figure all this out for my Data Structures class and I'm typing this out while I take a break from reading the book.
I'm looking over the examples from class and my teacher has header, implementation and test files. There is no input from a user that I can see in these programs, which is where these test files come in. Also, I think I understand why people use header and imp files, but I'm having troubles understanding how aurguments are passed between them. I'm also having trouble with the declarations in header and implementation files.
IN HEADER:
class Date
{
Date(arguments)
}
IN IMPLEMENTATION FILE:
Date::Date(arguments)
Is my teacher making the function declaration twice?
I could link the code if you'd like because I really doubt any of this made sense, haha.