Search:

Type: Posts; User: partnole

Search: Search took 0.00 seconds.

  1. Should I take the return -1 out of the loop?

    Should I take the return -1 out of the loop?
  2. 'GetIndex' : not all control paths return a value

    #define _CRT_SECURE_NO_DEPRECATE
    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>
    #include <stdlib.h>
    #define SZ 100
    typedef struct
    {
    char owner[SZ];
    char type[SZ];
  3. Replies
    2
    Views
    1,014

    Having trouble with InFile.open

    I need help to open a text file and to search for an ID number and search by name.



    #ifndef _LIST_H
    #define _LIST_H

    #include <iostream>
    #include <string>
    #include <stdlib.h>
  4. Replies
    1
    Views
    1,519

    2-dimesional Array w/ enumerated type

    Hello,



    I need help getting started on a two dimensional array with an enumerated type for the indices to store a table.

    Example:

    ______________________________________
  5. Replies
    1
    Views
    1,140

    How to use Member function INPUT

    I have a question on how can I use the member function INPUT to ask the user to input all the elements of the array and then to display all of the elements using DISPLAY?




    #include <iostream>...
  6. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    For example: If I wanted to evaluate from 2 to 8...

    For example: If I wanted to evaluate from 2 to 8 base then my code would be (n%4)?
  7. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    This is exactly what I am trying to figure out....

    This is exactly what I am trying to figure out.
    I just don,t seem to be on the right track with my code.
    Any suggestions.
    Thanks
  8. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    ok

    Sorry,
    what I am asking is: how can I get the input from one base and give the value in other bases. For example, base 2, 8, 10, 16. Also I would like to take an integer and output it as a binary...
  9. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    Onather question?

    How can i do this ? To add to the output.

    cout<<" base 2:" << bin << endl;

    cout<<" Deciaml:" << bin << endl;
    cout<<" Octal:" << bin << endl;
    cout<<" Hexadecimal:" << bin <<...
  10. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    Reply

    I want to input it as a decimal and a binary and cout it as a decimal binary oct and hex numbers.
    I believe I am on the right track, yet i cannot get the right code to input it as a binary and...
  11. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    HELP again

    This I know I have the output for decimal but I would like to know how to cout the input from on base to another in binary. Any suggestions?
  12. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    Need HELP Again

    How can I use the cout and cin function to enter an integer whose input base is 2 and the value is 10000110, then the value in base 10 is 136?
  13. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    I have an addition to problem with HELP!!!

    #include <iostream.h>
    void to_binary(int i);

    int main()

    {


    int i;
  14. Thread: Help !!!

    by partnole
    Replies
    17
    Views
    1,685

    Help !!!

    //Where am I going wrong?
    //I am trying to convert numbers from one base to
    // any other base.


    // Converts numbers from any base to any other base.


    #include <iostream.h>
  15. Replies
    1
    Views
    1,712

    Need help with simple data types

    I need help in writing a program wich outputs the size of all the simple data types along with the minimum and maximum values for each of these simple data types. Is there a way to do all of this in...
Results 1 to 15 of 15