Search:

Type: Posts; User: Shakti

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,010

    In the first case the modification of head inside...

    In the first case the modification of head inside the loop does not modify what head points to outside the loop. In the second case, when the function exits you will actually have modified what the...
  2. Replies
    12
    Views
    1,350

    The exact PIC model is PIC18F4520 (sorry, thought...

    The exact PIC model is PIC18F4520 (sorry, thought it was a PIC16 but that was wrong when I double checked).

    AndrewHunter: The problem with that approach is when the same typedef is used like this...
  3. Replies
    12
    Views
    1,350

    The exact PIC model is PIC18F4520 (sorry, thought...

    The exact PIC model is PIC18F4520 (sorry, thought it was a PIC16 but that was wrong when I double checked).

    AndrewHunter: The problem with that approach is when the same typedef is used like this...
  4. Replies
    12
    Views
    1,350

    As I said, this is NOT modern C, this is NOT...

    As I said, this is NOT modern C, this is NOT legal C, it IS C, int8 and int16 are VALUE types, they are NOT defined/typedefed as pointer types anywhere, they are used as value types in other parts of...
  5. Replies
    12
    Views
    1,350

    Old source code dereferencing non-pointer

    Hi all

    I have some really old code for a PIC16 microprocessor, compiler not 100% known but it might be ccs, that in a couple of parts does the following:


    int16 p_16;
    int8 eeadr=73; //70..73...
  6. Replies
    59
    Views
    3,886

    To learn Web programming I have followed the...

    To learn Web programming I have followed the "course" here: Learn Ruby on Rails for Free

    I haven't done it all (yet) but it covers both frontend and backend in a nice way.
  7. Replies
    18
    Views
    4,749

    Which is probably why Elysia chooses to take a...

    Which is probably why Elysia chooses to take a more conservative approach to the license (static linking with LGPL library? Must make source code available) rather than the more liberal "must make...
  8. Replies
    18
    Views
    4,749

    Regarding static linking I think (insert normal...

    Regarding static linking I think (insert normal "not a laywer clause" here, but from what i read on the web) it is enough for you to allow users to relink against another library. So if I have...
  9. Replies
    18
    Views
    4,749

    In my opinion Qt is very good, provided you...

    In my opinion Qt is very good, provided you aren't afraid to switch to the Qt framework completly (ie using QString instead of std::string, QFile instead of std::fstream etc.). I haven't dabbled much...
  10. Replies
    2
    Views
    559

    Database error is back

    Pretty much every morning around 07:30 my time (GMT+1) the "Database error" that was plauging the site is back.

    Seems to be working the rest of the day but something happends around that time.
  11. Replies
    37
    Views
    3,638

    I recently had some issues getting stuff to use...

    I recently had some issues getting stuff to use my USB sound card instead of the (dead) built-in one, and had an issue where Skype notifications would pause all other sounds. Both of these are solved...
  12. Replies
    37
    Views
    3,638

    And my first order of business with any computer...

    And my first order of business with any computer I personally own is to get rid of Windows and install Linux...to each their own and as Matticus said, I don't see how your posts are relevant to this...
  13. Replies
    37
    Views
    3,638

    My advice to you would be that you try it out in...

    My advice to you would be that you try it out in the live CD scenario a bit before you decide to install it. You may also try to run it from a USB stick in case you don't want to wait for the media...
  14. Thread: SFINAE trouble

    by Shakti
    Replies
    4
    Views
    1,645

    Ah missed the _t, serves me for reading code on...

    Ah missed the _t, serves me for reading code on an empty stomach...
  15. Thread: SFINAE trouble

    by Shakti
    Replies
    4
    Views
    1,645

    I think you want to do template...

    I think you want to do


    template<bool B>
    struct Test
    {
    template<bool B2=B>
    typename std::enable_if_t<B2>::type test1() { std::cout << "test1\n"; }

    template<bool B2=B>
  16. Replies
    21
    Views
    6,026

    Ah yes, that would be awesome!

    Ah yes, that would be awesome!
  17. Replies
    21
    Views
    6,026

    Yah I was curious because I also used to find it...

    Yah I was curious because I also used to find it to be a bit clumsy to work with so wanted to compare notes so to speak.

    Note that the comments below are not meant to invalidate your concerns or...
  18. Replies
    21
    Views
    6,026

    Just curious but what features do you have in...

    Just curious but what features do you have in mind here?
  19. Replies
    21
    Views
    6,026

    For anything C and C++ related I strongly prefer...

    For anything C and C++ related I strongly prefer Qt Creator. Do not be fooled into thinking that it is only useful for Qt applications, it is a good C and C++ IDE. You can find it at qt-project under...
  20. Replies
    2
    Views
    1,302

    You never update the value of snakeyes inside the...

    You never update the value of snakeyes inside the loop. The way you have it now you will either never enter the loop, or you will never exit the loop.
  21. Replies
    4
    Views
    2,419

    To help against blacklistings you might want to...

    To help against blacklistings you might want to check out spf records aswell and make sure you have a correct one. Also some lists add you because of faulty reverse dns lookups. 2 tools that has...
  22. This isn't how it is done here. You do the work...

    This isn't how it is done here. You do the work and post specific questions when you run into trouble.
  23. Replies
    7
    Views
    1,173

    What cyberfish said; I have no EE background but...

    What cyberfish said; I have no EE background but now my job consists of quite alot of embedded work. I also do some PC stuff and a bit of embedded Linux stuff as well but mostly I program for AVR...
  24. Replies
    1
    Views
    3,204

    This is a C question and not a C++ question. ...

    This is a C question and not a C++ question.

    However without knowing the how WriteToFile is called, what you have done before that and so on it is hard to tell...do you check that a file is...
  25. Replies
    5
    Views
    3,533

    What if you wrap your program in a loop? Basicly...

    What if you wrap your program in a loop? Basicly do


    int main()
    {
    while(1)
    {
    // Rest of program
    }
    }
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4