Search:

Type: Posts; User: izuael

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,627

    solved. 'twas the darn namespaces.

    solved. 'twas the darn namespaces.
  2. Replies
    10
    Views
    2,627

    hm, well. //poly manager #pragma once...

    hm, well.


    //poly manager
    #pragma once
    #include <vector>
    #include "polymanager.h"
    using namespace std;
    PolyMan::PolyMan()
    {
  3. Replies
    10
    Views
    2,627

    mm.. yes :) what exactly should i post? sorry.....

    mm.. yes :)
    what exactly should i post?
    sorry.. i'm pretty noob in c++.

    here's everything in main, before functions begin:


    /*
    * This Code Was Created By Jeff Molofee 2000
    * A HUGE...
  4. Replies
    10
    Views
    2,627

    well here's the main part #include...

    well

    here's the main part


    #include <windows.h> // Header File For Windows
    #include <gl\gl.h> // Header File For The OpenGL32 Library
    #include <gl\glu.h> // Header File For The GLu32...
  5. Replies
    10
    Views
    2,627

    classes and vectors

    i guess C++ is always the best source of problems, when you don't have any.. :D

    i've finished my polygon classes, after checking examples and several idea.
    i'm trying to make now a polygon...
  6. Replies
    14
    Views
    1,634

    yeah, i guess that vector is different of the 3D...

    yeah, i guess that vector is different of the 3D vector :)

    i was wondering now...
    i'm trying to instanciate an array of my class, but this class also needs a value in it's constructor.

    how...
  7. Replies
    14
    Views
    1,634

    i see. i always skipped the pointer part into...

    i see. i always skipped the pointer part into tutorials, since it seems a pretty evil idea. i guess i'll have to start reading 'bout them from now on. they seem more usefull than i thought.

    thanks...
  8. Replies
    14
    Views
    1,634

    so a pointer to corners returns me only the first...

    so a pointer to corners returns me only the first element, and not everything?
    uuuh. pointers are such a hard concept.

    i've got some interesting question here: is there a way to only pass to foo...
  9. Replies
    14
    Views
    1,634

    Mario, thanks. but i think it's easier to use the...

    Mario, thanks. but i think it's easier to use the curly braces, at least for now. but i do see the purpose of that. I'm starting to see now where the "power" that c++ has comes from..

    Ouch, Tonto,...
  10. Replies
    14
    Views
    1,634

    well, yes. consider it intialisation :) it's more...

    well, yes. consider it intialisation :) it's more like, i'm experimenting with it, to see if it behaves how i want.

    wow, that curly bracket sure saves a lot of typing..

    okay, and one more...
  11. Replies
    14
    Views
    1,634

    passing an array of structs

    I'm making a class to handle and decide what polygons should be rendered and checked for collisions in a simple game.

    I have a method in it, which will set the corners of the poly, and since i...
  12. Thread: arrays

    by izuael
    Replies
    10
    Views
    1,175

    oh, now i see it. it's declaring an array inside...

    oh, now i see it.
    it's declaring an array inside of an array, exactly what i want, and doing all the memory calculations. mrr, this memory allocation thingie is really evil

    but i was expecting...
  13. Thread: arrays

    by izuael
    Replies
    10
    Views
    1,175

    interestingly enough, the last example works. ...

    interestingly enough, the last example works.
    thanks.

    but if you do have a bit of time, can you explain me why it works?

    i really appreciate it.
    thanks again.
  14. Thread: arrays

    by izuael
    Replies
    10
    Views
    1,175

    um, i don't get it this is what i made till now...

    um, i don't get it
    this is what i made till now

    implementation:


    CMaze::CMaze(int mwid, int mhgt)
    {
    wid=mwid;
    hgt=mhgt;
  15. Thread: arrays

    by izuael
    Replies
    10
    Views
    1,175

    hmm.. and what should i write in it's...

    hmm..
    and what should i write in it's declaration (header), where i'm declaring grid protected?
    it's currently written int grid[][1];

    and although i set each item of the grid to 15 in the...
  16. Thread: arrays

    by izuael
    Replies
    10
    Views
    1,175

    arrays

    i'm making a class for a maze generator, but i ran into problems even from the beginning.

    i have a int named grid, which should be a two dimensional array. this one will store different values,...
  17. Replies
    1
    Views
    1,925

    simple MySQL program

    hey guys :)

    i've managed to start reading from eckel's "thinking in c++", and i do feel that i begin to understand things, although linker errors are still ahead of me. untill now, i can work with...
  18. Replies
    16
    Views
    5,218

    i tend to agree too. please give me a reference...

    i tend to agree too.
    please give me a reference to a good compiler and ide. i'm using devc++ and i've got the same error as last time. i'd preffer something that would make it easy for portable...
  19. Replies
    16
    Views
    5,218

    uhm.. so what do i have to change/remove,...

    uhm..
    so what do i have to change/remove, wraithan?

    edited: i got it, i added using std::cin;

    but now still gives these errors


    C:\Devcpp5\Proiecte\list ex\main.o(.text+0x17) In function...
  20. Replies
    16
    Views
    5,218

    i've not taken any c++ in college, i'm more of an...

    i've not taken any c++ in college, i'm more of an amateur programmer. i learnt php and vb by myself, thought c++ couldn't be too hard.

    i see now that it has completely different princples and...
  21. Replies
    16
    Views
    5,218

    heh, i guess he was right. well, i don't know....

    heh, i guess he was right.

    well, i don't know. i'm not an expert in C, i have around a week or so. what exactly should i include?
  22. Replies
    16
    Views
    5,218

    what's the thunder, lol? ^^ till now, thanks...

    what's the thunder, lol? ^^

    till now, thanks for your time, dudes :)

    i tried your last example, chaos, but cin.ignore and cin.get fail. removed them, and now i get



    ...
  23. Replies
    16
    Views
    5,218

    i tried cout

    i tried
    cout << *i << "\n", since it says endl is not declared.

    but i get this:

    In function `int main(int, char**)':
    invalid type argument of `unary *'

    am i really silly to get this...
  24. Replies
    16
    Views
    5,218

    std::list question

    i know i shoud have read a book, but..
    i went with the internet tutorials, hoping to learn.

    i'm trying to understand how std::list works. i've found some tutorials here:...
  25. Replies
    13
    Views
    1,502

    i do not want to be rude, and i do appreciate the...

    i do not want to be rude, and i do appreciate the suggestion, but can you recommend me some online book? i do realise that a hardcover book is better, since i can keep it around my desk, and look up...
Results 1 to 25 of 29
Page 1 of 2 1 2