Solved

For imladris, only!

Posted on 1998-03-17
3
191 Views
Last Modified: 2010-04-02
A small token of my appreciation for your comment answering the obvious follow-up question to Nexial's answer on Q.10043343.  Thanks!
0
Comment
Question by:zircon
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
imladris earned 50 total points
ID: 1257735
Thank you. I appreciate that.

0
 
LVL 1

Author Comment

by:zircon
ID: 1257736
Good news! The statement

#undef tolower

did the trick.  My program now works perfectly.  

Two definitions of tolower were present in the ctype.h file:

#if !defined(_WIN32)
#define tolower(c) (isupper(c) ? (c)+('a'-'A') : (c))

and

#ifndef __STDC__
/* additional code here */
#define _toupper(c) ((c)-('a'-'A'))

So I'm still not sure what's causing the problem, but I think you
are on the right track.

Thanks again.
0
 
LVL 1

Author Comment

by:zircon
ID: 1257737
Oops! The second definition is:

#define _tolower(c)      ((c)+('a'-'A'))

That's what I get for not paying attention when I'm copy/pasting.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Where is my core dump file in Ubuntu? 12 439
Need example 5 107
Assigning default value to structure in C for mutithread application 17 52
What is atomic operation? 6 43
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now