Facebook killed the radio star. And by radio star, I mean the premise of distributed forums around the internet. And that got got by Instagram/SnapChat. And that got got by TikTok. Where the fuck is the internet we once knew?
0 Members and 1 Guest are viewing this topic.
Go to your local library, mine has tons of programming books.
You shouldn't use "true" in C, it's not standard. TRUE is better.
MyndFyre, I'm sure you're well aware that you need to create an eBook class. =)
int main(void);bool like(const book* );class book {public: void buy(void) { } void trash(void) { }};bool like(const book* pbook) { return true;}int main(){ book eBook; if ( like(&eBook) == true ) { eBook.buy; } else { eBook.trash; } return 0;}
c:\Documents and Settings\robp.MINNOW\My Documents\Visual Studio Projects\Testbed\Testbed\Testbed.cpp(27) : warning C4551: function call missing argument listc:\Documents and Settings\robp.MINNOW\My Documents\Visual Studio Projects\Testbed\Testbed\Testbed.cpp(29) : warning C4551: function call missing argument list
I have a programming folder, and I have nothing of value there
Our species really annoys me.
You not only checked it on a different operating system, you checked it on a different compiler. If you want to check somebody's code, you ought to at least use the same technology they're using :-P
1 The expression that denotes the called function78) shall have type pointer to functionreturning void or returning an object type other than an array type.
Most often, this is the result of converting an identifier that is a function designator.
A postfix expression followed by parentheses () containing a possibly empty, comma-separatedlist of expressions is a function call. The postfix expression denotes the calledfunction. The list of expressions specifies the arguments to the function.
I assumed those were variables, in which case, I don't think it'll have any warnings. Of course, it won't do anything either..
I'd personally do as Joe suggests
You might be right about that, Joe.
Its neither C nor C++. Its pseudo-C. You lose.On a side note, I'd prefer a physical book too, asuming I had a million dollars (those things are not cheap, and I am broke), and a rocket (it takes a while to get to the store, whereas I can download a book in about a half hour (for big ones)).
I also perfer physical books, I find myself keeping my attention more easily when I'm reading something that's inked on paper as opposed to illuminated on my screen.