delorie.com/archives/browse.cgi | search |
From: | "Nite Hawk" <malcolm3 AT bulloch DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Newbies need help too! <smile> |
Date: | Sun, 20 Feb 2000 20:11:25 -0500 |
Organization: | Info Avenue Internet Services |
Lines: | 25 |
Message-ID: | <88q38n$6cf$1@news3.infoave.net> |
NNTP-Posting-Host: | dial-28.r5.gabrlt.infoave.net |
X-Trace: | news3.infoave.net 951095383 6543 207.144.163.158 (21 Feb 2000 01:09:43 GMT) |
X-Complaints-To: | usenet AT news3 DOT infoave DOT net |
NNTP-Posting-Date: | 21 Feb 2000 01:09:43 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Ok so i'm a newbie but please help me out! Here is 2 problems I'm having (god is this embarassing!) 1. when I try to divide "taxPercent/100" it's value turns out to be "0" (I'm dividing a whole # such as 6 by 100 to get .06) 2. How do I get a variable to contain a name? (I'm trying to get a name as a variable, is this possible?) I'll explain what I'm doing in #2 better: I'm using... int yourName; but when the person enters his/her name it only shows the first letter of that persons name and also it will end the program without letting you enter the other variables in. Please help me!!!!!! thankyou so very much and please do not laugh at my ignorence! -- ----------------------------------------------------- Go visit the United Fighters clan now! http://unitedfighters.hypermart.net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |