Search:

Type: Posts; User: Codedecode

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,370

    Test your knowledge

    What is the last value displayed when this code is run?





    int *secret;
    int j;
    secret=new int[10];
    secret [0]=[10];
  2. Replies
    5
    Views
    3,896

    What am I missing?

    #include <iostream>
    #include <iomanip>
    #include<fstream>

    using namespace std;

    int func(int x, int y);
  3. Replies
    5
    Views
    3,896

    I have added a second argument. I'm still...

    I have added a second argument. I'm still getting the same result. I'm missing something somewhere. Just not sure where.
  4. Replies
    5
    Views
    3,896

    Recursive Function

    I'm tring to write a recursive function that takes as a parameter a non-negative integer and generates the following pattern of stars if the integer is 4.


    *
    * *
    * * *
    * * * *
    * * *
    * *
    *
  5. Replies
    13
    Views
    21,163

    Here is what I have for my complete code, so far....

    Here is what I have for my complete code, so far. If I make my funtions const I get errors.



    //location.h

    class location
    {
    private:
    int degrees;
  6. Replies
    13
    Views
    21,163

    I'm not sure how where or how to get the...

    I'm not sure how where or how to get the East/West, North/South into the code. I would also like to initialize the class to a specific location. Is this something that can be done?
  7. Replies
    13
    Views
    21,163

    This is what I have so far for the **.h file. ...

    This is what I have so far for the **.h file.



    //location.h

    class location
    {
    private:
    int degrees;
  8. Replies
    13
    Views
    21,163

    I'm working with Visual C++ 2008 Express.

    I'm working with Visual C++ 2008 Express.
  9. Replies
    13
    Views
    21,163

    Class that defines a location??

    I am tring to write a class that defines location based on latitude & longitude. I want to include members for East/West, North/South, and all latitude and longitude. Also a function must be...
Results 1 to 9 of 9