Search:

Type: Posts; User: letdoit

Search: Search took 0.01 seconds.

  1. Thread: Weird syntax

    by letdoit
    Replies
    1
    Views
    1,108

    Weird syntax

    I have read my professor base code. I'm not familiar with "p" in the context. Can someone explain me what "p" is?
    int function(p)
    int p;
    {
    return (anotherFunction (p));
    }
  2. Replies
    2
    Views
    2,006

    convert double to string

    how can I convert a double to string
  3. Replies
    5
    Views
    2,333

    I mean, for example you are in a large project....

    I mean, for example you are in a large project. You dont' want to put a small snippet codes (utilities) to test there (Ex: find maximum of 2 numbers) to see if it works flawlessly before you use it....
  4. Replies
    5
    Views
    2,333

    Visual Studio quick code

    I'm programming Visual Studio. Do you know there is a plug-in that I could write a quick test code to verify things instead of putting a debug message in a large project?
    For example:
    I want to...
  5. Replies
    2
    Views
    996

    enum and overloading operator

    Consider the enumeration type

    enum Colors {red, blue, green yellow, violet};

    Implement the overloaded operator << that outputs the value of a Colors object as an enumeration value.

    ...
  6. Replies
    3
    Views
    1,954

    Thanks, Hunter and Skorman00

    Thanks, Hunter and Skorman00
  7. Replies
    3
    Views
    1,954

    insert a value into an array! Help

    For example: a[6]={1, 2, 3, 4, 5, 6}. I want to insert value 7 into a[2] this array.so the output 1, 2, 7, 3, 4, 5. I write a free function like this

    void insert(int a[], int &size, int pos, int...
  8. Replies
    6
    Views
    2,198

    setreal(), which takes 2 arguments "w" (width)...

    setreal(), which takes 2 arguments "w" (width) and "p" (position), works similarly to setw() but much more power by defining how many significants after ".". For example, the input is real number...
  9. Replies
    6
    Views
    2,198

    help! I lost 1 cent_C++ beginning

    I need to write a program that interacts between cash register and machine. As she inputs total price and payment, the machine will calculate money return in dollars, quaters, dimes, nickles and...
Results 1 to 9 of 9