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

Search:

Type: Posts; User: Mikau

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Re: problem with global variables in Visual Studio 2010

    Thanks for the response, but after a recent experiment, I think it may have something to do with threading.

    My project is a win32 application and I used "SetTimer(..., update(...))" to set the...
  2. problem with global variables in Visual Studio 2010

    I know globals are generally a bad idea, I just use them for debugging purposes on occasion.

    I have a global variable that is clearly (I checked this multiple times, in multiple ways) not being...
  3. Replies
    2
    Views
    1,775

    Global variable problem in Visual Studio 2010

    I know globals are generally a bad idea, I just use them for debugging purposes on occasion.

    I have a global variable that is clearly (I checked this multiple times, in multiple ways) not being...
  4. Replies
    2
    Views
    870

    creating a chat application

    I am an undergrad Computer Science student working with a company as part of my education. My boss wants me to investigate what it would take to implement text chat into one of our applications. The...
  5. Replies
    5
    Views
    1,180

    Re: specifying path to files in Visual C++

    In other words, I can modify the path to the ms3d file itself, but i can't modify paths contained within the file, that load other resources.
  6. Replies
    5
    Views
    1,180

    Re: specifying path to files in Visual C++

    Ugh.. well even fixing that doesn't help.

    The ms3d file comes packaged with a 'data' folder that contains resources, such as textures. The ms3d file itself includes the path to those files, as...
  7. Replies
    5
    Views
    1,180

    specifying path to files in Visual C++

    I always have a problem when I try to put input files in the same directory as the program that loads it, at least when using Visual C++

    I try putting the containing folder (in this case, 'Data')...
  8. Replies
    7
    Views
    3,768

    Re: Java Job interview - what might they ask me?

    umm .. to provide users with a set of functions and constructs that are self contained, and resemble real world objects in how they work, and how we think about them. In general, to make libraries...
  9. Replies
    7
    Views
    3,768

    Re: Java Job interview - what might they ask me?

    Thanks for all the suggestions, guys! I'll be sure to review those questions.

    What kind of code might they ask me to write though? I thought they might ask me to write an array sorting algorithm,...
  10. Replies
    19
    Views
    2,968

    Re: Recursive Option?

    another problem is you are updating curstart and curend after the next iteration of the for loop instead of immediately after a new sequence is found. When your for loop encounters the 1 in the...
  11. Replies
    19
    Views
    2,968

    Re: Recursive Option?

    then use this:


    if ( (i > 0 && (array[i] <= array[i-1])) || (i + 1 == array.length)) {
  12. Replies
    19
    Views
    2,968

    Re: Recursive Option?

    so did you get it working?

    it looks like the algorithm works like this:

    longstart and longend hold the indices of the first and last elements where the longest increasing sequence found so far....
  13. Replies
    1
    Views
    981

    Re: Need help with a recursion problem.

    remember, if you get a stack overflow when using recursion it almost always means you are not reaching the base case, either because there is none, or because you are somehow not getting closer to...
  14. Replies
    7
    Views
    3,768

    Java Job interview - what might they ask me?

    I have an interview next Wednesday for a junior java programmer position. They told me I'll be asked to write some code as part of the interview. I'm pretty proficient with java, but its my first...
  15. Replies
    0
    Views
    3,947

    gamepad vibration on windows API?

    so apparently I can easily get joystick and button information using: joygetposex() but is there a way to get the controller to vibrate? I looked around and the only examples use directInput. Its...
  16. Replies
    1
    Views
    906

    SQL (PostgreSQL) help

    I am trying to avoid an extremely large query without making a temporary table.

    Here's the idea. I want to get the stores that sell the maximum number of carboreturs.

    I'm using...
  17. Window freezing when i try to close (using Opengl + windows)

    I am experiencing a very peculiar problem.. when my program starts, if I try to X out the window the window freezes and becomes unresponsive. If I instead re-size the window, or drag it to a new...
  18. Thread: sharing exe's

    by Mikau
    Replies
    6
    Views
    1,709

    sharing exe's

    Hi,
    I just wanted to send a demo program of my Visual C++ application to a friend, (who isn't a programmer). In my first attempt, I copied all the DLL files I thought were necessary from my...
  19. Thread: library path

    by Mikau
    Replies
    7
    Views
    1,273

    Re: library path

    Oh FINALLY it works! Boy what a wild goose chase...

    Thanks very much, you two. I've been struggling with this one forever. I'm just slightly annoyed that the installation tutorial I read did not...
  20. Replies
    5
    Views
    978

    Re: objects as function arguments

    void allocate(Simple* a, Simple* b)
    {
    b = a;
    }

    what you're doing there is, i believe, not what you think.

    When that function is called, two temporary pointer values a and b are going to be...
  21. Replies
    6
    Views
    888

    Re: Question regarding virtual functions...

    agreed with paul. But if you need to be able to change all of the data frequently, including the base class members, I would recommend just overloading the function in the subclass, and making a call...
  22. Thread: library path

    by Mikau
    Replies
    7
    Views
    1,273

    Re: library path

    my thanks to both of you. I am currently away from home and don't have a Vis C++ editor on this computer, but I'll try it when I get home.

    In the meantime, Cilu, you claim I need to add the...
  23. Thread: library path

    by Mikau
    Replies
    7
    Views
    1,273

    Re: library path

    yeah, no worky. Items in the library file are just not being found. It may be the specific library, I don't know. Been stuck on this problem forever.
  24. Thread: library path

    by Mikau
    Replies
    7
    Views
    1,273

    library path

    Using Vis C++ 9.0 express edition.
    When including a new library file, I go to tools, options, projects and solutions, vis C++ directories, select 'show directories for library files' I then add the...
  25. Replies
    4
    Views
    751

    Re: Need Advice...........

    I thought this book was excellent:
    http://www.amazon.com/Sams-Teach-Yourself-Days-5th/dp/0672327112

    It was recommended to me, and I wasn't disappointed.

    I think 21 weeks is a more realistic...
Results 1 to 25 of 53
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured