Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: supahamster

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    734

    Re: Two questions (Ubuntu|C++ project)

    Okay, thanks. I have already installed code::blocks but I haven't really looked into it yet. From the looks of it, however, I'll be using that.
  2. Replies
    2
    Views
    734

    Two questions (Ubuntu|C++ project)

    I am a moderately experienced c++ programmer (I have about a year of experience working individually), and I have recently started using Ubuntu.

    My first question is: What is the best Ubuntu...
  3. Replies
    3
    Views
    776

    calculator using booleans

    I want to undertake a project for my own learning. What I want to do is to make a calculator (I'm using VC++ 2008 by the way) that will use booleans to do the calculations (to 'simulate' bits in an...
  4. Replies
    37
    Views
    2,747

    Re: pointers--when to use them

    Thanks everyone, this has been very useful. Originally, I thought that simply using the variable name again would suffice but I had been making 2 assumptions:
    1. small-scale programs vs. 100+...
  5. Replies
    37
    Views
    2,747

    pointers--when to use them

    I am a self-taught c++ (beginner?) I have been programming for a couple of months.
    I have seen, in tutorials and the such, many uses of pointers. I understand basically what they do, etc. but do...
  6. Replies
    3
    Views
    916

    Re: Unable to use OpenGL

    Thanks.
    When I install directX will it put the header where VC++ can find it?
    Also, you say that the two are 'analogous.' Does that mean that the functions are identical, or that they functionally...
  7. Replies
    3
    Views
    916

    Unable to use OpenGL

    I have tried to get some sort of graphics programming to work on my computer and it hasn't worked. I downloaded Dark GDK the Game Creators from Microsoft, but when I tried it, the header compiled...
  8. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    This can only be a problem, however, if the matrix is declared one way and then you try to access outside of its declaration. As you may notice, my declarations are currently


    matrix[10][10]

    ...
  9. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    My problem was not with indexing, it was with switching x and y. If you notice in how I fixed the problem, I had to make the test if (cx==y...). There was no problem with the array indexes; if you...
  10. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    Solved it! And I hate how simple it was.


    if(cx+e != x && cy+i != y)


    Had to be:
  11. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    I found that, after I fixed the syntax error (blame Game Maker for that one, they allow you to do something like "if(x=2)" in their scripting), the function almost works correctly. To be more...
  12. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    As I stated in the previous post: I have looked through the code several times, and I cannot spot the problem. I think it may be a logical error, but as far as I can tell, there is none. Seeing as...
  13. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    I did not step through it with the debugger because to look at every loop I would have to click the button many times (to be exact 9x9x9x10 at the smallest, or more depending on the loop) and look at...
  14. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    Sorry for the double-post, but I need to bump this because of the new information.

    Okay. smatrix is now correct (at least I think it is--haven't tested completely, but it should be).

    The new...
  15. Replies
    1
    Views
    443

    Re: Creating Maze

    Is the maze constant or does it have to randomly generate one, and similarily, does the mouse follow a certain path or do you have to write a function for it to solve the maze?
  16. Thread: OpenGL

    by supahamster
    Replies
    2
    Views
    1,247

    Re: OpenGL

    It can't find "d3dx9.h" and including windows.h doesn't help.
  17. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    I did say what the problem is; it's that smatrix is incorrect. And also, I am not on my home computer now, so I am unable to test if alanjhd08 is right, but that should do it.

    I hope this will...
  18. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    This isn't very helpful so far... Which either means the code I have is fine, or that people just aren't finding it, either of which mean I have to go back and do MORE troubleshooting.

    If anyone...
  19. Thread: OpenGL

    by supahamster
    Replies
    2
    Views
    1,247

    OpenGL

    I have tried to get some sort of graphics programming to work on my computer and it hasn't worked. I downloaded Dark GDK the Game Creators from Microsoft, but when I tried it, the header compiled...
  20. Replies
    24
    Views
    1,968

    Re: Sudoku solving algorithm

    I know this. I just made it start at 1 for my own purposes, and it is uniform throughout. The only disadvantage is a little bit of wasted space, but that is not the problem, because as I said...
  21. Replies
    24
    Views
    1,968

    Sudoku solving algorithm

    I wrote something to solve sudoku puzzles as practice in c++.
    The basic idea is that there is a secondary matrix (called smatrix) that is 3-dimensional. I think of it as layers of 2-dimensional...
Results 1 to 21 of 21


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center