Search:

Type: Posts; User: Mr Moe

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,348

    Well that was my next option, as it would be very...

    Well that was my next option, as it would be very easy to do. Although I could've sworn there was something built-in that could do this for me and save me a couple lines of code and a function call.
  2. Replies
    5
    Views
    1,348

    Quick fill question

    I can't seem to remember how to use the fill() function, or at least that is the function I think I'm wanting to use.

    I need to fill a line with x number of a certain character, say a '*' or "-"...
  3. Thread: New line help

    by Mr Moe
    Replies
    4
    Views
    1,080

    Ok, I threw that in. Now it seems to be skipping...

    Ok, I threw that in. Now it seems to be skipping something, in the wrong way. ;)

    After I enter in what record to update, it should display the first entry in that record to update. However, it...
  4. Thread: New line help

    by Mr Moe
    Replies
    4
    Views
    1,080

    New line help

    I'm working on an update function for my program. Here's how the function works out-

    The user enters in a record they want to update, each record contains 3 entries. The user is presented with...
  5. Replies
    3
    Views
    1,309

    Thanks, I think I got it to work, here is the...

    Thanks, I think I got it to work, here is the code-


    char ip_address[16] = "";
    char *tokptr;
    int octet_count = 0;

    cout << "Enter an IP: ";
    cin >> ip_address;
  6. Replies
    3
    Views
    1,309

    Get info from string

    I'm looking to retrieve bits of information from a char string.

    Basically I get a string with delimiters in a few spots, then I have to get the substrings between each of those delimiters.

    For...
  7. Replies
    5
    Views
    1,434

    Hm, thanks for the suggestions guys. I'm doing...

    Hm, thanks for the suggestions guys. I'm doing this program for a class, and we haven't covered link-lists or vectors yet, so "technically" we can't use them.

    Is there any other way to do it,...
  8. Replies
    5
    Views
    1,434

    Files, Structs, and Pointers

    Hi, what I'm doing is reading in information from a binary file, and storing that information into an array of structs. Here is that bit of code. Record in this case is my base struct.

    int...
  9. Replies
    5
    Views
    1,141

    Thanks a bunch guys, I'll give some of that a...

    Thanks a bunch guys, I'll give some of that a shot. I really appreciate the help ;)
  10. Replies
    5
    Views
    1,141

    Actually the tab will work perfectly. Thanks! I...

    Actually the tab will work perfectly. Thanks! I knew it had to be something simple that just wasn't coming to mind.
  11. Replies
    5
    Views
    1,141

    Simple formatting question..

    New here, thought I'd start off with something easy. ;)

    Ok I have this function that converts an (int) into a 4 octect IP address, storing each octet of the IP into an array. To output this as a...
Results 1 to 11 of 11