Search:

Type: Posts; User: manasij7479

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    444

    What are your programs about?

    What are your programs about?
  2. Thread: sizeof()

    by manasij7479
    Replies
    7
    Views
    1,169

    The compiler has it saved internally. Here is...

    The compiler has it saved internally.
    Here is one example: clang/TargetInfo.h at master * llvm-mirror/clang * GitHub


    Why do you want to do this?
  3. Awesome, so far!

    Awesome, so far!
  4. This is the year of the li̶n̶u̶x̶ ̶d̶e̶s̶k̶t̶o̶p̶...

    This is the year of the li̶n̶u̶x̶ ̶d̶e̶s̶k̶t̶o̶p̶ JVM.
  5. Replies
    2
    Views
    758

    Time flies! I have fond memories of this...

    Time flies!
    I have fond memories of this forum, and have learnt a lot from the folks here.
    Still writing C++ ... and C++ compilers!
  6. Replies
    7
    Views
    743

    The initializers go before the constructor body,...

    The initializers go before the constructor body, not inside.
  7. Essentially what you can do is: // Define...

    Essentially what you can do is:


    // Define is_containter<T> with SFINAE/void_t/magic

    template<typename T>
    void foo(T t) {
    static_assert(is_container<T>::value, "requires is_container");
    ...
  8. Look up void_t. The error messages will be...

    Look up void_t.
    The error messages will be tricky if something goes wrong, but you can emulate concepts pretty well.
    std::void_t - cppreference.com
  9. Writing a simple interpreter can be a lot of fun....

    Writing a simple interpreter can be a lot of fun.
    Start with a calculator that does arithmetic.


    (+ 2 3)

    Add variables


    (let (a 5) (+ a 5))
  10. Wrap case 2 in a block. case 2 : { char...

    Wrap case 2 in a block.


    case 2 : {
    char timerX[10] = "600x400";
    //...
    }
    break;

    Or put timerX outside the switch.
  11. Ah, you could probably write a book on this!

    Ah, you could probably write a book on this!
  12. Replies
    18
    Views
    4,689

    Unless you really want the 'embedded' part, you...

    Unless you really want the 'embedded' part, you could write a simple recursive descent parser with much less headache!
    Also, the last time I tried Spirit was a few years ago. Is it still *really*...
  13. Replies
    1
    Views
    824

    What are you trying to do/find? Also, it is by...

    What are you trying to do/find?
    Also, it is by ideology not meant to be indexed, so it is not surprising that you can not find anything.

    Also, there is very little in the accessible 'deep web'...
  14. Replies
    26
    Views
    2,468

    There is some speculation that the dock will have...

    There is some speculation that the dock will have a nice cooling system.
    That might allow the hardware to clock up with docked.

    When used standalone, a reasonable ARM soc is good enough for the...
  15. Replies
    21
    Views
    2,694

    Windows 95, 98 (Remember seeing in primary...

    Windows 95, 98 (Remember seeing in primary school.)
    Windows XP (First home computer came with it)

    Ubuntu 8.04 (Got the CD from a magazine!)
    Fedora 11 (Took a few days to download..)

    Ubuntu ||...
  16. Replies
    2
    Views
    1,679

    From the article: It is interesting that this...

    From the article:

    It is interesting that this ('when the list is long enough') doesn't slow everything down.
  17. Replies
    25
    Views
    2,320

    True. I guess that has stopped bothering me when...

    True.
    I guess that has stopped bothering me when writing C++!
    In this case, there is a lot of horrible messages and a single reasonable one.


    ...
    note: candidate constructor not...
  18. Replies
    25
    Views
    2,320

    Here is a solution without using static_assert or...

    Here is a solution without using static_assert or specializations :



    #include <vector>
    #include <deque>
    #include <list>
    #include <string>
    #include <iostream>
  19. Thread: Deadlines

    by manasij7479
    Replies
    39
    Views
    5,173

    It is also, to some extent an anti-piracy...

    It is also, to some extent an anti-piracy measure.
    As always, it inconveniences legitimate users more than the 'pirates'.
  20. Replies
    3
    Views
    1,033

    C++ Tutorial - Learn C++ - Cprogramming.com...

    C++ Tutorial - Learn C++ - Cprogramming.com
    C++ Language - C++ Tutorials
  21. Replies
    12
    Views
    1,146

    This is fine as long as you are storing things as...

    This is fine as long as you are storing things as simple as integers.
    It will create tricky problems when the objects need cleanup (i.e. destructors need to be called.)
    That is why std::vector's...
  22. It looks a little bit ugly in C++ and you end up...

    It looks a little bit ugly in C++ and you end up writing a lot of code for nothing.
    (Also, without lazy evaluation, a lot of the interesting idioms do not translate properly.)

    Consider a...
  23. Replies
    7
    Views
    1,275

    Use the extra 200$ to double the RAM or get an...

    Use the extra 200$ to double the RAM or get an SSD if you don't have one.
    That is going to be a noticeable improvement.
  24. How many other languages have you worked with as...

    How many other languages have you worked with as much as C++ ?
  25. Replies
    52
    Views
    6,272

    By that logic JavaScript models the ecosystem...

    By that logic JavaScript models the ecosystem available in a current web browser rather well.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4