User Profile

Collapse

Profile Sidebar

Collapse
Jajjo
Jajjo
Last Activity: Mar 8 '10, 08:20 AM
Joined: May 12 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Try this:

    http://lmgtfy.com/?q=template+C%2B%2B

    That should be helpful. If you can't find out how to write a template class with that, then you need more help than with just your code......
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Multithreading in C++
    in C
    I hear the Boost library is good.
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Problem when terminating application.
    in C
    Well, it wasn't the export options.

    It turns out it's VLD.
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Problem when terminating application.
    in C
    Just another update,

    I have continued in my endeavours to find a solution (yay for slow days at work) to my problem and may have stumbled upon one.

    http://social.msdn.microsoft.com/For...b-5c35ad092aa0

    and

    http://social.msdn.microsoft.com/for...-28b404263b3f/

    Hopefully,...
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Problem when terminating application.
    in C
    In regards to your first suggestion; do you mean to just try running the application outside of the IDE? Seems such a simple test to perform that I have overlooked... I'll give it a shot when I get home.

    I will also look into getting Process Explorer. [Researching it after this post]

    I can't say for sure that the amounts are relative, but there is definitely a correlation between the length of time the messages are being...
    See more | Go to post

    Leave a comment:


  • Jajjo
    started a topic Problem when terminating application.
    in C

    Problem when terminating application.

    Hello,

    I have an issue with closing my application. I'll try to convey my problem as coherently as possible. It's a mite convoluted.

    I have my program that I'm coding in C++, using MS Visual Studio 2005. I have a Log Manager in said program that uses DirectX to write messages to the applications client area.

    Describing the problem as "the time my program takes to close" is a bit of a misnomer....
    See more | Go to post

  • Jajjo
    replied to Camera Systems
    in C
    Never mind.

    Sorted it again.

    Got the cursor position with GetCursorPos(), then used ScreenToClient( ) to convert it from screen coords to the client area coords. Worked perfectly.
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Camera Systems
    in C
    Ok, I have a new problem.

    Currently the mouse coordinate returns the position at the blue dot being 0, 0. How do I make it so that the 0, 0 is at the GREEN dot?

    I'm currently getting the cursor position with GetCursorPos() and then subtracting the windows x and y position from the cursors current x and y position....
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Camera Systems
    in C
    Ok. I sorted it.

    Turns out I forgot that using cameras requires you to use the opposite sign for the direction you want.

    I was actually moving my camera below the cube, which is where all the odd behavior came from.

    Everything is working now.
    See more | Go to post

    Leave a comment:


  • Jajjo
    started a topic Camera Systems
    in C

    Camera Systems

    Hey there.

    I have made a new camera system and I'm having a sort-of issue.

    The attached image (Untitled.jpg) will be the image I refer to when I say pink, orange, green or whatever. The black square is my camera and the gray square is a cube that I created to test the camera with.

    The image (Untitled2.jpg) is the result of rotating the camera around the X axis by 45 degrees.

    I am concerned,...
    See more | Go to post

  • Jajjo
    started a topic About creating a font using a path in the facename.
    in C

    About creating a font using a path in the facename.

    This post was taken from another site. It frames my needs exactly, so I pilfered it.

    And ideas on how to do this?

    Thank you for your time :)...
    See more | Go to post

  • Jajjo
    replied to Recolo(u)ring a typedef
    in C
    Righteous. That was fantastically quick respons times man, awesome job.

    Thanks a lot :)
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Recolo(u)ring a typedef
    in C
    Visual Studio 2005 :)
    See more | Go to post

    Leave a comment:


  • Jajjo
    started a topic Recolo(u)ring a typedef
    in C

    Recolo(u)ring a typedef

    Hey there,

    I'm wondering if there is any way to make a typedef change to a different colo(u)r in the IDE.

    For example, if I wrote:

    Code:
    typedef unsigned __int64 uint64
    How could I make it so that whenever I use uint64 in my code it wouldn't just be black (like the rest of the code) and display in, say, red or green (unique to typedefs in general or perhaps that one typedef)....
    See more | Go to post

  • Right on, thanks for the input :)
    See more | Go to post

    Leave a comment:


  • Jajjo
    started a topic Question about including files and a generic header file.
    in C

    Question about including files and a generic header file.

    Hey there,

    I'm just wondering something. If I created a generic header file that contained all of my inclusions that I needed and then just included that one file in all subsequent files, would it be safe?

    I know it would TECHNICALLY work, but my concern is that it would bloat the program, create errors from some inclusion exception or if it is just frowned upon in the industry for some reason.

    Any advice...
    See more | Go to post

  • Jajjo
    replied to Quick Quetion: GetCursorPos()
    in C
    Cool, thanks man :)

    I'll strive to test stuff myself in the future.
    See more | Go to post

    Leave a comment:


  • Jajjo
    replied to Quick Quetion: GetCursorPos()
    in C
    Also,

    I found this on MSDN



    Is that answering my question? I 'm sorta new to all this and can't decipher that jargon :(

    Ta
    Jajjo...
    See more | Go to post

    Leave a comment:


  • Jajjo
    started a topic Quick Quetion: GetCursorPos()
    in C

    Quick Quetion: GetCursorPos()

    Hey there,

    I'm experimenting with GetCursorPos instead of "static_cast"in g the LOWORD and HIWORD params. This is because I want to work with positions relative to teh screen.

    Myt question is this: Does the POINT object get updated when the mouse is outside of the edge of my program? If not, how do I constantly update the cursor position regardless of whether it's inside the edges of my program?
    ...
    See more | Go to post

  • Jajjo
    replied to Writing to a file.
    in C
    Ugh. I always do this.

    Work for a couple hours on something, ask here how to fic it, then fix it straight away.

    It now works with ofstream... but not fstream... I'm not sure why that's happening.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...