Search:

Type: Posts; User: aama100

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,213

    converting string to int!

    I got only one error that I do not know how to get it fixed!



    #include <iostream>
    using namespace std;

    int main(){
    string num;
    int i = 0;
  2. Replies
    3
    Views
    1,416

    I have updated the code above and added the...

    I have updated the code above and added the constructor to it, so I got these following errors that don't make sense to me:


    Error E2171 TreeProgram.cpp 20: Body has already been defined for...
  3. Replies
    3
    Views
    1,416

    Error in binary tree

    I do not know what I am missing in my code that causes this following error:

    Error E2285 TreeProgram.cpp 40: Could not find a match for 'Tree::Tree(string)' in function Tree::InsertTree(Tree *...
  4. Replies
    6
    Views
    1,015

    I have updated the code above but honestly I am...

    I have updated the code above but honestly I am really confused about how to do a tree thing.. I have a book and I am reading an online tutorial but it doesn't seem help much... if anyone has a good...
  5. Replies
    6
    Views
    1,015

    Binary Tree constroctur

    hey guys ... It is my first time to practice with binary tree thing. I am not sure how my constructor is supposed to be .. I have written this code can anyone give me any hint for my constructor ?
    ...
  6. Replies
    2
    Views
    2,993

    Illegal character errors

    I am sorry my code looks really long but I got some errors in this part that I coudn't really fiqure them out, which they are the following:




    Warning W8054 Program3.cpp 115: Style of function...
  7. I fixed that and I updated the code up there but...

    I fixed that and I updated the code up there but it still has weird characters appear instead of ID#s in the output
  8. I got weird outputs characters when I print

    Problem: Printing weird characters instead of printing ID#s.

    The program's function: Add a new client's name and a new ID, and then it is your choice if you want to print.

    it compilers without...
  9. Replies
    5
    Views
    1,178

    hey thanks a lot I followed what you have said...

    hey thanks a lot I followed what you have said and it is working!
  10. Replies
    5
    Views
    1,178

    I explained the problem up there

    I explained the problem up there
  11. Replies
    5
    Views
    1,178

    storing data into an array

    I want to store 15 names in an array! but it doesn't seem working correctly... anyone can figure it out ?

    The problem:
    Every time I promote the program to enter a name it will only be stored in...
  12. Replies
    10
    Views
    1,512

    Well I asked my professor and he gave me an...

    Well I asked my professor and he gave me an easier way to do it. I will need to initial a variable and increment it each time the user will add a new client.. but I still have some problems in the...
  13. Replies
    10
    Views
    1,512

    yeah I am using string array this time, but I am...

    yeah I am using string array this time, but I am trying to store the values into the array but it doesn't seem working


    void healthClubMaintain::addClient(string clientName){

    for(int...
  14. Replies
    10
    Views
    1,512

    My big concern is that I want to make sure that I...

    My big concern is that I want to make sure that I stored the values in the array everytime I run the menu until it becomes full.
  15. Replies
    10
    Views
    1,512

    Is there any way to do it without using the map...

    Is there any way to do it without using the map thing because it is so complicated for me.
  16. Replies
    10
    Views
    1,512

    Converting string to char

    I got this error in my code I do not know how to figure it out


    Cannot convert 'string' to 'char' in function healthClubMaintain::addClient(string)



    #include <iostream>
    using namespace...
  17. Replies
    4
    Views
    889

    Ok! .. there is a problem now I have char[15] ...

    Ok! .. there is a problem now

    I have char[15] // There are 15 empty spaces to store in:


    // The first try of promoting the user for his name and his Id#

    if ( number ==1 ){
    cout <<...
  18. Replies
    4
    Views
    889

    questino on promoting the user

    I am trying to create a health club maintain that promotes the User to insert the client name and his ID#. I have to use char[15] to store his name and his ID#. Is there any way to store both the...
  19. Replies
    5
    Views
    1,159

    This is the updated code, but I still have these...

    This is the updated code, but I still have these following errors:


    Error E2451 workingArea3.cpp 24: Undefined symbol 'takingNumber' in function healthClubMaintain::printNumber(int)
    Error E2268...
  20. Replies
    5
    Views
    1,159

    Mostly to be compiler errors like this following...

    Mostly to be compiler errors like this following for this code..


    Warning W8054 workingArea3.cpp 12: Style of function definition is now obsolete
    Warning W8054 workingArea3.cpp 20: Style of...
  21. Replies
    5
    Views
    1,159

    I need to fix these errors

    I made up a small program in my mind.. and I got some errors in the code ... These errors are where I have problems with that once I know how to fix them I will be able to do bigger things

    ...
  22. Replies
    15
    Views
    2,097

    Okay! take a look to this program. It's the same...

    Okay! take a look to this program. It's the same like the one I posted earlier and it does the same job. Do not care about the indentation for now just copy the program and compile it.



    ...
  23. Replies
    15
    Views
    2,097

    it still not working. I did exactly what you have...

    it still not working. I did exactly what you have just said!
  24. Replies
    15
    Views
    2,097

    I tried either way but it seems it doesn't do...

    I tried either way but it seems it doesn't do anything
  25. Replies
    15
    Views
    2,097

    The problem is: Once I run my program the menu...

    The problem is: Once I run my program the menu has to appear first and so I select one of the three options to preform a task, but What is appearantly going in my program it is directly goes to...
Results 1 to 25 of 60
Page 1 of 3 1 2 3