« first day (491 days earlier)      last day (4443 days later) » 

Als
5:00 AM
@DeadMG The answer explicitly says out the rules that the Standard expects from implementations, other than that I don't know which rules you are talking about and I don't know or neither am i aware of any standard that spells them out.
 
who cares?
the question asks for internal implementation details.
 
Als
of what?
It doesn't mention the implementation
 
references
 
Als
on what implementation?
it doesnt mention that, so the whole argument of how they are implemented is useless
 
he didn't specify one
that doesn't mean that a more general rule can't be stated
just like you can, in general, talk about vtables, even though of course they are completely implementation-specific
 
Als
5:02 AM
General Rule? I would love to see some references, since you said it's a Rule
 
But I think it's Wrong to downvote a straight question like that. When you ask, it's because you don't know. It's painfully silly to punish someone for asking about that which they don't know.
 
@Als That's what the "general" is for
 
Als
@DeadMG Save the word play
 
@Als You're the one doing that about "rule".
 
References get optimized out approximately the same fraction of the time as pointers. Namely, arguments of inline functions get optimized away, member variables definitely don't, and other cases may vary.
 
Als
5:04 AM
@DeadMG If you can't cite any references,proofs, quotations to support your arguments then I don't see why you would pursue this argument, just because you feel its a general rule?
 
So saying they're implemented as pointers is perfectly valid, because pointers may also have no runtime representation in certain circumstances.
 
Als
I am sorry but that is bogus.
 
@Als Right, because it's so common and normal to start quoting internal implementation details.
let me just get out my Handy Dandy Book of C++ Compiler Internals and get that right out for you
 
Als
@DeadMG A book, Well I am no expert on the subject matter but not all books are perfect.
 
@Als, you do have a mistake in your answer though.
References and const pointers (I do not mean pointer to const) both can refer to different objects, as long as those objects sequentially exist at the same address.
And const pointers also must be bound at initialization, so the second bullet point isn't really a difference either.
 
Als
5:10 AM
@BenVoigt I read your comment. That is under the hood but the observable behavior for the user is what I quote in the answer.
 
A much bigger difference is that a reference to const can extend the lifetime of a temporary.
@Als The binding to storage location is user-observable behavior.
see section 3.8p7
> If, after the lifetime of an object has ended and before the storage which the object occupied is reused or released, a new object is created at the storage location which the original object occupied, a pointer that pointed to the original object, a reference that referred to the original object, or the name of the original object will automatically refer to the new object and, once the lifetime of the new object has started, can be used to manipulate the new object, if ...
 
Als
@BenVoigt It's a difference in the sense that All references must be bound to a object, non-const pointers may not be bound to an object.
 
@Als: But const pointers must be initialized also.
 
Is it possible to do a runtime check for numbers that are inf or nan in C++?
 
Anyway, point three being wrong, and not mentioning the effect on lifetime of temporaries, are both more serious.
@FaheemMitha isfinite() (and negate the result)
 
5:13 AM
can you simply do x == 'nan'?
@BenVoigt : Ah, ok.
@BenVoigt : Thanks Ben.
 
Als
@FaheemMitha: here you go:
17
A: Checking if a double (or float) is nan in C++

Alf P. SteinbachThere are three "official" ways: posix isnan macro, c++0x isnan function template, or visual c++ _isnan function. Unfortunately it's rather impractical to detect which of those to use. And unfortunately, there's no reliable way to detect whether you have IEEE 754 representation with NaNs. The s...

 
@FaheemMitha: Actually everything on this page you might find useful: linux.die.net/man/3/isfinite
 
@Als Thanks.
 
Als
@BenVoigt: How do you suggest to improve the answer? Feel free to modify it to your liking and make it a community wiki.
Or perhaps you can add a answer of your own.
If you feel the inclination to do so.
 
I have a strange problem with MSVC
3
I have two cpp files, both are called "main", but the linker only seems to be recognizing one of them
 
5:19 AM
@DeadMG he he, who doesn't?
 
@AlfPSteinbach Give the man a star :)
 
full rebuild fixed
I think it was just a silly incremental rebuild bug
now to see if it actually executes correctly
seems to be functional
but how on earth did I create a window with no close/restore/minimize buttons?
 
I feel like this might be a simple / silly question, but I can't figure it out -- if anyone's interested... I'm trying to figure out how to rewrite this for ifstream& and ofstream& instead of fstream&: pastebin.com/p0msFNiC
 
@DeadMG Check the window styles
 
5:27 AM
@AlfPSteinbach Yeah, just done that.
but what's the "normal" style?
I found "fullscreen windowed" (in game terms) and I managed to add an X button, but no minimize or restore yet
 
For a top level window the "normal" style is WS_OVERLAPPEDWINDOW, which is a combination of other flags
"Creates an overlapped window with the WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX styles"
The H3 help viewer is sloooooooooow.
 
@AlfPSteinbach: Just use MSDN for this purpose: msdn.microsoft.com/en-us/library/windows/desktop/ms632600.aspx
 
ok
cheers
hmmm, I have a new problem
I've used the WS_POPUP style, but it's not covering the taskbar, even when I've maximized it
also, it peeks over onto my other screen by a few pixels
 
how would you get the number of lines in a file using C++?
is there a data value you can access internally or do you have to use a for loop?
 
how could they gain the data value? the OS probably didn't even load the whole file into memory yet
and doing that might even be impossible
there's no way to know the number of files in a line except to iterate through the whole lot and count them
 
5:39 AM
std::count_if with a predicate to match CRs?
 
Also, you might want to do a seek to file end and make sure your file isn't enormous ahead of time ;)
 
@robjb good advice :)
@DeadMG I don't know the insides and outs of C++, so I didnt really know if there was a lower-level way of gaining the information, a for loop will work though :)
 
heh
the answer is irrelevant of the calling language
when dealing with IO, the OS is the boss
 
Lol windows, the boss? Oh no.
does anyone use chrome?
 
@Hoxieboy: Lots of people use chrome
 
5:42 AM
@Insilico anyone in this room specifically
 
I do, but not on a regular basis
 
I do
 
I'm using it now
 
have any of noticed that if you leave a tab open long enough, when you try to close it, it lags a bit?
 
I actually have multiple browsers to test out my HTML/Javascript/CSS skills (read: none whatsoever)
 
5:43 AM
no
 
it may be that my computer has only one cpu and 446 mb of ram (heh :3)
 
Not really
 
@Hoxieboy: Well, it could be that the OS has swapped out the tab to the drive
 
it almost seems as though the pages get pushed to the back of some "list of priority" and when I try to close it, it has to bring it forward
@Insilico exactly
its rather annoying too, because it does it for EVERY program I leave open
 
Well, you can start by getting a PC with specs better than the ones sold during the start of this millenia
:-)
 
5:46 AM
@Insilico that MIGHT, hear me out a bit, MIGHT be a good idea, I'll have to think about that ;) however, my funding is limited :P
 
Just get some more memory sticks and see if that works
 
if you think my one cpu and ram is bad, wait till you here about the graphics card this baby has on it
@Insilico it IS a laptop, I don't think I can get any sticks of ram that are higher than what it has on it already :P
it has a SIS integrated graphics card... it can barely support 2d
 
@Hoxieboy It's called the operating system's swap file
 
Are you running on a Windows XP machine then?
 
yes
@DeadMG thanks, now I finally know why my computer hates me so much :)
 
5:49 AM
Dang, go get a new machine
 
yeah
 
XP isnt bad, but if I had more than a few dimes I would, trust me
 
you really need a lot more than that to run programs designed in this decade
 
@Hoxieboy: You don't even need that much money for a decent machine nowadays
 
@DeadMG trust me, I know, by experience :(
 
5:51 AM
I think MS is dropping support for XP in like 2 years
 
@Insilico Where would be a good place to find one? my dad has a computer mechanic for a friend, and that guy literally GAVE me this computer, I had to crack the BIOS password on it, and got a free windows machine :3
 
I know that XP SP2 support has already ended
 
I don't ever update this thing anyways :P
 
argh stupid NULL termination!
 
@Hoxieboy: I don't know, I don't shop around often enough to tell you
Start online though
 
5:53 AM
@Insilico me and my dad look around on craigslist lol
 
At least for reviews
 
"Its the destroyer of data, NULL!"
 
Honestly craigslist is the last place I go for computers
 
@Insilico Have you seen the dreaded mac disease?
 
It's good for lots of things, computers are IMO not one of them
"dreaded mac disease"?
No I haven't
 
5:54 AM
@Hoxieboy buy yourself an ASUS laptop
 
I already had one, my dad actually traded my asus for this machine though :P
it was a mini :D it was like 8 by 10
inches
@Insilico lemme find it on the interwebz :P
 
oh man
 
Still, you should really consider getting a new machine
 
I coded my window so that you could type straight into the title bar
I find it (somewhat) hilarious
 
Windows XP is ancient by technology standards
@DeadMG: In the non-client area?
 
5:57 AM
@Insilico I'm serious too, I really want a new computer all together badly :P
 
yeah
 
@Insilico except for lack of 64-bit support, XP is better and faster and much more functionally complete than Vista or 7.
 
what's the simplest way to exit a program immediately? I've been using std::runtime_error.
 
If I win my engineering class' contest I could win a 1 terrabyte harddrive
 
@AlfPSteinbach: Really? I've had the opposite experience
 
5:57 AM
but I don't know if that is recommended.
 
Windows 7's "search for the program in the start menu" thing is way better than XP's big-ass fly-out menu
 
@FaheemMitha I use return 0;
 
@Insilico that's weird. all the time i find stuff missing in windows 7. i have yet to find anything new.
 
@FaheemMitha Right now, I'm doing while(process_windows_messages() && still_alive)
@AlfPSteinbach I love the new taskbar pinning. It's irreplacable.
 
@Insilico XD
 
5:58 AM
ARRGH I HATE SUNDAYS
why stupid trading laws? :(
 
"I love the new taskbar pinning" "AARGH I HATE SUNDAYS" rofl?
 
It's not Sunday where I live :-)
 
@DeadMG i find it problematic. and it is an example of thing removed in Windows 7, namely taskbar controls. it's whole big API just down the drain.
 
what?
 
(Not for at least another 2 hours)
 
5:59 AM
@AlfPSteinbach The new taskbar is a big improvement on the old one.
at least, for us users
 
I think he's talking about the "deskbar" thing
 
@DeadMG oh no. as far as I am concerned, it is Big Shit. it really stinks. nothing's good about it. it is extremely limited compared to Windows XP. it is intentionally lobotomized.
 
The Windows XP taskbar could show like, 3 active programs at once
 
@AlfPSteinbach: Again, I have the exact opposite experience.
 
@AlfPSteinbach isnt that what registry edits are for? lol.
 
6:01 AM
the Windows 7 taskbar can show about thirty programs which are active or inactive and allow easy startup of those which are inactive
 
Are we even talking about the same operating system?
 
now, VISTA
 
consider the history of this thing. the lobotomization started with XP service pack 2, i think it was. then they removed the app bar where you could type in commands etc.
 
Eh?
 
@AlfPSteinbach Who cares about the history? I sure don't.
 
6:02 AM
As in the command-line?
 
what I care about is that in Windows 7, I can pin shit, and in Windows Vista/XP, I can't
and in Windows 7, the icons can have a much more reasonable size
 
the only thing I like about vista is that you can right click and open a terminal in the directory you wish
 
@DeadMG no it can't, not in any reasonable way. the grouping doesn't work. it is counter-intuitive that for activation you have to click in little silly iconic windows presented and cannot click in the dynamically presented actual window.
 
Honestly everytime I have to use Windows XP it pisses me off because I can't just type the program name
 
it's just shitty
 
6:02 AM
@DeadMG : I don't use windows. Based on earlier discussions, I gather you do. :-)
 
to launch it
 
it Does Not Work.
 
@Insilico I simply created a shortcut to cmd.exe and use that, its much like dos
in fact, it IS dos
 
@AlfPSteinbach What do you mean?
 
God, my internet connection sucks. One of the many annoyances of living in India.
 
6:03 AM
@FaheemMitha lol move to sweden, they have the best interwebs :D
 
Hell all I need to do to launch the command line is "Windows Key + cmd + enter"
 
if you want to launch the program, you click the icon
if you want to launch the program or switch to the active window, you click the icon or the app window
 
e.g. for the standard games I made a pretend-menu by placing link to folder in taskbar, and minimizing height, and then menu pops up when u click there. but the darned Windows 7 taskbar can't remember the height of that element. it can't even remember its own width. it's pure shit. full of bugs and design errors.
 
@Hoxieboy : Wish I could. Isn't it cold, though?
 
@Insilico I ust ctrl+alt+T
 
6:04 AM
i mean, both coding errors and design errors. plus the lobotomization where at least one big whole API has been removed.
 
@FaheemMitha yeah, it much further up north than india, but hey, thats what heaters are for right? XD
 
@AlfPSteinbach You're supposed to just pin the individual games you use most.
it's not a Start bar replacement
 
@AlfPSteinbach: [citation needed]
 
@Hoxieboy Yup. Is that where you are?
 
Microsoft has actually been very hesitant to remove old API functions
 
6:05 AM
@Insilico I can be your citation :s
@FaheemMitha Nah I'm in the US, very close to canada
everyone, you're making me want to cry right now... I miss linux :(
 
is there any advantage/disadvantage over using return 0 vs throwing an exception if you want to exit with an error? the latter seems more c++ ish.
 
@Hoxieboy: How so?
 
@DeadMG well that's what i'm talking about. when the functionality to do what I want has been removed, and no alternative is provided, then it's less functional than in XP.
 
@Hoxieboy I see. Cold there too, I guess.
 
you can return any error code you want
 
6:06 AM
@Hoxieboy : Why do you miss Linux?
 
@FaheemMitha yup, it essentially equivalent to germany
 
@FaheemMitha Always throw exception, in general.
 
I may be missing context - not been following the discussion.
 
@AlfPSteinbach: Honestly it almost seems like you're using a different OS than the one I'm using right now
 
there are of course minor cases where you want to use a return code instead, but they're generally Bad Newsâ„¢
 
6:07 AM
@DeadMG : Ok. Any recommended general purpose exception to throw? Like I said, I've been using std::runtime_error.
 
usually, you would create a specific exception class
 
@FaheemMitha linux was just so... shelly? I don't know it seemed like a really fast and reliable system, never threw errors coughs bluescreen of death coughs
 
for specific errors
 
@Hoxieboy Ok. Why not use linux then?
 
different exception classes indicate different kinds of error
 
6:08 AM
@DeadMG lol why the tm after bad news? overkill :)
 
runtime_error is usually a pretty good start, though, and I certainly do the lazy man's way of throwing it because I can't be arsed to do the job properly
 
@DeadMG : Ok. What is the correct one for bad numerical values ie infs and nans?
 
@Hoxieboy It's a signature thing of mine. I do it for Funâ„¢.
@FaheemMitha I believe there is a std::invalid_argument or something like that
 
@DeadMG lol
 
@Hoxieboy: I swear 90% of BSODs are caused by some crappy video driver cough nVidia cough
 
6:09 AM
@Insilico cough SIS cough
 
@Insilico Microsoft have been saying for a while that almost all BSODs are caused by bad drivers.
 
@DeadMG Hmm, ok. Did the new std add new exceptions too?
I have a book, but its the Josuttis std library from 1998 or something.
 
I literally get a BSOD almost every time I try to run duke nukem 3d ;)
 
I think, a good example of the downhill trend of the design is the common bass/treble controls
 
though, sometimes it works and runs perfectly...
 
6:10 AM
who among you know where they are in Vista/7?
 
@Hoxieboy: TRWTF is you're playing Duke Nukem 3D. :-P
 
or whether they are?
 
@AlfPSteinbach: I know for a fact I'm running on Windows 7
 
@Insilico Don't judge, I'm sensitive
 
@Insilico well, do you? do you know whether Vista/7 has common bass/treble controls, and if so, where they are? is the user interface clear enough that you know?
 
6:11 AM
@Hoxieboy: I didn't actually mean that
@AlfPSteinbach: Well, you did ask "who among you know where they are in Vista/7?"
And I'm clearly in a web browser
(not literally speaking of course)
 
what... the... f*ck, I search "mac user" and THIS is what comes up?
omg, kill it
with fire
hurry, get a good look before I delete it!
I am emotionally and physically traumatized
 
@AlfPSteinbach: That's almost certainly dependent on the sound card
@Hoxieboy: BTW I still don't know what the "dreaded mac disease" is
 
@Insilico good guess. in Windows XP it was not dependent on the sound card, because the common (last output stage) controls were provided by Windows. in Vista and 7 it's the sound card software that provides the controls, and Windows merely let you get at them. But where?
 
@Insilico I was too busy being blinded by that... THING, I'm still trying to find the picture :P
 
by the way, i think that guessing already proves the Vista/7 UI design is shitty
it it was good, you would know
 
6:18 AM
@AlfPSteinbach: Control Panel -> Hardware and Sound -> Sound -> Speakers -> Properties -> Enhancements tab
I think, I just typed that on the top of my head
 
try clicking the volume control, -> Mixer, click on loudspeaker icon
 
Well, did you try the "Enhancements" tab?
My sound card comes with an equalizer
@Hoxieboy: My search-engine-fu fails me looking up "dreaded mac disease"
 
@AlfPSteinbach I'm just going to stick with the idea: "Its further in the future, and presumably more people know better ways to do things with newer, better languages" and that windows 7 is better than XP, but vista, burn it with fire before it lays USB sticks
 
@Insilico It's this thing where you buy a mac.
 
@Hoxieboy: Actually I didn't think Vista was that bad. I think it was simply more due to the fact that lots of things changed
 
6:23 AM
the problem is that hardware driver manufacturers totally failed to get their drivers up to speed on the new architecture
and many applications refused to run on Vista for no reason because they had bad Windows version checking code
 
Hell, some driver manufacturers can't get their drivers to work for current version of Windows
 
lol
 
cough ATI cough nVidia cough
 
@Insilico Its also this one picture of a mac computer that has been spilled upon, dropped, smashed, BURNED, punched and sticker'd so much, the white outside was black, several (by several I mean most) of the keys were missing, the screen was broken and showed only 100 rows of pixels, and the speakers were hanging out of its broken case
 
Vista came with many technical improvements, but failed to show the users what could be done with them
 
6:24 AM
that sums the picture up in text :)
 
and the compatibility was poor
 
and the caption said "Typical mac users"
Sorry mac users.
:(
 
Yeah... a Google Image search for "typical mac user" should not be performed.
 
lol
 
I really did not need to see the first image result for "typical mac user"
 
6:27 AM
@Insilico XD
 
I like my Mac. But I don't think I'm a typical Mac user.
 
XD
 
@Insilico Oh yeah, never ever.
 
I used Windows for a very long time.
At work I'm using Linux.
 
I have never wanted Moderate SafeSearch more than when entering that query
 
6:28 AM
@Insilico "Yeah... a Google Image search for "typical mac user" should not be performed." always means everyone will straight away search for it :3
 
Well in this case, Moderate SafeSearch failed miserably
 
Hmm 1999. He should update it.
 
@StackedCrooked How I wish for an alienware tower that can hold os X, *nix, and windows all at the same time, with a hex core
:(
 
@Insilico The girl with the apple shape cut in her arm?
 
@StackedCrooked gods, look further :o (or preferably don't)
 
6:30 AM
only 23 rep to go and then I'm a 10ker on Programmers
 
@DeadMG Hoxieboy looks at his puny 28
:'(
 
@StackedCrooked: Oh, you'll know what I'm talking about when you see it
 
I think I know.
 
XD
 
It's a person eating brown stuff. Or something like that.
 
6:32 AM
Yup.
 
he's having a nice fece lunch, don't question
 
please, dear God, don't remind me of that image
 
Well, to each his own.
 
XD
move /-y *****.png > nul
move /-y nul > nul (just for good measure)
 
Playing around with the SSE instructions for the first time
 
6:34 AM
SSE?
 
vector extensions to X86
 
I would of course get alignment errors
 
@Insilico making a 3d game or something?
 
SSE intrinsics can be pretty addicting if you're just getting into them... :)
 
6:35 AM
Forgot that data for SSE need to be aligned on 16-byte boundaries
@Hoxieboy: No, just seeing how I can use them for intense number crunching
 
sounds juicy
 
Interestingly Visual Studio tells me "Access Violation" instead of "Aignment Exception" or something like that
SSE intrinsics are unbelievably fast compared to straight C++
 
@Insilico But it will say Access Violation at address 0x00000000 or something like that.
 
@Mystical: Yeah that's what I was talking about
 
For misalignment... so it's usually a dead giveaway if you know it isn't a NULL pointer.
 
6:38 AM
I used to dabble in VC++ express, and not have a clue what its for, now I do, oh how ignorant I was :P
 
I would've thought it said "Alignment Exception" or something more detailed
@Hoxieboy: Actually you can use SSE intrinsics in VC++ express
 
@Insilico Yeah, they should fix that.
 
oh god, "I used to dabble in VC++, but then I took an arrow to the knee" :)
 
It's lots of fun because they're way faster
 
@Insilico I still wouldn't really have a clue :P I can't even write a gui menu in C++, I guess all in due time
 
6:39 AM
@Hoxieboy: Yeah, learn proper C++ first. :-)
 
@Insilico And when you start playing with AVX... hehe
 
exactly, also, your nose is broke
nevermind XD
 
Don't mess around with SSE until you know either C or basic C++ pretty well.
 
It sucks too, because every time I try to learn a bit more of C++, I am tempted to go back to using python, because I know the functions so much better. Its hard to resist you know :( then I think about what may come later in learning C++ and drop the idea
 
@Mystical: I'm going to wait until more machines have AVX :-)
@Hoxieboy: I was one of those insane people who started with C++ first
with zero programming knowledge
I think I turned out fine :-)
 
6:42 AM
XD one of those insane masochists?
 
@Insilico If you have an AVX machine now, what I suggest is that whatever you write in SSE, immediately write an AVX version. This forces you to design your code to work on different vector sizes.
 
@Mystical: Is there a way to tell if my processor has AVX support?
 
Once you've beaten that to death, (or you start to feel it get too repetitive), you can start learning about template and macro hacks to do generic SIMD coding.
 
@Hoxieboy: Yeah. There's a certain level of insanity one has to be at to start programming computers
 
@Insilico What's the model? I pretty much know all of them off the top of my head... Not saying that's a good thing...
 
6:44 AM
I actually started with BASIC, then went to C++, lets just say, I took a look at C++ and was like... HERP DERP, so I quit both and started batch, got bored with that within, I don't know a day? started learning Lua, stopped due to thinking it was C++ (fail) went to java, quit (cause it was hard man) then started python, stuck with it and now I'm back to C++ :D
 
Processor AMD Athlon(tm) II X4 620 Processor, 2600 Mhz, 4 Core(s), 4 Logical Processor(s)
 
Nope, no AVX. No SSE4.1 either.
 
The machine I'm running on now is at least a few years old
I figured as much
 
thats my programming history
 
It will have SSE3 and SSE4a. But that's it.
 
6:46 AM
@Mystical: Yeah that's pretty much what I'm playing around with
(SSE4a)
 
FMA4 instructions are also fun to play with. But unfortunately, I don't physical/exclusive access to such a machine.
SSE4.1 has a lot more interesting things than SSE4a. I've never found a good use for SSE4a - not to mention it's not supported by Intel.
 
I of course always write up my algorithms in straight C++ first (because I'm not smart enough to dabble in SSE yet)
 
@Insilico isnt dabble such a fun word?
 
No, IUPAC names for chemicals are fun words
Or some enzyme names in biochemistry
Like phosphoenolpyruvate carboxykinase
Or ribulose-1,5-bisphosphate carboxylase oxygenase :-P
 
@Insilico It takes a while to get to know SSE and how to make it efficient... Unlike normal C/C++ code, compilers aren't capable of optimizing SSE code. (aside from re-ordering them) So you really have to do everything yourself.
 
6:50 AM
@Mystical: Exactly. And besides if the instructions aren't available I would need some kind of fallback version anyway
 
Yeah, it's gets a little repetitive to have multiple code-paths for no SSE, SSE3, SSE4.1, AVX, FMA, etc... so that's when you start hacking with macros or templates to get more code reuse.
 
the scientific word for titin is:
sh*t its too long
XD
 
Yeah I know what you're talking about
Although it's basically just its amino acid sequence
 
they were too bored/lazy to give it a real scientific name
but its 189819 characters :D
 
6:55 AM
the scientific name for Titin?
what on earth is Titin?
 
@DeadMG: It's a protein found in muscle
 
I'm having a wtf moment @Insilico XD
 
@DeadMG: It's like a spring inside your muscles
I might actually go and watch it
It's apparently based on a book
 
lol lincoln was a bad@$$
 
Abraham Lincoln, Vampire Hunter is a 2010 novel by Seth Grahame-Smith, released on March 2, 2010. Plot summary The epistolary-style book is written as a biography of Abraham Lincoln, based on "secret diaries" kept by the 16th President and given to the author by a vampire named Henry Sturges. When Lincoln is eleven years old, he learns from his father Thomas Lincoln that vampires are in fact real. Thomas explains to his son that a vampire killed Abraham's grandfather (also named Abraham Lincoln) in 1786. Young Abraham is also shocked to learn that his beloved mother Nancy Hanks Lincoln...
 
6:58 AM
I'm laughing at all the comments saying he didnt hunt down edward
 

« first day (491 days earlier)      last day (4443 days later) »