Search:

Type: Posts; User: Zeratulsdomain

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    2,516

    Noun[1][0] Also crashes. But, I got lucky...

    Noun[1][0] Also crashes.

    But, I got lucky with this program. The data that matters ends up in a array (dont know how I missed that yesterday). So I just had to add one extra line and now it is...
  2. Replies
    29
    Views
    2,516

    It is a pointer array. If I do not put "*" id...

    It is a pointer array.

    If I do not put "*" id get the whole "string" capitalized . But, if I do remove it, I get this error:

    C:\Documents and Settings\chris\Desktop\Homework\c++\Assignment...
  3. Replies
    29
    Views
    2,516

    Using string I get this errro: Changing all...

    Using string I get this errro:


    Changing all strings to pointer arrays my program crashes when I run this (without giving me any error or warnings)


    Yes, I have two duplicates program with...
  4. Replies
    29
    Views
    2,516

    What? I actually ditched pointer arrays (there...

    What?

    I actually ditched pointer arrays (there goes a couple points).

    I am using string. But I am back in the same problem.

    My second program is now 100% done, with the exception of the...
  5. Replies
    29
    Views
    2,516

    I don't know hat you just gave me.... But it...

    I don't know hat you just gave me.... But it sounds complicated. After I morning test, I spent 3-4 hours working on the program I just finished today. I got to finish another one right now.... Then...
  6. Replies
    29
    Views
    2,516

    Well, the first program is done. I still need to...

    Well, the first program is done. I still need to polish the code (throw it into mandatory functions and make sure all the spacing looks good) but other then that 99% as well as I could want.



    I...
  7. Replies
    29
    Views
    2,516

    Question: I am using char *x;, how would i go...

    Question:

    I am using char *x;, how would i go about converting (so I can compare them) a char to char *?

    edit: I am forced to use char because there are requirements which need to be done in...
  8. Replies
    29
    Views
    2,516

    Well as a Visual Basic guy, I wanted to use...

    Well as a Visual Basic guy, I wanted to use strings. I have been using string since I started in c++.

    But for this project it looked like I was forced to use char.

    Strings are easier then char...
  9. Replies
    29
    Views
    2,516

    7stud: It is part of the guidelines I need to...

    7stud: It is part of the guidelines I need to follow.


    Daved: So you cannot use getch and cin() together?

    Using getch() to put data in variables is the only way to put string



    cout <<...
  10. Replies
    29
    Views
    2,516

    I am having lots of trouble... C++ is a...

    I am having lots of trouble...

    C++ is a nightmare when it comes to this stuff :(

    ... If I were to restart everything... How would I go about doing the 555-1212 stuff using cin with string?

    I...
  11. Replies
    29
    Views
    2,516

    wow... last time it took 2 hours to get a reply...

    wow... last time it took 2 hours to get a reply :P tnx for the replies.

    Anyway, I finally found a way 2 do this (I did not think I was going to get a reply so fast)


    int main ()
    {

    int...
  12. Replies
    29
    Views
    2,516

    Lets say I want to add text as the user is...

    Lets say I want to add text as the user is writing it... How would I do that?

    example: phone number: 5551212
    and I format it so it injects a "-" as the user types it?
    Ex: After the third...
  13. Replies
    29
    Views
    2,516

    Two string questions

    Two string questions (not char)

    1# When the user type in data when I cout how would I go about running code between each and every change? (ie, if they type h-e-l-l-o, it would run at the h, then...
  14. Are you talking about the reference link dwks...

    Are you talking about the reference link dwks gave me? I did look at that one.... I dont know why, but I can never find anything on google about c++, I could not even find this site (good thing it...
  15. 7stud : That does sound like a good way to go...

    7stud : That does sound like a good way to go about it, but I do not think i could get away with that.

    dwks: I read the reference. I just cannot see how that would work. Could you perhaps give me...
  16. I am coding in c++. Can you provide a link to...

    I am coding in c++.

    Can you provide a link to these "references"? Is that the only way to go about it? I was sort of told to use something called address.
  17. Sending a two values to main from a function?

    I got main() and a second user defined function. In my second user defined function there are two double values I need to pass to main. How do I do it (using addressing).

    Note: I cannot use global...
  18. Replies
    7
    Views
    1,251

    getline(cin, sMovie); Problem with that, if...

    getline(cin, sMovie);
    Problem with that, if there is a space (example "The Matrix") I need to hit enter twice.

    So how do you format your output in a console window? (with coulombs)
  19. Replies
    7
    Views
    1,251

    cin.getline() and getwidth help

    1#
    Why isn't this working? (if it cant work with string, how do I save spaces into strings?)
    cin.getline(sMovie);

    2# (need to know this tonight)
    How does getwidth work? I cant find good...
  20. Replies
    2
    Views
    1,751

    4 easy question

    1# I am using a double. When I cout out my data I want there to be two digits after the period. How do I do this? Example 2+3 = 5.00 instead of 5.

    2# When I use tabs (the ones on your keyboards)...
Results 1 to 20 of 21