Search:

Type: Posts; User: auralius

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    7,237

    No one will be able to help you if the question...

    No one will be able to help you if the question is very broad. So what is the question here? Is it how to convert a char into bit? How about some examples?
  2. Replies
    3
    Views
    1,714

    I believe this might help you: link...

    I believe this might help you:
    link

    There you can learn that an array is passed as a parameter by passing its address.
  3. Replies
    3
    Views
    1,567

    I would assume this guy is not using Linux. In...

    I would assume this guy is not using Linux. In many cases, it is less problematic to deal with open source library in Linux, as when you install them with default setting or using precompiled...
  4. Isn't it obvious, it's merely because you are...

    Isn't it obvious, it's merely because you are trying to access memory beyond its real size. I would suggest you to learn how to tap breakpoint, this is the most essential skill in programming though...
  5. Thread: Nested class

    by auralius
    Replies
    4
    Views
    1,129

    Nested class

    Hi everyone,

    Anyone can tell in which situations nested class becomes the best solution.

    Of course we learnt it from textbook, but so far in real practices, I never used, infact avoid it. At...
  6. Replies
    2
    Views
    2,402

    issue about multitheading

    dear all,

    are there any possibilities that one thread crash without crashing the whole program. In my opinion this is not possible as multiple threads are still sharing same resources. am i right...
  7. Replies
    3
    Views
    2,068

    assignment operator overloading problem

    Dear all,

    Let's say I have this code:



    ClassA *a = foo();


    Here, I want to overload the assignment operator:
  8. Replies
    2
    Views
    998

    I tried your code, I was curios, it was working....

    I tried your code, I was curios,
    it was working.
    The problem is you are printing 10000 entries so you couldn't see the result.
    For printing result, change the code to be like this so you only...
  9. I think ifstream is to read. You should use...

    I think ifstream is to read.
    You should use ofstream.

    Refer this :Input/Output with files
  10. Replies
    7
    Views
    1,123

    in your case, when you select number randomly you...

    in your case, when you select number randomly you must make sure it is between one to four.
    better to give proper seeding for random number generator;


    ...
  11. I think, it is linker problem: Add these...

    I think, it is linker problem:

    Add these entries on Additional Dependencies option (for debug configuration):

    * C:\Program Files\OpenCV2.2\lib\opencv_core220d.lib
    * C:\Program...
  12. For the time being, I only have one robot on one...

    For the time being, I only have one robot on one canvas.

    Later I can improve by making data as an array of 16 (for example we limit the robot to 16).
    in robot class we add another varible "char...
  13. Thanks every one. I am considering using...

    Thanks every one.
    I am considering using singleton class to contain the data. The data is private member of this singleton class. Any other classes who try to read or modify this data must do it...
  14. thanks for answering my questions, i think i...

    thanks for answering my questions, i think i understand.
    that's just brief part of the code, i do delete the canvas after finishing.
  15. question about designing two classes in c++ without lessening encapsulation

    dear all,
    i have two class:



    class Robot
    {
    public:
    Robot(void)
    {
  16. Replies
    11
    Views
    5,342

    how can we understand that algorithm? my...

    how can we understand that algorithm?
    my suggestion: use physics engine like: Box2D...you will make a very sophisticated game.
    (you are using only x and y axis so it must be 2d game, right?)
  17. Replies
    12
    Views
    5,332

    good... making some progress... just find with...

    good... making some progress...

    just find with keyword: c#.net chart
    may be u can ask in .net forum...
    c++ programmer is a bit sensitiv with this .net technology since sometimes we can not find...
  18. Replies
    12
    Views
    5,332

    check here : CodeProject: A flexible charting...

    check here : CodeProject: A flexible charting library for .NET. Free source code and programming help

    practically if you are using .net, you don't need another lib for GUI...
  19. Replies
    12
    Views
    5,332

    well let's see... to display the data you...

    well let's see...

    to display the data you might need nice GUI...
    are you using microsoft product with it's MFC... check on codeproject.com.. there are plenty of nice graphic library based on...
  20. Replies
    3
    Views
    1,601

    i see... you want to do the translation by...

    i see...
    you want to do the translation by letters...

    first you need to parse the input first...
    let say the user input "saya suka"

    parse the input based on the white space...
    put into...
  21. Replies
    3
    Views
    1,601

    i think it is not that easy... it is called...

    i think it is not that easy...
    it is called machine translation and it has been topic of research for many scientists...
    try googling: "machine translation algorithm"
    yo might need to read some...
  22. Thread: Pthreads...

    by auralius
    Replies
    2
    Views
    1,615

    wait... you have one global variable num, right?...

    wait...
    you have one global variable num, right?
    but it is accessed by several threads...
    don't you think you should be careful on that...
    i mean like putting putting some flags so that it won't...
  23. Replies
    11
    Views
    1,788

    if you really want to make it simple, why not...

    if you really want to make it simple, why not changing this:



    scanf("%s", &rank);


    to become:
  24. Replies
    11
    Views
    1,788

    check variable rank please... it is only a single...

    check variable rank please... it is only a single char, the problem is stack aroun this char might be corrupted....
  25. Replies
    4
    Views
    5,266

    how about directx sdk... do you have them? ...

    how about directx sdk... do you have them?

    check on this thread: http://www.gamedev.net/community/forums/topic.asp?topic_id=465306

    how about platform sdk (psdk)... some forums say it is...
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4