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
Type: Posts; User: McZiploc
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
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...
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...
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.
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?
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>
Thank you sooo much. Thanks for your time. I finally understand this.
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()
{
Okay. So I understand what you are talking about and get it, but how do I increment the string?
Thanks.
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....