Search:

Type: Posts; User: akvino; Keyword(s):

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    356

    D-sign C++ template class inheritance

    Good day all.
    I am having trouble figuring out the following:

    1) When to use template base class, derived non template class - which design scenario
    2) When to use non - template base class,...
  2. Replies
    3
    Views
    344

    Re: Problem with 'make 3.81'.

    That is the best piece of advice I got this far. I was about to burst into flames editing makefile.
  3. Replies
    3
    Views
    344

    Re: Problem with 'make 3.81'.

    Eh my vim was not settings TAB properly had to do it in geany
  4. Replies
    3
    Views
    344

    Problem with 'make 3.81'.

    What is wrong with this:

    SHELL = /bin/sh
    CC = gcc
    FLAGS = -std=gnu99 -Iinclude
    CFLAGS = -fPIC -pedantic -Wall -Wextra -march=native -ggdb3
    DEBUGFLAGS = -O0 -D _DEBUG...
  5. Replies
    20
    Views
    1,087

    Re: Please offer programming language suggestions

    Hhahaha well who said you can't get the real laugh out of the 'what language is the one that fits all' threads.
  6. Replies
    20
    Views
    1,087

    Re: Please offer programming language suggestions

    Before you do ANYTHING spend 45 minutes to see this:
    http://channel9.msdn.com/posts/C-and-Beyond-2011-Herb-Sutter-Why-C
  7. Replies
    3
    Views
    371

    Re: C++ and Templates

    Dare I say - template metaprograming .. . . . . .. :-)
  8. Re: What makes a good coder-what is the secret of programming ?

    I met a few very good programmers that are a mess. They have fun in their code, they use useless variable names, etc, etc, etc.... Maybe because they are bored.

    But what makes a good programmer ...
  9. Replies
    7
    Views
    539

    Re: C++ List of alternating structures

    Bravo. I couldn't believe this went through 5 comments without someone suggesting forward declaration. In essence this is a very common problem to have, and until you get familiar with forward...
  10. Replies
    1
    Views
    244

    Someone explain ::new c++

    void
    construct(pointer __p, const _Tp& __val) │
    { ::new((void *)__p) _Tp(__val); }


    Taken out...
  11. Thread: C++ on Ubuntu?

    by akvino
    Replies
    13
    Views
    835

    Re: C++ on Ubuntu?

    Here is a good book for any platform:

    http://www.amazon.com/C-Primer-Plus-5th-Edition/dp/0672326973
  12. Re: C/C++ Lets talk about growing stack in Linux and Windows

    You're missing the point, or maybe I wasn't clear enough.
    It allocates bunch of same size chunks of memory which otherwise would have to be malloc-ed, meaning saves on memory manager allocating the...
  13. Re: C/C++ Lets talk about growing stack in Linux and Windows

    Actually it is faster since it doesn't have to call malloc.
  14. Replies
    1
    Views
    199

    NUMA Node boundry

    Is there a standard way to determine if one jumped over the NUMA node boundry?
  15. Re: C/C++ Lets talk about growing stack in Linux and Windows

    WoW I get the thread trend (thrend) :-)...

    I know, I know, those were my first thoughts as well. Yet this bastard code works. It allocates the memory on the stack, puts the one size fits all...
  16. Thread: C++ on Ubuntu?

    by akvino
    Replies
    13
    Views
    835

    Re: C++ on Ubuntu?

    The OS makes all the difference in the world. In essence you will learn how to REALLY use C/C++.

    Get the latest gcc / g++ compiler, learn vim, and throw that book out of the window (really keep...
  17. C/C++ Lets talk about growing stack in Linux and Windows

    http://www.kernel.org/doc/man-pages/online/pages/man3/alloca.3.html

    How does one know if you allocated too much memory on the stack?
    What are the best practices to protect yourself from it?
    How...
  18. Replies
    3
    Views
    401

    [SOLVED] Re: CPU Core Scheduling

    Are you planning to affinitize threads? Are you planning to change scheduling policy?

    If the answer is no, then you can use all that you have, since other tasks will be allowed time on CPU.

    If...
  19. Multithread GURUS - Is there a way to grab process affinity and priority

    Is there a way to grab affinity and priority from the thread on the system basis, or does one have to query /proc file system for such info.

    This must be done within C application. I need to find...
  20. Re: Thread Affinity and Scheduling Policy Inheritance C/C++

    so on the man page I found this:
    http://www.kernel.org/doc/man-pages/online/pages/man3/pthread_create.3.html


    Linux-specific details

    The new thread inherits copies of the calling...
  21. Thread Affinity and Scheduling Policy Inheritance C/C++

    Does the child thread in POSIX standard, inherit the affinity and priority of the parent thread?
    Does the child thread in POSIX standard, inherit the scheduling policy from the parent thread?
  22. Replies
    4
    Views
    420

    Re: question about Mysql, foreign key

    That is what relational databases do. For the best performance within the database, make sure to use integer type keys.

    Otherwise you can do it programmatically in your app, but I am not sure...
  23. Replies
    3
    Views
    367

    Re: Python front end

    I don't need IDE, just something that will hold Python in HTML and how to do pyhon integration regarding buttons, lists, GET/POST, etc...

    I ran into web.py which seems fairly simple...
  24. Replies
    3
    Views
    367

    Python front end

    I am trying to find some tutorials on python front end, user interface, something simple.

    Any suggestions?
  25. C++ Template Inheritance Performance Benefits Question

    Take regular inheritance, if the method is virtual then the method will be looked up in the vtable at run time.


    Template inheritance -if the base class is template class and the the child class...
Results 1 to 25 of 220
Page 1 of 9 1 2 3 4