We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Simon Anciaux
To print lots of new lines with printf you can create a string that contains only new lines and us…
»
longtran2904
Thanks for replying! I want to get better at metaprogramming so your help is much appreciated. Som…
»
Mārtiņš Možeiko
Yes, to repeat other character than space you need for loop. #line directive will make compiler ge…
»
longtran2904
So to just print 10 new lines, I can only use a for loop? Are there any other printf arguments tha…
»
Mārtiņš Možeiko
For some reason, this will print 10 empty spaces rather than lines. That is expected. *. for %s te…
»
longtran2904
For some reason, this will print 10 empty spaces rather than lines. Also, VS couldn't find the cor…
»
Mārtiņš Možeiko
%*.s works just fine with any string. For example, for 4 space indent: As for caller names & line …
»
longtran2904
For some reason "%*.s" doesn't work with "\n". Another thing that I want to add is the function ca…
»
Mārtiņš Možeiko
If you need correct alignment, you need to parse it and print it out. There's no magic solutions f…
»
longtran2904
Each of my tokens has a column and line number. When parsing I just do a simple printf("%.*s", tok…
»
Simon Anciaux
Didn't thought about that. Thanks.
»
Mārtiņš Možeiko
While that will work, it'll be annoying as the debug symbols will points to the copies and you'll …
»
Simon Anciaux
If you need to modify the code but don't want to modify the original file than you'll need to make…
»
longtran2904
So what if you want to do something more complex like adding new keywords (e.g defer)? I can't gen…
»
Simon Anciaux
Your meta program could generate a file called typedefs.h that only contains the typedefs and you …
»
longtran2904
I just finished watching the metaprogramming episode and want to try it out. One of the first thin…
»
longtran2904
For the first example, I can just treat the function as matrix multiplication. The inverse rotatio…
»
Jason
Congratulations on getting to feature complete status (even if its not the final feature set). I k…
»
Christoffer Lernö
I wrapped up the bitstruct code last week, and together with that removed the virtual type. Happil…
»
Jens
Hello there, I did find a crash for large files on reloads (either manually or by editing and auto…
»
Macoy Madson
For my post this month, I wanted to present the entirety of a tutorial I just created for learning…
»
Christoffer Lernö
Recently was thinking about Java and reflection and how it actually ended up causing the prolifera…
»
Benjamin Pedersen
I use the BEdit GUI on large files. I experience two problems: It often crashes or freezes. It see…
»
iain
Thank you very much for taking a look, what nice clear way of reproducing the bug so that it is no…
»
Simon Anciaux
To reproduce it:Add a breakpoint on handmade.cpp on line 659 (drawing the torso);Step in the funct…
»
iain
Ah, this looks promising ... In the code above the call to DrawBitmap on line 649, if I use double…
»
iain
Hi there, Sure thing yes; I changed the name to be a little more explicit. I can generate the bug …
»
iain
Hi, thank you for having a look at this. The segfault happens during the process of correcting the…
»
Lachlan
I'm using xfce4 as my desktop environment so this differs from the default GNOME (GNOME has an ann…
»
Simon Anciaux
@mmozeiko I think they are talking about the top of the sprite going out of the buffer area. But a…
»