- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
-1st year com sci university aspiring to be a programmer and maybe eventually having my own startup
-Currently learning C
- Interests
- Programming
7 Posted Topics
Re: [quote=sunnypalsingh;159708]There's another veru nice book Thinking In C++,2nd Edition by Bruce Eckel[/quote] Bruce Eckel's "Thinking in C" is an audio-visual primer (similar to a university lecture) that explores the major features of C, designed to prepare the audience for further studies in Java and/or C++. The material is still in … | |
I'm been working through my textbook and just can't seem to understand the section on covariant return types. ie) what are covariant return types, what they are used for, etc. The definition in the book is as follows. [QUOTE]An overridden method in a derived class can return a type derived … | |
Re: This is an interesting article. I can't attest to the validity of the claims, but it's called "New secure browser Browzar is fake and full of adware" http://web3.0log.org/2006/09/01/new-secure-browser-browzar-is-fake-and-full-of-adware/ While you're at it you might also want to check out http://news.bbc.co.uk/2/hi/technology/5310114.stm | |
I'm self-teaching myself C with a complete reference book. Unfortunately that means that the author assumes that the reader is familiar with fundamental concepts and doesn't bother commenting the code. Here is an unnecessarily obfuscated code excerpt demonstrating "the use of return statements" along with my attempt to understand what … | |
Re: [quote=Starfighter330;248623]Where would that go in the code?[/quote] You could use a for loop to receive input 10 times. It would go something like [code] for (int i=0;i<=10;i++) sumoftemp += inputtemp; //the running total[/code] Assuming you receive 10 values for input, you would then just divide the sum by 10. This … | |
I'm trying to use scansets to filter out out some textfiles. #include <stdio.h> int main( void) { int i; char str[ 80], str2[ 80]; scanf("%d %[abcdefg] %s", &i, str, str2); printf("%d %s %s", i, str, str2); getchar(); return 0; } When I input "123abcdtye" I expect the output to be … | |
Re: [quote=Salem;247886]> and my source file is in the same folder as boost. This is a mistake - don't put your code in the same place as third-party libraries. [/quote] Is this bad practice or simply illegal? How/why should it affect anything? I don't mean to challenge you or anything. I'm … |
The End.