Search:

Type: Posts; User: student2005

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    892

    binary search trees

    I want to create the root pointer in my program not in the class
    bst.h
    --BSTtree class (no pointers)?
    bst.cpp
    bstprog.cpp

    &&&&&&&

    what does this line do/mean
  2. Replies
    2
    Views
    954

    'pop' stacks

    I think i have the push working .... at least no errors when I run it, but I am lost with the pop .... & in the program how do you 'push' & 'pop' the number to the stack????????



    bool...
  3. Replies
    1
    Views
    2,242

    stacks - push - pop

    I have two classes (number and stack), I have to take a user input number and convert it into binary, hex, and octal. Im getting there but how do you 'push' the remainder on the stack? Do you do it...
  4. Replies
    3
    Views
    798

    need help with classes, stacks

    program isn't working....I have been working on it and reading. Am I even close?
    The program has two classes, one for the data, one for the stack. The program is supposed to get a number from the...
  5. Replies
    10
    Views
    1,268

    int number=0; //was me trying out something ...

    int number=0; //was me trying out something

    the math is to convert a decimal # (user input) to a binary #

    I have to write a program that converts a decimal # (user input) to a binary #,...
  6. Replies
    10
    Views
    1,268

    thanks

    got any ideas on how to fix this one?
  7. Replies
    10
    Views
    1,268

    error cl.exe???

    ***I know that this is posted twice...I have tried to delete the other one, but the system will not let me***
    What is this error?...this program is not working properly




    #include <iostream>...
  8. Replies
    10
    Views
    1,268

    error cl.exe?

    What is this error?...this program is not working properly


    #include <iostream>
    using namespace::std;

    int binary (int num);


    int main()
  9. Thread: recursion

    by student2005
    Replies
    7
    Views
    861

    recursion

    Can someone please explain recursive to me?! I know that recursion is a function calling itself, but when it says
    n = 4


    int funt1 (int n)
    {
    if (n == 0)
    {
    return 1;
    }
  10. Replies
    3
    Views
    690

    stacks and recursion

    Im confused. I need to write a program that takes a user input number and converts it into binary, octal, and hexidecimal.
    The stack is to be set up as a class.

    6/2 = 3 remainder = 0
    3/2 =...
  11. Replies
    2
    Views
    1,041

    Thank you Thank you

    Thank you very much it works great now
  12. Replies
    2
    Views
    1,041

    do-while loop isn't working help

    please help me...the do-while loop will not work
    It will go through properly the first time and then the "Want to enter another comes up but if you enter "1" it will ask again "Want to enter...
  13. Replies
    10
    Views
    1,159

    when I run it the first line is the string I...

    when I run it

    the first line is the string I entered
    the second line is a bunch of goop
    the third line is the string I entered again
  14. Replies
    10
    Views
    1,159

    someone explain this x-or encryption

    #include <iostream>
    #include <iomanip>
    #include <string.h>
    using namespace::std;

    void encrypt(char string[], char key[]);
    void decrypt(char string[], char key[]);

    int main()
    {
  15. Thread: encryption

    by student2005
    Replies
    7
    Views
    1,198

    encryption

    user input - a sentence of up to 80 characters / spaces
    got the user input to work but how do you take the user input and change the order of the characters? and maybe even input a number or ()&%#@...
  16. Replies
    5
    Views
    1,138

    nope need 2 functions

    nope need 2 functions
  17. Replies
    5
    Views
    1,138

    manipulating strings

    Can someone give me a hint on how to start. Im working within visual studio c++ 2003

    obtain a word/sentence (up to 80 characters) with spaces from the user

    2 fuctions:

    1. encrypt the...
  18. Replies
    1
    Views
    1,047

    datatables from a dataset

    Anyone know how to create a datatable from the dataset? and where to put it in the program....I've got a C++ windows form program that is supposed to start displaying a small access db. I've got...
  19. Replies
    2
    Views
    1,603

    posting twice

    I didn't realize I was in the C board when I wanted into the C++ board and when I went to delete the C board I couldn't...
  20. Replies
    2
    Views
    1,603

    VS C++ db with ado.net

    C++ database
    With Visual Studio.Net's C++ windows form I have an Access database.
    The db(access), the form, the dataadapter, and the connection is done.
    The dataset is to be programmed through...
  21. Replies
    2
    Views
    2,003

    C++ database

    With Visual Studio.Net's C++ windows form I have an Access database.
    The db(access), the form, the dataadapter, and the connection is done.
    The dataset is to be programmed through the program not...
  22. Replies
    3
    Views
    941

    problem with c++ classes

    Can anyone tell me what is wrong with this....I keep getting one error about ..
    'initializing' : cannot convert from 'Book ** ' to 'Book *[]'
    Any help would be appreciated....

    [code]
    //class...
  23. Replies
    1
    Views
    928

    structures and functions

    I think i made the structure right???, now I have to make it work with the functions....some by reference, some by value... the program works right without the structure (which gives me my first clue...
  24. Replies
    2
    Views
    909

    need help 'by reference'

    the first function works i can enter information, but when I call the second function it's supposed to display the information from the first function...do I 'by reference'? where do I put the & and...
  25. Replies
    6
    Views
    844

    the problem is that when i choose 1 and enter the...

    the problem is that when i choose 1 and enter the information when I click enter after price it will show the calculate function information..
    quantity = 0 & price = 0




    #include "stdafx.h"...
Results 1 to 25 of 27
Page 1 of 2 1 2