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

Search:

Type: Posts; User: aamir121a

Page 1 of 19 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    1,606

    Re: Circular Dependency error

    Thank you all for posting
  2. Replies
    6
    Views
    1,606

    Re: Circular Dependency error

    this is strictly a c code ( so no classes ) problem comes from the fact pms.h in included in pms_courses.h and pms_program.h and the are included in pms.h . ( hence the circular dependency )...
  3. Replies
    6
    Views
    1,606

    Circular Dependency error

    Hi ,

    I was doing Uni assignment ( not looking for a full solution ) had to use the start up code provided ( other wise this issue would not have come ),
    when compiling the source I get the...
  4. Re: 'NODE' undeclared (first use in this function)

    Hi Laserlight , in the line above it is declared as struct NODE node , what i want to draw your attention to is problem seems to be solved when I add


    struct NODE
    {
    char val;
    int ...
  5. 'NODE' undeclared (first use in this function)

    I am developing a double linked list in C ( development environment ) is QT with mingw32 4.7 gcc / g++ compiler ,

    in the header file I have defined struct as follows


    #ifndef...
  6. Replies
    1
    Views
    1,244

    Re: Help With Fractal Terrain

    hi ,

    you can get one here it is C++ implementation

    http://code.google.com/p/geogen/source/browse/trunk/src/

    http://code.google.com/p/geogen/source/browse/trunk/src/ggen_data_2d.cpp#803
  7. Replies
    5
    Views
    3,735

    Re: C++ templates without arguments

    Thank you john and OReubens
  8. Replies
    5
    Views
    3,735

    Re: C++ templates without arguments

    I am using VS 2008 , however you are right when I cleaned the project and rebuild it does not work. ( however your code works fine ) however I still don't understand why template are being...
  9. Replies
    5
    Views
    3,735

    C++ templates without arguments

    Some reading through C++ code I come across template deceleration without any type , I have tested the code it compiles too


    template<>
    class abc
    {

    }

    similarly template usage
  10. Replies
    1
    Views
    1,083

    Re: Simplest 3D physics engine

    They are dime a dozen just do a search on soruceforge , however just be aware that the more established one are easy to use with much more documentation and tutorials.
  11. Replies
    6
    Views
    1,473

    Re: Spliting bytes

    The only difference with Windows API is the Alpha channel is at the very end RGBA , as oppose to QT or C++ Builder XE2 ( from Embarcadero )where is is ARGB
  12. Replies
    6
    Views
    1,473

    Re: Spliting bytes

    Thank you OReubens
  13. Replies
    6
    Views
    1,473

    Re: Spliting bytes

    thanks Victor , however I was more interested in how it was done in the first place , I meant better solution than union.
  14. Replies
    6
    Views
    1,473

    Spliting bytes

    I am currently working with win32 API , for image processing, one of the windows function returns RGBA ( colors ) as unsigned int , I then split it into individual bytes by creating a union...
  15. Replies
    8
    Views
    2,133

    Re: looping thrrough 2D array ,

    I was think of spiting a large W by H image into of 4 or 8 smaller images and running them in separate threads , in that case function would return a pointer to pointer array , with...
  16. Replies
    8
    Views
    2,133

    Re: looping thrrough 2D array ,

    thank you Paul , ( I have always found this concept to be a bit confusing ) I was doing for a QT project , which involves comparing pixel Data ( QImage ) for two image with the same...
  17. Replies
    8
    Views
    2,133

    Re: looping thrrough 2D array ,

    Sorry Paul I can't remember , it was a while a ago , it be great if you can post the fast and corrected version of the above code , when it comes to pointer to pointers I get confused.
  18. Replies
    8
    Views
    2,133

    Re: looping thrrough 2D array ,

    Thank you. please post the relevant corrections
  19. Replies
    8
    Views
    2,133

    looping thrrough 2D array ,

    I have the following code which I got through one of the posts here


    #ifndef TDYNAMICARRAY_H
    #define TDYNAMICARRAY_H

    namespace Massive
    {
    template<class T>
    T...
  20. Replies
    8
    Views
    1,602

    Re: keyword extern

    thank you
  21. Replies
    8
    Views
    1,602

    keyword extern

    Could someone please explain the C/C++ keyword ' extern ' , and it use , if possible please post some example.
  22. Thread: matrixarray

    by aamir121a
    Replies
    7
    Views
    1,854

    Re: matrixarray

    thank you
  23. Thread: matrixarray

    by aamir121a
    Replies
    7
    Views
    1,854

    matrixarray

    I wish to convert a 2D Array i.e int a[20][20] , convert to either s single array as in in[400] or hold it in a vector , and then back again , any ideas ?
    my initial thoughts were


    ...
  24. Replies
    2
    Views
    1,234

    incrementing iterator

    I have always used iterator as it++ , I which to understand what effect does ++it has as oppose to it++ , where it being the iterator.
  25. Replies
    4
    Views
    2,194

    Re: string stream usage

    it is not pattern matching , more data validation , thank you for your post , I actually did this with boost::lexical_cast , throws an exception if the required value is neither float or a...
Results 1 to 25 of 456
Page 1 of 19 1 2 3 4





Click Here to Expand Forum to Full Width

Featured