Search:

Type: Posts; User: Dante Wingates

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Using C++ isnt a pain. Do not talk about Java...

    Using C++ isnt a pain.

    Do not talk about Java and other pseudo languages in this holy place. Now pray with me: "Never again shall I utter the name of the dark ones' way of life where the teachings...
  2. I came here to ask if its a good idea to switch...

    I came here to ask if its a good idea to switch (completely) to Linux.

    So, since we have this thread started Im going to ask. Is it a good idea to start using Linux now, after years using and...
  3. Agree completely with Mario R. It sounds like a...

    Agree completely with Mario R. It sounds like a lot of fun and a good learning experience, too good to pass. Unfortunately Im not very familiar with electrical engineering... Learning something new...
  4. I meant I don't know how to program one of those...

    I meant I don't know how to program one of those microcontrollers in Assembly language since I don't know its instruction set. Sorry, doesnt it make sense? I thought you had to know its instruction...
  5. Strange question here: do you know how to program a PIC?

    Im basically asking if programming a PIC microcontroller is something every programmer should know. It may look like a weird question but whatever, I think you get the point. It looks interesting and...
  6. Replies
    2
    Views
    5,280

    Now that was some useful information. It will...

    Now that was some useful information.

    It will be very useful, thank you very much.
  7. Replies
    2
    Views
    5,280

    Cout is printing from right to left

    Im experiencing some pretty strange behavior here. I have a stack class, and I was testing it, but I cant really tell whats wrong with it. Actually, the class seems to be working, but cout is...
  8. Cout is printing numbers from right to left

    Damn I can't believe I did that!

    Sorry, I was going to start a new thread, and then posted here.
  9. Then use cin.ignore() to ignore the nl that is...

    Then use cin.ignore() to ignore the nl that is bothering you

    This code fragment wont work as you might expect:


    #include <iostream>

    int main()
    {
    char c;
  10. Replies
    22
    Views
    2,360

    Probably your program was already running while...

    Probably your program was already running while you was trying to run it again, then when you restarted it worked...

    Was the error something like "bla bla returned with exit code -1"? It happens...
  11. Replies
    5
    Views
    2,513

    jump twice, turn 360° then close your eyes and...

    jump twice, turn 360° then close your eyes and say, "oh mighty computer, how do I know when a key has been pressed?"

    Then the mighty computer will give you these links: hooking and...
  12. int *ptr = NULL, &ref = *ptr; do you want a...

    int *ptr = NULL, &ref = *ptr;

    do you want a reference to reference nothing? What is the point of having such a reference? Oo

    If that is the case, a null pointer should be more than enough.
    ...
  13. Replies
    5
    Views
    9,228

    Awesome explanation, and nice links thanks. Sorry...

    Awesome explanation, and nice links thanks. Sorry it took some time for me to answer, I havent visited the forum in a while.

    That was all I wanted to know about states... I tried to simulate that,...
  14. Replies
    5
    Views
    9,228

    "To be Turing complete, it is enough to have...

    "To be Turing complete, it is enough to have conditional branching (an "if" and "goto" statement), and the ability to change memory." - Wikipedia

    That is what I was trying to acomplish, so by...
  15. Replies
    5
    Views
    9,228

    C++ Turing machine

    Im trying to simulate a turing machine in C++... The problem isnt related to the language... The problem is about the virtual turing machine itself, and that is why Im posting here since I dont know...
  16. Replies
    9
    Views
    3,526

    No, Im completly aware of that. The fact that I...

    No, Im completly aware of that. The fact that I wrote a simple function was simply because I felt like it.

    Im not missing the existence of standard functions, but I often encourage people to write...
  17. Replies
    9
    Views
    3,526

    char toUpper(char *c) { return((*c >= 0x61...

    char toUpper(char *c)
    {
    return((*c >= 0x61 && *c <= 0x7A) ? *c &= 0xDF : *c);
    }

    You guys seems to be missing this...

    You shouldnt give him a complete example when he was so close to what...
  18. See for thyself #include int...

    See for thyself


    #include <iostream>

    int main(int argc, char **argv)
    {
    std::string thyName;

    std::cout << "Input thy name: ";
  19. Replies
    7
    Views
    1,225

    So this is what they mean by saying that visual...

    So this is what they mean by saying that visual basic causes brain damage...

    Google is your best friend
  20. Replies
    8
    Views
    1,486

    What kind of question is that??? "I cant code for...

    What kind of question is that??? "I cant code for myself so I need something to aid me"? Do you want a tool which helps you in coding? IDEs serve this purpose. Do you want to know what every function...
  21. Replies
    3
    Views
    1,472

    they are the command line parameters... Im not...

    they are the command line parameters... Im not sure how they call it in english but let me try to explain it...

    When you execute a program on the command prompt, you pass some values to it... For...
  22. As far as I know a nested loop is nothing more...

    As far as I know a nested loop is nothing more than a loop within another loop...


    for(int i = 0; i < 10; i++)
    printf("%d ", i);

    this loop will print values from 0 to 9.

    now a loop...
  23. Some comments before you said "if you show C code...

    Some comments before you said "if you show C code to newbies they will think it is the only way to do it", but you're acting like there is exactly one way to do something. Do you realize you're...
  24. Ok, ok.. This is like a loop... Is that part of...

    Ok, ok.. This is like a loop... Is that part of the forum rules? Not showing C style code to a newbie?



    We who? You're the only one complaining... I said a lot of times I do understand your...
  25. Yes I do have C background... Anyway I still dont...

    Yes I do have C background... Anyway I still dont believe that mixing C and C++ makes the code "bad", but I have to agreed that it can make the code a little more confusing for those who arent very...
Results 1 to 25 of 56
Page 1 of 3 1 2 3