Search:

Type: Posts; User: 3kgt

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,149

    The Dog

    The Dog You have to excuse me I am a little new at this can you help me apply this to my function?


    Swoopy, no I have index from earlier in my program its a string I need to compare from an input...
  2. Replies
    5
    Views
    2,149

    Help with strncmp fxn

    Hey guys I can get this to compile, but the results should come back as 0 or 1 but if i try to output the results of c1 or c2, I get -44 or 8, which does not make sense. What might be wrong with...
  3. Replies
    20
    Views
    1,873

    What do you think? I have to turn this in by...

    What do you think? I have to turn this in by midnight and its getting nowhere. Do you have AOL instant messanger or yahoo or MSN or something, I could really use some one on one I am so close.
  4. Replies
    20
    Views
    1,873

    ?

    I can get this to compile but i am getting a segmentation fault error what do you think about the getline fxn now?



    //Name: Joseph Valenzuela
    //Date: 04/28/03
    //Purpose: The driver for...
  5. Replies
    20
    Views
    1,873

    Driver File

    Ok I got my header and definition files finally worked out and now I just need help with the driver here is the driver.



    #include <string.h>
    #include <iostream.h>
    #include <fstream.h>...
  6. Replies
    20
    Views
    1,873

    driver

    driver



    #include <string.h>
    #include <iostream.h>
    #include <fstream.h>
    #include <stdlib.h>
    #include "building.h"
  7. Replies
    20
    Views
    1,873

    code

    definitions building.cpp



    #include <string.h>
    #include <stdlib.h>
    #include <iostream.h>
    #include "building.h"

    void building::intLocationOne(char location1[10])
  8. Replies
    20
    Views
    1,873

    perspective

    Here are all my compnents to my program, the driver file, the header file for building and the definitions for building. I am getting seven compiler errors for the building.cpp the definitions, it...
  9. Replies
    20
    Views
    1,873

    Perspective

    Thanks for your help with my program, it looks like I have an older compiler and it doest have the string type included in its libraries.. So I will have to change everything to char location1[]...
  10. Replies
    20
    Views
    1,873

    peerspective

    In the driver file if I had 12 different directions, so there are 36 lines in my txt file. is this how I would write the code for the for loop? How do I tell the program to get to other buildings...
  11. Replies
    20
    Views
    1,873

    Perspective

    Perspective


    After thinking this out for awhile and reading this pseudo code you gave me It has been very difficult for me to implement the program. In this class route that you gave me what...
  12. Replies
    4
    Views
    6,920

    Parameters

    Here is what I have for my function to multiply the matricies, but it doesnt compile and I am haveing trouble knowing what parameters I need for the fxn call...


    int matrixMultiply(int...
  13. Replies
    4
    Views
    6,920

    question on multiplying 2D arrays

    I am having trouble writing a function to multiply two matricies together. Here is what I have so far, what needs to be done? The fxn is called matrixMultiply. Another question on my printArray fxn...
  14. Replies
    20
    Views
    1,873

    perspective

    Thanks alot for your help I will try to think about it some more and possibly e-mail you if thats ok with you? Any other ideas, or suggestions would be appreciated. Thanks again!!
    ...
  15. Replies
    20
    Views
    1,873

    Perspective

    Oh sorry I was confused about the way you wrote stadard IO. So what your saying is I could store the different routes in the input file, and create a class of building, and give it characeristics...
  16. Replies
    20
    Views
    1,873

    Perspective

    Hey thanks for the help, I am in a 1st semester C++ class here at the Colorado School of Mines, I dont think I have used StandardIO or Path algorithms or nodes. Do you think I could just do routes to...
  17. Replies
    20
    Views
    1,873

    Just need your quick advice/opinion

    I have to design and inplement a project that makes use of classes, arrays, input files, functions etc.. I need an original unique ideas. I was think maybe street directions to my campus, calculus...
  18. Replies
    1
    Views
    1,415

    Bubble Sort with Arrays

    What I have to do is create a fxn called bubbleSort and a helper fxn called swap. bubbleSort takes two parameters, an array of doubles and a size, and puts the list in descending order. Swap takes...
  19. Replies
    16
    Views
    1,949

    Hey I got it guys dont worry about it. Thanks

    Hey I got it guys dont worry about it. Thanks
  20. Replies
    16
    Views
    1,949

    My entire program

    here is the whole program...


    //Name: Joseph Valenzuela
    //Date: March 11, 2003
    //Purpose: To design and implement my own program for project1.

    #include <iostream.h> // For output to the...
  21. Replies
    16
    Views
    1,949

    Thanks, but is there anything wrong with the code?

    Hey thanks that fixed it and now it compiles correctly but how come it doesnt return anything, it returns 0 every time, is there something wrong with the code?
  22. Replies
    16
    Views
    1,949

    My median function

    Ok guys here is what I came up with for my median function, but I am still getting a compiler error saying that it expects a statement before the else? How should I fix that?



    double median...
  23. Replies
    16
    Views
    1,949

    Thanks eibro

    Hey thanks for trying to help me out with that, I am trying the call by refrence right now, I dont think I can compute the median that way because we haveent learned the algorithm or vector...
  24. Replies
    16
    Views
    1,949

    one more question

    If I wanted to compute the median of all the numbers in my input file, in this program what would be the best way to go about this? Thanks!
  25. Replies
    16
    Views
    1,949

    Help with function

    In my first function "compute" if I want to return the values of "sum" and "sum_of_squares" in main what do I have to do?


    //Name: Joseph Valenzuela
    //Date: March 11, 2003
    //Purpose: To design...
Results 1 to 25 of 29
Page 1 of 2 1 2