Search:

Type: Posts; User: kokoro

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,487

    cool thanks, how does one overload cout tho if i...

    cool thanks, how does one overload cout tho if i wanted to do that?
  2. Replies
    3
    Views
    1,487

    savings with statics c++

    I'm learning how to use static members/functions and what the question provided I've came up with this so far. When I run this code I get the follow message i changed around some settings trying to...
  3. Thread: Date Class

    by kokoro
    Replies
    3
    Views
    2,434

    Date Class

    I found this code that pretty much does exactly what I want. (minus forcing the change of a date) but I don't understand it to be able to produce a similar one.


    #include <iostream>
    #include...
  4. Replies
    3
    Views
    1,569

    it does look complicated doesnt it.. mainly want...

    it does look complicated doesnt it.. mainly want help in my newaccount function.sorry should be
    sprintf(str1," %d, %s, %0.2f,",a1.accountNumber,\
    a1.givenName,a1.balance); // had...
  5. Replies
    3
    Views
    1,569

    using txt file to add and edit accounts

    This is not my actual code but a knock off of what i made so that i dont go copying and pastin whatever ppl send me... this is kind of a short version.

    #include <stdio.h>
    #include <stdlib.h>
    ...
  6. Replies
    4
    Views
    1,674

    so i just used the wrong loop... i used a while...

    so i just used the wrong loop... i used a while instead of a for loop... lol cant believe i didnt try that out before.. thanks!

    If i'm trying to get user to input the newest account I would make...
  7. Replies
    4
    Views
    1,674

    my assignment gave an example and it had to be...

    my assignment gave an example and it had to be organized this way... is their no other way to loop it without reversing it? and your recordNum would be equivalent to accounts possibly?
  8. Replies
    4
    Views
    1,674

    Looping struct info

    Currently my code outputs to what I want it to do (print out everyone's given name) shown below:

    #include<stdio.h>

    main()
    {
    struct acct
    {
    int accountNumber;
    char givenName[20];
Results 1 to 8 of 9