Search:

Type: Posts; User: rayrayj52

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,172

    Ok great, I recently bought a few books on...

    Ok great, I recently bought a few books on computer graphics and openGL. I am attempting to self teach myself a lot of the material before I take a class next semester. However, I am a little rusty...
  2. Replies
    6
    Views
    2,172

    OpenGL question

    Would this forum be the correct place to ask questions about OpenGL or computer graphics in general?
  3. Replies
    14
    Views
    5,326

    Ok, that clears how to read the input, but how i...

    Ok, that clears how to read the input, but how i translate that to code, this is something I have alwasy been weak on, and always seems to be a hitch in my development. Could you please explain how...
  4. Replies
    14
    Views
    5,326

    I am still really unclear about how to use the...

    I am still really unclear about how to use the getline() feature is there a good tutorial on how to use it effectively?

    To your question about spacing between the license number and the time...
  5. Replies
    14
    Views
    5,326

    About the reading the input in, could you help...

    About the reading the input in, could you help shed some light on reading the charcters in and how to seperate them and place them in differeint character variables?
  6. Replies
    14
    Views
    5,326

    Sorry, I should have mentioned the specifics of...

    Sorry, I should have mentioned the specifics of the program and the output needed. I will state the directions I was given:

    The program should print a message whenever a car arrives or departs. ...
  7. Replies
    14
    Views
    5,326

    oh yes, and by the way, the times in the input...

    oh yes, and by the way, the times in the input file are in order
  8. Replies
    14
    Views
    5,326

    Hey Doug, just read your message, thanks, you...

    Hey Doug, just read your message, thanks, you break it down nicely, I am very new and really trying to grasp this. Now beginning with the reading the input file. You mention read one line at a time...
  9. Replies
    14
    Views
    5,326

    my first step would be to create a specification...

    my first step would be to create a specification file to make my class or struct



    const int MAX=10; //garage can only hold 10 cars at one time
    class carstack{
    public:
    bool IsEmpty()...
  10. Replies
    4
    Views
    1,412

    also I have a few classes/struct that I need to...

    also I have a few classes/struct that I need to create in a header file or specification file, do they all have to be seperate header files? My code is below:



    const int MAX = 10;
    struct car{...
  11. Replies
    4
    Views
    1,412

    elad, great, thanks for shedding some light, my...

    elad, great, thanks for shedding some light, my next question is, do you know how would i go about actualyl creating a ".h" file or specification file in VS.net?
  12. Replies
    14
    Views
    5,326

    garage simulation

    I have a task where I have to simulate a parking garage in C++ using stack. There is only one entrance/exit to the garage. If someone comes to retrieve a car that is not first out of exit, all...
  13. Replies
    4
    Views
    1,412

    3 Files of OO Language

    While doing some reading on C++ I noticed there is a way to create files in the true object oriented fashion. Tto create 3 seperate files, a specification file, an implementation file, and a client...
  14. Replies
    8
    Views
    2,151

    whoops, i meant for j to be second for loop not i...

    whoops, i meant for j to be second for loop not i :



    for(i=98;i>=50;i--)
    for(j=99;j>=51;j--)


    would I then just simply set i = j ?
  15. Replies
    8
    Views
    2,151

    for(i=98;i>=50;i--) for(j=99;i>=51;i--) ...

    for(i=98;i>=50;i--)
    for(j=99;i>=51;i--)


    would that be the loops i use? I am not sure how to link them together so to speak, how do i assign everything that was in i, now to j?
  16. Replies
    8
    Views
    2,151

    ok let me think that out and write it down and...

    ok let me think that out and write it down and ill come back with what I have and hopefully it will be right, thanks sean
  17. Replies
    12
    Views
    1,130

    ok, so is there a more basic prototype to use...

    ok, so is there a more basic prototype to use then canoical form you provided? I am just taking notes on some standard prototypes in certain situations to prepare for self test
  18. Replies
    3
    Views
    1,107

    no offense taken sean, thanks for your help, with...

    no offense taken sean, thanks for your help, with this board and my readings I plan on furthering my knowledge, thanks for the suggestions
  19. Replies
    12
    Views
    1,130

    well I am very new at c++ and that seems a little...

    well I am very new at c++ and that seems a little out of my element for the time being, is there a simple way to explain that? I am just trying practice excercises here, thanks, sorry if I come off...
  20. Replies
    2
    Views
    1,958

    while loop question

    If I had the following while loop:




    int count = 0;
    cin >> value;
    while (value < 0 && count < 5)
    {
    cout <<"Value must be non-negative;"
  21. Replies
    12
    Views
    1,130

    also is this just a case of overloading operator?

    also is this just a case of overloading operator?
  22. Replies
    12
    Views
    1,130

    thanks jlou what do the lhs and rhs mean in...

    thanks jlou

    what do the lhs and rhs mean in the code you provided

    if i do delcare this as type friend then would that precede "bike" in your code?

    thanks again
  23. Replies
    3
    Views
    1,107

    type class question 2

    If I have the following code which is a gas feed program:


    class throttle
    {
    public:
    void shut_off();
    double flow();
    private:
    int position;
  24. Replies
    12
    Views
    1,130

    type class question 1

    Ok If I define a new class called bike. I have two bike objects: x,y and I want the expression x+y to be a new object of the class. What is the prototype of the function that i would write to use...
  25. Replies
    8
    Views
    2,151

    snippet of for loop code problem

    hey, I have part of a program that has an array containing 100 items. In a secion of the array I need to shift everything up 1 spot and then inster a number at the intial shift spot, let me give...
Results 1 to 25 of 47
Page 1 of 2 1 2