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

Search:

Type: Posts; User: noobofcpp

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    603

    Re: A question about multi threading.

    I understand. Thank you for knowledge you give me.
  2. Replies
    16
    Views
    603

    Re: A question about multi threading.

    Hyper threading is one of my CPU features, so i think yes. There are 8 CPU graph on task manager.
  3. Replies
    16
    Views
    603

    Re: A question about multi threading.

    with four threads it took 0.0625277 seconds while 8 threads it took 0.0441792 seconds35617
  4. Replies
    16
    Views
    603

    Re: A question about multi threading.

    @wolle. Time taken to render with one thread is 0.133174 seconds while the multi threaded one is 0.0426739 seconds. What about Open MP? According to this post...
  5. Replies
    16
    Views
    603

    Re: A question about multi threading.

    @wolle my cpu is Intel Core i7 6700hq. It has 4 cores
  6. Replies
    16
    Views
    603

    Re: A question about multi threading.

    Thank you 2kaud
  7. Replies
    16
    Views
    603

    Re: A question about multi threading.

    @2kaud can you show me example of variable locking
  8. Replies
    16
    Views
    603

    Re: A question about multi threading.

    @2kaud. Thank you boss
  9. Replies
    16
    Views
    603

    A question about multi threading.

    I just wrote a simple ray tracer with multi threading. I divide the rendering process into 8 threads. The result is 3.5 times faster than using single thread.My question is, is it correct use of...
  10. Re: std::vector suddenly throw read access violation(Corrupted)

    you're right mr wolle. That's actualy source of the problem. The vector object. distracted me from the the actual problem. Ahh how stupid am I. Thank you everyone for your time and effort to reply...
  11. Re: std::vector suddenly throw read access violation(Corrupted)

    The debugger show the frameIndex value is 0, while the mMSAAFramebuffers vector size is 2. I'm sure the problem is not that. It throws read access violation even i'm trying to print out the...
  12. [RESOLVED] std::vector suddenly throw read access violation(Corrupted)

    I'm completely clueless what's going on here.Why it keep throwing read access violation.

    35397
    Here's the header file.


    #pragma once

    #include "Renderer\VulkanApplication.h"
    #include...
  13. Why is C++ STL implementation is written like this

    Why they use some kind of crazy naming convension and lot of underscores?


    // constructors
    vector_impl(_Mytype_t% _Right)
    { // construct by copying _Right
    for (size_type _Idx =...
  14. Re: Different behavior between Debug and Release build

    Thank you Mr VictorN it turns out i was mixing Debug and Release DLL
  15. [RESOLVED] Different behavior between Debug and Release build

    I recently encoutered weird situation where in Debug build the program got access violation at....while in Release build it runs without problem.How this such condition happens.Could be compiler bug...
  16. glActiveTexture not working

    I only got first texture show up.

    What's wrong with this my code,I can't find where's the mistake.

    int main()
    {
    sf::ContextSettings settings;
    settings.majorVersion = 4;...
  17. Re: Exception thrown at 0x00000000 when using DLL.

    Thank you so much 2kaud your help gave me hint I need to do some opengl initialization procedure for the DLL and now it's work.
  18. Re: Exception thrown at 0x00000000 when using DLL.

    DLL project template.
  19. Re: Exception thrown at 0x00000000 when using DLL.

    if (vertexFile)
    {
    while (getline(vertexFile, inputVertexCode))
    {
    oivc << inputVertexCode << endl;
    }
    vertexCode_str = oivc.str();
    const char* vertexCode = vertexCode_str.c_str();...
  20. [RESOLVED] Exception thrown at 0x00000000 when using DLL.

    I wrote a function that compile vertex shader and fragment shader of GLSL and return a shader program ID.If I put that function code directly a program it works fine.The problem is when I compile...
  21. [RESOLVED] Does __asm keyword is ISO standard?

    Injecting assembly code in c++ works fine on MSVC 15.5.2 but my TDM GCC Compiler gave undeclared in this scope and some other errors.
  22. [RESOLVED] Why we cannot put class template member function definition in cpp file.

    If I class template member function definition in cpp file,I got bunch of linker error.But it works fine if the definition is in the header file along with the class template.Why is it like that?.Did...
  23. Re: Use goto crossing other function?

    Sure thing bos.
  24. Re: Use goto crossing other function?

    Nothing is i'm going to archieve I'm just wondering.And why goto is not recommennded or there's a function similar to goto in the standard libarary?
  25. [RESOLVED] Use goto crossing other function?

    How to use goto but with different funtion.

    void doSomeThing();

    int main()
    {
    here:
    doSomething();
    return 0;
    }
Results 1 to 25 of 45
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)