Search:

Type: Posts; User: Garland

Search: Search took 0.00 seconds.

  1. Thread: Prime Numbers

    by Garland
    Replies
    7
    Views
    2,192

    Perhaps he attends a class in functional...

    Perhaps he attends a class in functional programming
  2. Replies
    7
    Views
    7,159

    Thanks all for your time and help, although by...

    Thanks all for your time and help, although by now, you must have probably forgotten, that you even provided it.
  3. Replies
    9
    Views
    23,785

    Very well then.

    Very well then.
  4. Replies
    9
    Views
    23,785

    I won't be trying to start a flame here, because...

    I won't be trying to start a flame here, because it is a) stupid and b) I know that the code indeed doesn't look very nice,
    but perhaps it would be better to submit your own solution to the problem...
  5. Replies
    9
    Views
    23,785

    For getting the character without having to wait...

    For getting the character without having to wait for enter:
    http://msdn2.microsoft.com/en-us/library/ms684961.aspx

    if you don't want to study it, then:




    #include <windows.h>
    #include...
  6. Replies
    5
    Views
    1,051

    Also, the main problem with the loop is, that it...

    Also, the main problem with the loop is, that it is infinite, so no wonder it doesnt run, when the program gives all it's energy to the loop ;)

    Do prevent the loop from ending up in nowhere, you...
  7. Thread: Please help.

    by Garland
    Replies
    4
    Views
    964

    typing cin.get() ; at the end of your...

    typing
    cin.get() ;
    at the end of your program
    is a good solution
  8. Replies
    6
    Views
    916

    True That is the difference between passing by...

    True

    That is the difference between passing by pointer(int* pt) or reference(int& ref) and passing by value (int val) :

    In the first two examples, the address of the variables is passed and...
  9. Replies
    6
    Views
    916

    Hello, I am afraid, that pointers are not the...

    Hello, I am afraid, that pointers are not the only problem of your program:
    I will try to list all the errors, syntax is what suffers here, so it shouldn&#180;t be such a problem to fix it:

    1) a...
  10. Replies
    2
    Views
    1,851

    A word(or two) of gratitude

    Thanks a lot for even bothering to take a look at the program, I can now, thanks to you, see where I did the mistake, so thanks again and have a nice day(or two).
  11. Replies
    2
    Views
    1,851

    Combination program problem

    Hello, I was thinking of writing a program that writes all numbers of one combination in all orders,just for practice purpose :

    (1,2,3):

    1 2 3
    1 1 2
    1 2 3

    and so on...
  12. Replies
    2
    Views
    1,568

    Garland

    Thanks a lot, defining the constants did the job-for now.
  13. Replies
    2
    Views
    1,568

    Resources problem

    Hello, I have recently started programming in WIN32 API in DEV-C++, where I encountred several problems with resources handling:
    1)whenever I change my resource file, the compiler throws a syntax...
  14. Replies
    7
    Views
    7,159

    the creator in learning

    Ok, thank you both, though I think throwing the monitor out of windows is one of the fastest and most reliable solutions, as they say.
  15. Replies
    7
    Views
    7,159

    Returning to previous line

    Hello, is there any way to output a string to previous line with std::cout ?
    The output would look like:


    Line which I wrote second
    Line which I wrote first



    or, alternately any...
Results 1 to 15 of 15