Search:

Type: Posts; User: McZiploc

Search: Search took 0.02 seconds.

  1. So how can I make it subtract the ascii values of...

    So how can I make it subtract the ascii values of the letters? Can I just put (int) in front of it i.e. (int)x[i] - (int)y[i]?
    Thanks
  2. Help with sorting words in an array without using string.h

    Hello Everybody,

    I'm given a list of words that need to be read in from a file and then sorted. I was given a certain way to do it so yeah.


    #include <stdio.h>
    #define MAX 100


    void...
  3. Scanning a 2 dimensional array for duplicate values

    Hello All,

    I am trying to scan a 2 dimensional array to see if there are any duplicates within a row or column; i.e. the concept of a sudoku game.

    I don't know how to scan a row or column one...
  4. Replies
    4
    Views
    1,573

    Nevermind. Got it to work now. I forgot to take...

    Nevermind. Got it to work now. I forgot to take out an extra part of the code that I didn't post here, so now it works.

    Thanks though for the response.
  5. Replies
    4
    Views
    1,573

    Thanks for the response. I'm using VS 2010 and...

    Thanks for the response.
    I'm using VS 2010 and every time I run it I just get a blank file. Is there anything special I need to do?
  6. Replies
    4
    Views
    1,573

    Help with fprintf function

    Hello Everybody.

    The purpose for my code is to print some random code to a file but it's not.
    Here's the code:


    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <string.h>
  7. Replies
    6
    Views
    1,539

    Thank you sooo much. Thanks for your time. I...

    Thank you sooo much. Thanks for your time. I finally understand this.
  8. Replies
    6
    Views
    1,539

    Okay, thank you again but I have a small problem....

    Okay, thank you again but I have a small problem. I'm trying to put a "-" between the words but having some trouble. Here's my code



    #include <stdio.h>
    #include <strings.h>


    int main()
    {
  9. Replies
    6
    Views
    1,539

    Okay. So I understand what you are talking about...

    Okay. So I understand what you are talking about and get it, but how do I increment the string?
    Thanks.
  10. Replies
    6
    Views
    1,539

    Converting Digits to Words Help!

    Hello Everyone,

    My task is to convert an inputted number i.e. 234567 and print out the words of each digit so it would print "two three four five six seven".

    I don't even know where to start....
Results 1 to 10 of 10