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

Search:

Type: Posts; User: starfleetrp

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    854

    Re: How to do a large flag operation

    That would help me decide what array to use.
    Then I guess I could use MOD to determine what bit in the array I should change.

    My second question is that the parameter in my function contains...
  2. Replies
    3
    Views
    854

    How to do a large flag operation

    Hi,
    I am trying to create a large flag system, where a bit is eithe on or off. My problem is that I want to be able to have 128 flags (or more) but I can only use Int16's since its an embedded...
  3. Replies
    2
    Views
    1,092

    Re: Determine if Date/Time is valid

    Sorry, by an exception I meant an assert. I am not entirely sure why it would be doing this though, since you can not then read the returned value.
  4. Replies
    2
    Views
    1,092

    Determine if Date/Time is valid

    Hi, I am using ctime (time.h) and was wondering if there was a way to determine if a user inputted date was valid or invalid. Currently if the date is invalid ctime's asctime will through an...
  5. Re: Passing a class around to other classes for later use

    The problem is that I tried what he suggested and I got the error I listed above.
  6. Re: Passing a class around to other classes for later use

    I have now tried

    public GameInstance(ArrayList gamedata, ServerInstancePlayers ServerPlayers)
    {
    .... ServerInstanceOfPlayers = ServerPlayers;
    }

    as a constructor where...
  7. Passing a class around to other classes for later use

    Hi,

    I am trying to pass a class, sort of like a reference and keep a pointer to it in memory, so I can call it later on. However this is not c++, so im at a loss as to what I should do.
    ...
  8. Replies
    1
    Views
    509

    Can not read a file

    I am trying to read a log file into my C# program using the following line of code to open the log.

    FileStream f = new FileStream("C:\\console.log", FileMode.Open, FileAccess.Read);

    Log program...
  9. Replies
    9
    Views
    1,203

    Re: Read a file that is already open

    Ok, this is a bit odd but the c++ code works perfectly, I just can not get it to open in c#, I have tried all of your sugestions. Any more?
  10. Replies
    9
    Views
    1,203

    Re: Read a file that is already open

    Well in C# i am using this function
    FileStream f = new FileStream("C:\\console.log", FileMode.Open, FileAccess.Read,FileShare.Read);

    So yes I am trying to use the sharing function

    Log program...
  11. Replies
    9
    Views
    1,203

    Read a file that is already open

    I am having some trouble opening a file to read that is already open. Right now I am trying to open a .log file. It will open properly in notepad and IE but when I try to open it I get an error...
  12. Replies
    0
    Views
    915

    Play drm protected wma's

    Hi, I am wondering if anyone here has been able to play drm protected wma's without windows media player. I am currently looking for a way to do this by reading the file into memory and then allow...
  13. Replies
    1
    Views
    716

    List of pointers

    Hi,

    I am wondering what the best way would be to impliment a list of pointers. I am not sure what type would be the best for what I need, since I have only used a vector before. Pretty much this...
  14. Replies
    1
    Views
    550

    Getting an angle

    Hi, I need to get the angle of a right triangle, so I can extrapulate the points between them. I know how to extrapulate the points once I have the angle, however I do not know how to get it. I...
  15. Replies
    2
    Views
    654

    Re: Pointer Problem

    Oh sorry, I was showing 2 different files cSprite.h and cFCS.h. Thanks, I thikn that it worked!
  16. Replies
    2
    Views
    654

    Pointer Problem

    I have no idea why this doesnt work. I am declairing:

    #include "cFCS.h"
    class Sprite
    {
    ...
    cFCS* pFCS;
    ...
    };
  17. Re: Why is there an 'f' after some numbers?

    It is specifying that the number given was a float :) like 1.0f means a float of 1.0
  18. Replies
    8
    Views
    2,824

    Re: OpenGL perspective

    I am a bit confused. I am now sure how I would use this code to draw a cube using glCube(2.0f) or whatever its called. Or for that matter later on a Model (same idea). I am not sure how I would...
  19. Replies
    8
    Views
    2,824

    Re: OpenGL perspective

    I have been doing a bit of googling of Orthogonal Projection altough I still do not know how to accomplish this. So far I have a cube drawn as well as a floor and I can move the camera arround...
  20. Replies
    8
    Views
    2,824

    OpenGL perspective

    I want to display shapes as if they were in 2D even though its a 3D environment. What I mean is I want them to stay the same no matter how far away I am, so the front or top of the cube doesnt...
  21. Replies
    5
    Views
    1,118

    Re: Time Elapsed?

    How can I use CTime if I am using only Win32 without MFC or ATX included in my project? Since I can convert over, what would I have to do?
  22. Replies
    5
    Views
    1,118

    Re: Time Elapsed?

    The problem I have is that I dont know how to calculate the difference because one method of time (systemtime or filetime) has it in a struct which is devided into secs, mins, hours, days, day of...
  23. Replies
    5
    Views
    1,118

    Time Elapsed?

    I am trying to figure out a way to get the number of seconds that has elapsed from one point in time to another. I know I have seen some examples posted that count how many seconds are left, and im...
  24. Thread: Using DDK

    by starfleetrp
    Replies
    9
    Views
    4,254

    Re: Using DDK

    Ok, I looked at these makefiles (atleast I think there the right one), that I found in the directory with allof the .c and .h files in the sys directory of general/ioctl. However, I am a bit...
  25. Thread: Using DDK

    by starfleetrp
    Replies
    9
    Views
    4,254

    Re: Using DDK

    Ok, since you guy seem reluctant to answer I will add some more information that I found out by reading a bunch of dead end articles. Since they all seem to branch off of the facts that I still do...
Results 1 to 25 of 246
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured