Search:

Type: Posts; User: big146

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,628

    Have you looked into the Boost Graph Library ?...

    Have you looked into the Boost Graph Library ? There is even a book written on it.I belive it is part of the Bjarne Stroustrup in depth series.
  2. Replies
    3
    Views
    1,996

    #include #include using...

    #include <iostream>
    #include <vector>

    using namespace std;

    void OddMagicSquare(vector<vector<int> > &matrix, int n);
    void DoublyEvenMagicSquare(vector<vector<int> > &matrix, int n);
    void...
  3. Thread: Vectors

    by big146
    Replies
    15
    Views
    2,212

    Vectors provide no operation to remove elements...

    Vectors provide no operation to remove elements directly that have a certain value.You must use an algorithm to do this.
    Take a look at this and it might clear things up a little for ya.

    ...
  4. Replies
    4
    Views
    1,583

    If you want to create a console app without the...

    If you want to create a console app without the wizzard.just select win32 console app and then select empty project under application settings.. this way you only have to add a cpp file.
  5. Replies
    6
    Views
    5,273

    Take a look at this....hope it helps //The...

    Take a look at this....hope it helps


    //The code below calculates the cosine of 50000000 random values
    //using both a look up table, which is calculated at the beginning
    //of the program, and...
  6. Replies
    12
    Views
    5,829

    Take A look at this....hope it helps //...

    Take A look at this....hope it helps


    // Tic-Tac-Toe
    // Plays the game of tic-tac-toe against a human opponent

    #include <iostream>
    #include <string>
    #include <vector>
    #include <algorithm>
  7. Replies
    5
    Views
    1,203

    Ya i seen that too. for_each( v.begin(),...

    Ya i seen that too.



    for_each( v.begin(), v.end(), show )



    That is next
  8. Replies
    5
    Views
    1,203

    So synaticly both versions do the same thing on...

    So synaticly both versions do the same thing on the container vector? I was'nt sure if the for loop had some upredictable side effect. The book Im going through right now( STL programing from the...
  9. Replies
    5
    Views
    1,203

    for, while with Vectors

    My question is this, why would I prefer one over the other ?



    vector<int> v(10);
    vector<int>::iterator p;

    int i = 0;

    p = v.begin();
  10. Replies
    8
    Views
    1,873

    I installed 2005 beta and have had no problem....

    I installed 2005 beta and have had no problem. just make sure you specify the correct path and your off and running.From what I can tell the compiler is the real deal with full optimazation. I have...
  11. Replies
    11
    Views
    1,869

    >>Couldn't you fake the data, if this isn't for...

    >>Couldn't you fake the data, if this isn't for real use?
    I gues i could,but i was trying to get the real deal going. I would use the program, but I would be the only one using it.

    But I guess I ...
  12. Replies
    11
    Views
    1,869

    I think that all the info I need is on the...

    I think that all the info I need is on the cd-rom...But that would probably mean that I would have to reverse engineer it to figure out what functions to hook...So that I could use the data already...
  13. Replies
    11
    Views
    1,869

    Thanks for the reply's, I think that the TSP...

    Thanks for the reply's, I think that the TSP theory is a little out of my realm codeplug....:) but thank for the info... Im thinking that also maybe I could just load a database of things we aready...
  14. Replies
    11
    Views
    1,869

    A Little Advice Please!

    Im thinking of writing( or attempting to write ) a routing program for delivery trucks. I was wondering what the best way to go about this would be? I would like to use zipcodes, but I would also...
  15. Replies
    10
    Views
    10,875

    If you want to run just a simple console app,...

    If you want to run just a simple console app, select win32 >> then console project, when the application wizzard dialog pops up select application settings and then select Empty project. After the...
  16. Replies
    10
    Views
    10,875

    Worked for me too...sorry...wish i could tell ya.

    Worked for me too...sorry...wish i could tell ya.
  17. Replies
    9
    Views
    1,379

    Thanks for the reply's folks!That shed's some...

    Thanks for the reply's folks!That shed's some lite on it for me.So it basicly boils down to preference ? by using &var intstead of *var(which both basicly do the same thing) I am tying &var to an...
  18. Replies
    9
    Views
    1,379

    Im not sure I follow you....They both change the...

    Im not sure I follow you....They both change the value of the caller in main right ?
  19. Replies
    9
    Views
    1,379

    What is the diffence with these functions

    have a queston that is confusing me....ok say we want to pass a call to a function by refence or a pointer....like this





    void squarebyRefernce( int &numberRef )
    {
    nuberRef *= numberRef;
    }
  20. Replies
    24
    Views
    4,129

    Declaring a member function virtual enables the...

    Declaring a member function virtual enables the program to determine which function to invoke based on the type of object to which the handle points, rather than on the type of the handle.
    ...
  21. Replies
    24
    Views
    4,129

    The -> is also used in polymorphism. say you...

    The -> is also used in polymorphism.
    say you have base class Point and derived class Circle, and they both have their own print functions as virtual void print();




    Point point();
    Point...
  22. Replies
    4
    Views
    1,143

    I think what your asking about is inheritance....

    I think what your asking about is inheritance. You need to determine what type of relationship it has to the base class. i.e. "is a" or "has a"

    for example: mechanic is a employee. And would...
  23. Replies
    6
    Views
    1,390

    You can still write standard C++ using visual...

    You can still write standard C++ using visual studio.Net.Just use the standard syntax and #inlcude<files>. You cannot use the Net. namespaces for use in a standard C++ program.

    instead of #using...
  24. Replies
    17
    Views
    1,822

    Im not familair with VI. But thank for the...

    Im not familair with VI. But thank for the reply's.I downloaded borlands C++BuilderX to give it a try.I dont know though,I'm kind of partial to visual studion.Net.

    So how many of you actualy...
  25. Replies
    17
    Views
    1,822

    Is there no IDE in Linux like the one in visual...

    Is there no IDE in Linux like the one in visual studio? Or is it all command prompt?
Results 1 to 25 of 75
Page 1 of 3 1 2 3