Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: atee

Search: Search took 0.01 seconds.

  1. Thread: Vectors in C++

    by atee
    Replies
    15
    Views
    1,061

    Re: Vectors in C++

    Then, what is the difference between declaring a variable as a local variable in the function and declaring it as a vector/container?

    Even, a local variable has block scope - block being the...
  2. Re: Vector subscript out of range- error whilst debugging

    It doesn't allow me to debug.

    When I debug it says debug assertion failed with a message stating "vector subsript out of range"

    I have wrapped the code below.

    Thanks for your help
  3. Thread: Vectors in C++

    by atee
    Replies
    15
    Views
    1,061

    Re: Vectors in C++

    Thanks a lot. Please correct me if wrong: The definition of a global variable is the one which remains active throughout the program. An arary declared with evctor remians active throughout the...
  4. Thread: Vectors in C++

    by atee
    Replies
    15
    Views
    1,061

    Re: Vectors in C++

    IS the evctor a global variable and remains active throughout the program?
  5. Vector subscript out of range- error whilst debugging

    I have the follwoing code. however, when I debug it gives an error saying" vector subscript out of range"

    Can anyone pelase help?

    //Vector based multi-dimensional arrays
    //Vectors are a STL...
  6. Thread: Vectors in C++

    by atee
    Replies
    15
    Views
    1,061

    Vectors in C++

    I have been reading on Vectors in C++ and understand that vectors are a STL container that allow you to store pretty much anything in them. When used correctly they can be very powerful containers.
    ...
  7. Replies
    10
    Views
    750

    Fundamental question- C++ learner

    Let us say I have dynamically allocated memory as below:


    double** pvalue = NULL; // Pointer initialized with null
    pvalue = new double [3][4]; // Allocate memory for a 3x4 array

    1) I...
  8. Replies
    8
    Views
    628

    Re: Function of the same name as the class

    Yes, I confirmed that I was right using the debugger

    I use Visual Studio 2008.How can I check the compiler version?Sorry for asking this question..
  9. Replies
    8
    Views
    628

    Re: Function of the same name as the class

    Thanks a lot.

    That means when I craete object of a derived class (in my code that derived class being Rectangle), the constructor of the derived class is called followed by the constructor of the...
  10. Replies
    8
    Views
    628

    Function of the same name as the class

    I was reading the following in order to understand polymorphism. You can see that the function "Shape" is of the same name as that of the class.

    What is the significance here?



    #include...
  11. Replies
    6
    Views
    476

    Re: Beginner- simple question

    Windows 7
  12. Replies
    6
    Views
    476

    Beginner- simple question

    I'm just beginning to code in C++.

    I created an empty project in Visual Studi and then created a source file (cpp file) and then added the follwoign bit of code


    #include <iostream>

    using...
  13. Thread: Learner in C++

    by atee
    Replies
    4
    Views
    437

    Re: Learner in C++

    Thanks a lot.
    I went through the hyperlink for Accelerated C++.

    Did you use the sampel source code? How useful did you find it..just confirming before placing the order online..
  14. Thread: C++ linking error

    by atee
    Replies
    4
    Views
    491

    Re: C++ linking error

    Thanks a lot everyone. The problem is solved. The smaple code was very useful.
  15. Thread: Learner in C++

    by atee
    Replies
    4
    Views
    437

    Learner in C++

    Hi,

    I'm beginning to learn C++ (I have a good experience of several years in procedure oriented programming languages like Fortran , C ).

    Can anyone direct me to some good sample code (simple...
  16. Thread: C++ linking error

    by atee
    Replies
    4
    Views
    491

    Re: C++ linking error

    Thanks a lot, this helps.

    I used the example code, it compiles without errors, when I debug, it asks for the executable I should I be using.

    Can you please help and advisewhat exe should I be...
  17. Thread: C++ linking error

    by atee
    Replies
    4
    Views
    491

    C++ linking error

    I'm having a problem linking in C++
    I have my cpp file named as : XYZ
    I have another header file and a corresponding cpp file which Iím trying to link.

    which I have added in the C/ C++ (General)...
Results 1 to 17 of 17


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center