Search:

Type: Posts; User: StainedBlue

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. That can't be right. While I do encourage you to...

    That can't be right. While I do encourage you to learn a new programming language, I do not encourage you to try to solve this "problem" by writing a program to "desaturate the internet". I too am a...
  2. Find a book that doesn't suck?

    Find a book that doesn't suck?
  3. Perhaps an array of structs where each struct...

    Perhaps an array of structs where each struct holds an encrypt char and a decrypt char. For example, your first struct in the array would contain 'A' for the decrypt char and 'T' for the encrypt...
  4. Replies
    2
    Views
    3,469

    Showing us Main.cpp would probably be a good...

    Showing us Main.cpp would probably be a good first step
  5. Replies
    8
    Views
    1,035

    % means modular division i.e. returns the...

    % means modular division i.e. returns the remainder

    / means divide as in regular division

    == tests equality

    = assigns a value

    2%2 == 0
  6. Replies
    2
    Views
    2,167

    I don't normally do WinForms programming, but...

    I don't normally do WinForms programming, but don't you just need to create a new WinForm (the splash screen) and change the program so that the new Form gets loaded first when the program is run?...
  7. Replies
    10
    Views
    3,778

    Google's first hit for the microcontroller turned...

    Google's first hit for the microcontroller turned up a PDF documentation. Inside the PDF document, it mentions Zilog IDE for "in-circuit programming". The site for the Zilog IDE mentions it comes...
  8. Replies
    2
    Views
    1,215

    Guideline: make it readable

    Guideline:

    make it readable
  9. Replies
    6
    Views
    1,084

    A simple solution might be: ...

    A simple solution might be:



    std::cin.ignore();
    std::string guess;
    std::getline(std::cin, guess);
  10. postfix, abstract expression trees, shunting-yard...

    Considering only parsing mathematical expressions, do you find it's easier to:

    a) Convert the infix expression to postfix, and then create the AET?

    or

    b) Create the AET during the infix...
  11. Ah! Many thanks! that worked like a charm!

    Ah! Many thanks! that worked like a charm!
  12. Thanks, although, that's not quite what I'm...

    Thanks, although, that's not quite what I'm looking for. I need to be able to specify sort of an anonymous type as the return type. Hard to explain but here's another example of what I'm trying to...
  13. Returning a function pointer from a function

    Here is my requirement:

    Assume I have functions a, b, and c all with the same signature.

    I need a, b, and c to *return* a pointer to either a, b, or c (based on some condition within each...
  14. Replies
    5
    Views
    1,570

    doesn't matter, I figured it out. delete...

    doesn't matter, I figured it out.

    delete thread if you please moderator.
  15. Replies
    5
    Views
    1,570

    Request Move to C++ Please.

    Request Move to C++ Please.
  16. Replies
    5
    Views
    1,570

    Oddly enough, the assertion error I get says:...

    Oddly enough, the assertion error I get says: deque empty before pop


    ???
  17. Replies
    5
    Views
    1,570

    Trouble popping stack using iterator

    The following goes into an infinite loop...





    #include <iostream>
    #include <stack>
    #include <list>
  18. Replies
    11
    Views
    14,037

    Sorry, guess I wasn't exactly clear. I suppose...

    Sorry, guess I wasn't exactly clear. I suppose I'll redefine the academia I was talking about to the profs whose students end up here armed with Dev-C++ and C++ techniques of the 1990s.

    Also, "GCC...
  19. Replies
    11
    Views
    14,037

    In all fairness, in school you'll be tasked to...

    In all fairness, in school you'll be tasked to tackle the "classic programming problems". And the value of the lesson is understanding how to solve the problem, not discovering all the nuances of a...
  20. Replies
    1
    Views
    942

    Silly typedef question

    I have a typedef that I'd like to use across multiple files, my question is, what the best way to accomplish that without re-declaring the typedef in each file? Also, it seems silly to me to stick a...
  21. Replies
    11
    Views
    14,037

    Well stick around these forums long enough, and...

    Well stick around these forums long enough, and you'll hear the condemnation of Dev-C++ echoed time and time again.

    Should you switch to a newer compiler? (AFAIK, Dev-C++ ships with an outdated...
  22. Replies
    13
    Views
    10,328

    While just a matter of opinion, I agree c++...

    While just a matter of opinion, I agree c++ lambdas are hideous when you compare them to say c# lambdas. But the syntax is growing on me slowly.
  23. Replies
    13
    Views
    10,328

    All very nice suggestions. Thank you. The...

    All very nice suggestions. Thank you. The make_shared make things a lot cleaner.
  24. Replies
    13
    Views
    10,328

    In my OP, i had a vector of foos, which i was...

    In my OP, i had a vector of foos, which i was trying to "convert" to shared_ptrs for the "fooPointers" vector (a vector of shared_ptrs).

    in my second post, i changed the original vector, to a...
  25. Replies
    13
    Views
    10,328

    Thanks. Yea I guess my original confusion was...

    Thanks. Yea I guess my original confusion was more to do with what a shared_ptr did. I originally thought of it more as a managed pointer, than a managed object (hence the syntactic error in my...
Results 1 to 25 of 169
Page 1 of 7 1 2 3 4