Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dgboult

    Problem with a read_list function in C

    Hello, I'am having trouble with my read_list function in my header file. I know every thing else works, because when I don't use it the program runs fine. What is wrong with it!!! This is how I'am calling it: #include <stdio.h> #include...
  2. dgboult

    using pointers

    Hello, I wrote this program to see if a message is a Palindrome or not. Like &quot;He lived as a devil, eh?&quot;. My question is how can I use pointers to keep track of the current position in the array? #include <stdio.h> #include <string.h> /****************************************/ /*...
  3. dgboult

    Enum. question?

    Hello, I've just been learnning on how to use Enumerations as Integers and I'm not sure about somthing.Say I have somthing like this: enum {FALSE, TRUE} b; int i; I answered what I think they are but please tell me if I'm right or not and why. a)b = FALSE; /*I think this would be 0*/...
  4. dgboult

    Palindrome problem

    Hello, How would I change the program so that it does not read spaces and punc. marks? I would like the program to be able to read a sentnce like &quot; He lived as a devil, eh?&quot; and say that it is a Palindrome. Right now I got the program to change the spaces and punc. marks to '-'.So it...
  5. dgboult

    compare things in struct 2

    Thanks, for all that help on the first one, but I ran into another problem. The code will only read the first letter of the country and compare that. This is a problem because some of the country's start with the same first letter. Wright now all I have to do is enter a capital letter that one...
  6. dgboult

    How to compare things in a struct?

    Hello, My question is how would I be able to compare what the user enters to what is in the struct? I want the program to give the corresponding dialing code to a country that the user enters, and if it is not there display a error message.Example-Colombia dialing code is 57.I've tried using...
  7. dgboult

    palindrome problem in C

    Hello, This is what I have so far. It reads in a message than prints the message in reverse. How do I compare the array's in order to find out if the message is a palindrome or not? If there is a easier way, please show me. Can you do it with out using strings? #include <stdio.h> #define N 10...

Part and Inventory Search

Back
Top