Search:

Type: Posts; User: Schol-R-LEA-2

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Ah, I did miss your point, sorry about that.

    Ah, I did miss your point, sorry about that.
  2. I hadn't tried those, and indeed they failed when...

    I hadn't tried those, and indeed they failed when I added them. I will work on those.



    Those cases are tested for, and working.



    I still need to add additional tests for those cases,...
  3. I was able to fix the faults, and even some...

    I was able to fix the faults, and even some additional issues which cropped up later. While this is only the first step in the project, it is nice to see that I was able to get it working.
  4. reading s-expressions in C++ - problem with improper lists

    I am writing the (rather simplistic) reader code for `L, a Lisp dialect written in C++, and have managed to get it working in all of the tests I've written, except for one: the case of an improper...
  5. Update on 'Connect 4' game project - problems w/ minmax algorithm

    I've been working on the GUI portion of my C++ Connect-N game project (previously mentioned here), and have gotten it to would could charitably be called a working state. However, the game AI, not to...
  6. Replies
    9
    Views
    4,472

    is the given line x = ((x / 15) / 13) / 12; from...

    is the given line x = ((x / 15) / 13) / 12; from the actual code you have in mind, or is it just an example? Given that you expand on it in your later post to x = ((((x / 15) / 13) / 12) / 11) /...
  7. Replies
    9
    Views
    4,472

    The Wikipedia entry on the topic...

    The Wikipedia entry on the topic actually gives a reasonably good explanation of why naming constants is generally desirable.
  8. How is this coming along? I can't do much more...

    How is this coming along? I can't do much more myself, since I run Linux as my daily driver and don't have any Windows VMs I could spin up to test this; I was able to cross-compile the code with the...
  9. To make things a bit easier for you to fix, I've...

    To make things a bit easier for you to fix, I've forked a copy of your repo, then rearranged everything so that each of the files is under source control in the conventional Git layout. I have...
  10. Hmmn, OK, that's not really how you would...

    Hmmn, OK, that's not really how you would normally use Git and GitHub. The idea is not simply to have a place where you can drop a compressed copy of the directory; version control is supposed to...
  11. The '-g' option is actually in Compiler settings,...

    The '-g' option is actually in Compiler settings, not debugger settings. Go to Settings-> Compiler... -> Global Compiler Settings -> Debugging and select the option "Produce Debugging Symbols".
    16489
  12. Just out of curiosity, do you have an offsite...

    Just out of curiosity, do you have an offsite repo on GitHub or somewhere similar where we could review the code? I would ask you to post the code here, but it looks to be rather too large for that.
  13. GDM is Gnome Display Manager...

    GDM is Gnome Display Manager, but I am pretty sure you meant 'GDB' both times and that 'GDM' was just a typo.

    Gnu Debugger (GDB) is the standard debugger for Binutils and GCC, and is included with...
  14. @thmm - OK, that's useful to know, though I would...

    @thmm - OK, that's useful to know, though I would say that the focus is a bit different. My goal is less about giving mathematical safety in the existing integer ranges, and more on allowing the...
  15. Opinions: Is this template worthwhile as a stand-alone project?

    Ranged Numeric Types in C++

    I've started writing a simple template class for automating range checking in specialized numeric types, inspired by the ranged types in languages such as Pascal and...
  16. One of the things to understand is that the...

    One of the things to understand is that the standard C types are defined in a way which allows implementation on many different instruction set architectures, not all of which are necessarily...
  17. If it wouldn't be too much to ask (and assuming...

    If it wouldn't be too much to ask (and assuming you haven't answered this before), why do you see the C standard I/O as being specific to consoles? It isn't; quite the contrary, it is designed...
  18. Replies
    1
    Views
    1,180

    We can help to some degree, but we cannot and...

    We can help to some degree, but we cannot and will not do it for you. What have you tried so far?
  19. If it helps any, you might want to try applying...

    If it helps any, you might want to try applying the stand-alone preprocessor to some sample code to see what it does.

    What you want is called cpp for the GCC compiler suite; there is an option in...
  20. I can see a number of reasons why, some general,...

    I can see a number of reasons why, some general, some specific to GCC.

    First, much of it has to do with the linker, rather than the compiler per se. Part of it also has to do with the libraries,...
  21. I agree that banning unsigned values is a mistake...

    I agree that banning unsigned values is a mistake - one which Java made, and which has caused a great deal of trouble when trying to work with fixed-size structures designed with unsigned values in...
  22. Replies
    9
    Views
    4,970

    Or better still, put the code in on offsite repo...

    Or better still, put the code in on offsite repo and post the link to the repo. Having your code under version control and stored in an offsite repo is a critical practice for modern programming,...
  23. The important thing to see here is that, by...

    The important thing to see here is that, by reversing the comparison, you can fall through to the consequent. Note that a jump isn't fully avoided; if there is an alternate clause (the else part),...
  24. The page OSDev wiki Implementing Conditional...

    The page OSDev wiki Implementing Conditional Statements and Loops may help here.
  25. Please, let us all step back a moment and take a...

    Please, let us all step back a moment and take a deep breath before digging ourselves any deeper.

    Assuming you were able to bring the Log/Compile sub-window up in the manner described above, were...
Results 1 to 25 of 45
Page 1 of 2 1 2