Hatena::Groupcprogramming

C Study Diary

2009-01-09

c5ex2_getfloat.cpp

14:48

Write getfloat, the floating-point analog of getint . What type does getfloat return as its function value? Int

#include <stdio.h>
#include <ctype.h>
#define BUFSIZE 100

char buf[BUFSIZE]; /* buffer for ungetch */
int bufp = 0; /* next free position in buf */

int getch(void) /* get a (possibly pushed back) character */
{
  return (bufp > 0) ? buf[--bufp] : getchar();
}
 
void ungetch(int c) /* push character back on input */
{
  if(bufp >= BUFSIZE)
    printf("ungetch: too many characters\n");
  else  
    buf[bufp++] = c;  
}


/* getint:  get next integer from input into *pn */
int getfloat(float *pn)
{
	int c, sign, signflag=0;
	float decimal=0.0, rate = 1;
	while (isspace(c = getch())) /* skip white space */
	;
	if (!isdigit(c) && c != EOF && c != '+' && c != '-'&& c != '.') {
		ungetch(c); /* it is not a number */
		return EOF;
	}
	sign = (c == '-') ? -1 : 1;
	if (c == '+' || c == '-') {
		c = getch();
		signflag = 1;
	}	
	/* if sign without number */
	if(!isdigit(c) && c != '.' && c!=EOF) {
		ungetch(c);
		if(signflag) ungetch(((sign==1) ? '+':'-'));
		return EOF;
	}else {	
		for (*pn = 0.0; isdigit(c); c = getch())
			*pn = 10.0 * *pn + (c - '0');
		/* point inputed */
		if(c=='.') {			
			c=getch();
			while(isdigit(c)){
				rate = rate*0.1; 
				decimal = decimal+(c-'0')*rate;
				c=getch();
			}
			*pn +=decimal;
		}	
		*pn *= sign;
		if (c != EOF)
			ungetch(c);
		return c;
	}
}

int main(){
	
	float pa[10]={};
	int	i=0;
	
	while(getfloat(&pa[i])!=EOF) {
		pa[i++];
		printf("input: %f\n\n",pa[i-1]);
	}
	return 0;
}

Run:

$ ./c5ex2_getfloat.exe
2
input: 2.000000

-222
input: -222.000000

2.22
input: 2.220000

-3.335
input: -3.335000

c5ex1_getint.cpp

14:44

As written, getint treats a + or - not followed by a digit as a valid representation of zero. Fix it to push such a character back on the input.

This program is modified on the getint() in book.

#include <stdio.h>
#include <ctype.h>
#define BUFSIZE 100

char buf[BUFSIZE]; /* buffer for ungetch */
int bufp = 0; /* next free position in buf */

int getch(void) /* get a (possibly pushed back) character */
{
  return (bufp > 0) ? buf[--bufp] : getchar();
}
 
void ungetch(int c) /* push character back on input */
{
  if(bufp >= BUFSIZE)
    printf("ungetch: too many characters\n");
  else  
    buf[bufp++] = c;  
}


/* getint:  get next integer from input into *pn */
int getint(int *pn)
{
	int c, sign, signflag=0;
	while (isspace(c = getch())) /* skip white space */
	;
	if (!isdigit(c) && c != EOF && c != '+' && c != '-') {
		ungetch(c); /* it is not a number */
		return EOF;
	}
	sign = (c == '-') ? -1 : 1;
	if (c == '+' || c == '-') {
		c = getch();
		signflag = 1;
	}	
	/* if sign without number */
	if(!isdigit(c) && c!=EOF) {
		ungetch(c);
		if(signflag) ungetch(((sign==1) ? '+':'-'));
		return EOF;
	}else {	
		for (*pn = 0; isdigit(c); c = getch())
			*pn = 10 * *pn + (c - '0');
		*pn *= sign;
		if (c != EOF)
			ungetch(c);
		return c;
	}
}


int main(){
	
	int pa[10]={}, i=0;
	
	while(getint(&pa[i])!=EOF) {
		pa[i++];
		printf("input: %d\n\n",pa[i-1]);
	}
	printf("char left in buff: %c",getch());
	return 0;
}

Run:

$ ./c5ex1_getint.exe
-23232
input: -23232

+23232
input: 23232

+-232311
char left in buff: +

DannydupDannydup2017/06/25 00:38Attention Required! | Cloudflare
<a href=http://acheterdufrance.com/>More info>>></a>

TimothySydayTimothySyday2017/07/03 08:55301 Moved Permanently
<a href=https://www.viagrapascherfr.com/>301 Moved Permanently!</a>

KevinVabKevinVab2018/04/16 10:49erectile function restored after turp
<a href=http://erectiledysfunctionpillsntx.com/>erectile pills without a doctor prescription</a>
erectile review
<a href="http://erectiledysfunctionpillsntx.com/">erectile dysfunction pills</a>

MarkstedaMarksteda2018/04/17 01:35erectile pump reviews
<a href=http://edpils-gg.com/>herbs for erectile dysfunction</a>
does erectile dysfunction destroy marriages
<a href="http://edpils-gg.com/">erectile dysfunction treatment</a>

LdrgeOxyncLdrgeOxync2018/04/17 07:34erectile linked diabetes <a href=http://dc-shuttle.com/>erectile dysfunction medications</a>
help with erectile dysfunction <a href="http://dc-shuttle.com/">best erectile dysfunction medication</a> http://dc-shuttle.com/

KoldrwepKoldrwep2018/04/18 06:06is erectile dysfunction hereditary
<a href=http://edpilsmystery.com/>erectile pills</a>
is erectile dysfunction mental
<a href="http://edpilsmystery.com/">best erectile dysfunction pills</a>

EarnesttahEarnesttah2018/04/18 21:50how erectile dysfunction affects women
<a href="http://erectiledysfunctionlq.com/">erectile pills without a doctor prescription</a>
erectile surgery
<a href="http://erectiledysfunctionlq.com/">erectile dysfunction drugs</a>

ed pillsed pills2018/04/19 03:31
Nicely expressed of course. !

MarkstedaMarksteda2018/04/19 04:09indicador forex tvs
<a href="http://binary-options-best-try-platform.pw/forex-pakistan-tipo-de-cambio-euro-rupia-mauriciana-7286.php#">company information first binary option services</a>
online stock broker ranking
<a href=http://binary-best-platform-options-try.pw/6-are-binary-options-scams-blacklist-6919.php>bp forex scandal dubai</a>

JosephsoarlJosephsoarl2018/04/20 01:07erectile icd 10
http://toperectiledysfunctionpills.com/ - best erectile pills
erectile damage
<a href="http://toperectiledysfunctionpills.com/">ed drugs over the counter</a>

MarkstedaMarksteda2018/04/20 01:54levitra camellia flower
<a href="http://mylevitraok.com">levitra 20mg</a>
levitra babyfoon camera repair
<a href=http://levitra-gg.com#levitra+generic>buy levitra</a>

MarkstedaMarksteda2018/04/20 05:44forumsalute levitra ansias
<a href="http://mylevitraok.com">levitra 20mg</a>
maximale dosierung levitra 20mg
<a href=http://mylevitraok.com#levitra+coupon>levitra rezeptfrei deutschland</a>

MarkstedaMarksteda2018/04/20 09:28koncepcja t levitra vs viagra
<a href="http://levitra-gg.com">vardenafil 20mg</a>
levitra flavio download youtube
<a href=http://levitra-gg.com#levitra+prices>levitra coupon</a>

JugeOxyncJugeOxync2018/04/20 13:30canadian cialisgeneric cialis at walmartcialis vs viagrageneric cialis tadalafil
<a href="http://jvrimages.com/">buy cialis 20 mg</a>
online cialisinteractions for cialis
http://jvrimages.com/#cialis+dosage

MarkstedaMarksteda2018/04/20 17:11levitra how long it lasts
<a href="http://mylevitraok.com">levitra online</a>
levitra e levitinha viola ungida cd completo de reggaeton
<a href=http://myvardenafilok.com#generic+levitra>vardenafil 20mg</a>

MarkstedaMarksteda2018/04/20 21:07koncepcja produktu levitra free
<a href="http://mylevitraok.com">levitra 20mg</a>
soy guarura de levitra oscar chavez boxer
<a href=http://levitra-gg.com#levitra+online>levitra generic</a>

JorgegokJorgegok2018/04/21 00:03how much does a cialis cost cialis en mexico precio

MarkstedaMarksteda2018/04/21 01:06levitra myonlinemeds biz valtrex
<a href="http://levitra-gg.com">levitra 10 mg prezzo</a>
rokhlin levitra
<a href=http://mylevitraok.com#levitra+rezeptfrei+deutschland>levitra online</a>

MarkstedaMarksteda2018/04/21 03:41levitra 10mg vs viagra 50mg
<a href="http://myvardenafilok.com">levitra 20mg</a>
viagra levitra cialis cost comparison
<a href=http://levitra-gg.com#levitra+prices>levitra 20 mg bayer prezzo</a>

YtereOxyncYtereOxync2018/04/21 03:54discount cialiscialis usaBuy Cheap Cialisonline cialis <a href="http://foreigncircles.com/#Trazodone">Trazodone 50 mg best price</a> cialis manufacturer couponpurchasing cialis on the internet <a href=http://foreigncircles.com/>Trazodone 50 mg online</a> cialis manufacturer couponcialis without a doctor's prescription http://foreigncircles.com/#Trazodone-50-mg

MarkstedaMarksteda2018/04/21 07:28levitra 20 mg cijena zlata
<a href="http://levitra-gg.com">buy levitra</a>
levitra laurent ournac
<a href=http://mylevitraok.com#levitra+coupon>levitra 20 mg bayer prezzo</a>

YtereOxyncYtereOxync2018/04/21 08:14online cialiscialis side effectsgeneric for cialisgeneric cialis <a href="http://foreigncircles.com/#Trazodone">Trazodone 50 mg</a> Buy Cheap Cialis in usaBuy Cheap Cialis <a href=http://foreigncircles.com/>Trazodone 50 mg price</a> cialis genericcialis canada http://foreigncircles.com/#buy-Trazodone

MarkstedaMarksteda2018/04/21 10:47dude good levitra stuff thanks
<a href="http://mylevitraok.com">generic levitra</a>
cedric levitra 20mg
<a href=http://myvardenafilok.com#levitra+20+mg+bayer+prezzo>levitra 20 mg bayer prezzo</a>

YtereOxyncYtereOxync2018/04/21 12:46Buy Cheap Cialis in usaside effects for cialiscialis usaBuy Cheap Cialis <a href="http://foreigncircles.com/#buy-Trazodone">Trazodone 50 mg</a> cialis official sitecialis reviews <a href=http://foreigncircles.com/#Trazodone-50-mg>Trazodone 50 mg</a> cialis couponcialis for daily use http://foreigncircles.com/

MarkstedaMarksteda2018/04/21 14:09levitra laurent claude
<a href="http://mylevitraok.com">buy levitra</a>
levitra flavio novo cd guilherme
<a href=http://mylevitraok.com#buy+levitra>levitra coupon</a>

YtereOxyncYtereOxync2018/04/22 05:58generic cialis at walmartcialis side effectscialis genericgeneric for cialis <a href="https://cheapcialis.wixsite.com/cialis">cheap cialis 2018</a>

vardenafil 20mgvardenafil 20mg2018/04/24 21:14Hello, yes brother there are of course multiple blogging web pages, but I advise you to use Google’s free blogging services.

LouisSixLouisSix2018/04/26 16:44price comparison viagra vs cialis
<a href="http://cialisgrudj.com/">generic cialis</a>
walmart prices for cialis
<a href="http://cialisgrudj.com/">buy generic cialis</a>
when generic cialis will be available in usa
http://cialisgrudj.com/
cialis generico preço ultrafarma

PeterzemPeterzem2018/04/27 07:57generic cialis canada pharmacy
<a href="http://cialisgrudj.com/">buy cialis online</a>
brand cialis lilly
<a href="http://cialisgrudj.com/">cialis</a>
cialis commercial 2013 actors
http://cialisgrudj.com/
cialis vs viagra dosages

BillyDagBillyDag2018/04/27 23:36best price for cialis 20 mg at walmart
<a href="http://cialisgrudj.com/">buy cialis online</a>
generic cialis shipped fedex
<a href="http://cialisgrudj.com/">buy cialis online</a>
stendra vs viagra cialis levitra
http://cialisgrudj.com/
viagra vs cialis generic

MarkstedaMarksteda2018/04/28 20:10erectile injections
<a href=http://edpils-gg.com/>best erectile dysfunction drug</a>
erectile function trial offers in sarasota fl
<a href="http://edpils-gg.com/">erectile enhancement pills</a>

JimmyGagJimmyGag2018/04/29 06:23cialis generico online recensioni
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
cialis dapoxetine review
<a href="http://cialisgrudj.com/">generic cialis online</a>
cost comparison of viagra levitra and cialis
http://cialisgrudj.com/
cialis 20mg tablets price in pakistan

HectordagHectordag2018/04/29 21:15acquistare cialis generico online italia
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
levitra or cialis or viagra
<a href="http://cialisgrudj.com/">generic cialis</a>
cialis 40 mg dosage guaranteed
http://cialisgrudj.com/
cialis vs viagra review

WilliamSigWilliamSig2018/04/30 12:19cialis commercials 2016
<a href="http://cialisgrudj.com/">buy generic cialis online</a>
is cialis generic in canada
<a href="http://cialisgrudj.com/">generic cialis online</a>
extra super cialis
http://cialisgrudj.com/
brand cialis by lilly

ReteOxyncReteOxync2018/04/30 19:03cialis dosagegeneric cialis at walmartcialis 30 day sample <a href="http://chineseteacrafts.com/">chineseteacrafts.com</a>
Cheap Cialis usaBuy Cheap Cialis <a href="http://chineseteacrafts.com">Buy Cialis Without A Doctor Prescription</a>

GeorgewotGeorgewot2018/05/01 03:23date generic cialis is available
<a href="http://cialisgrudj.com/">cialis generic</a>
cialis 20 mg costco
<a href="http://cialisgrudj.com/">cialis</a>
generic cialis available in canada
http://cialisgrudj.com/
cialis vs levitra side effects

DannydogDannydog2018/05/01 15:54maximum daily dose of cialis
<a href="http://cialisonlinq.com/">buy cialis online</a>
side effects of cialis and viagra
<a href="http://cialisonlinq.com/">buy cialis</a>
generic cialis side effects
http://cialisonlinq.com/
side effects cialis 5mg

DaviddinnyDaviddinny2018/05/01 18:38viagra vs cialis comparison side effects
<a href="http://viagrapipls.com/">buy viagra</a>
walmart generic viagra 100mg price in indianapolis
<a href="http://viagrapipls.com/">viagra</a>
viagra super active vs viagra professional
http://viagrapipls.com/
generic viagra india 100mg trustworthy site

HenryKalHenryKal2018/05/01 21:59cialis side effects and dangers
<a href="http://cialisonlinq.com/">generic cialis online</a>
cialis side effects reviews
<a href="http://cialisonlinq.com/">cialis</a>
buy cialis or viagra
http://cialisonlinq.com/
low cost viagra cialis 5mg

PrestonAribePrestonAribe2018/05/02 09:43cialis generic india
<a href="http://cialisonlinq.com/">generic cialis online</a>
cialis 20 mg/90 pills
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis 20 mg 30 tablet orjinal mi
http://cialisonlinq.com/
why bathtubs in cialis commercials

DavidarrarDavidarrar2018/05/02 12:33il viagra naturale in erboristeria
<a href="http://viagrapipls.com/">buy viagra online</a>
is there a generic drug for viagra
<a href="http://viagrapipls.com/">viagra generic</a>
viagra 50 mg price walmart
http://viagrapipls.com/
generic viagra soft tabs 100mg

DannynizDannyniz2018/05/02 13:38generic 5mg cialis for daily use
<a href="http://cialisonlinq.com/">buy cialis online</a>
comprar cialis generico foro
<a href="http://cialisonlinq.com/">cialis generic</a>
long do cialis side effects last
http://cialisonlinq.com/
cialis generic prices with prescription

MichaelnuhMichaelnuh2018/05/03 06:41viagra vs. cialis vs. levitra which is best
<a href="http://viagrapipls.com/">buy viagra</a>
viagra professional 100mg
<a href="http://viagrapipls.com/">generic viagra online</a>
cialis vs viagra dosage
http://viagrapipls.com/
suggested dosage for viagra

RoyceblultRoyceblult2018/05/03 20:21generic cialis 20 mg coupons
<a href="http://cialisonlinq.com/">buy generic cialis</a>
cialis brand name vs generic
<a href="http://cialisonlinq.com/">buy cialis online</a>
do cialis side effects go away
http://cialisonlinq.com/
equivalent doses of viagra and cialis

RodolfoutifyRodolfoutify2018/05/03 20:50cialis generico colombia
<a href="http://cialisonlinq.com/">buy cialis</a>
cialis coupon 2018
<a href="http://cialisonlinq.com/">generic cialis online</a>
maximum dose of cialis in 24 hours
http://cialisonlinq.com/
generico do viagra e cialis

EugeneIminaEugeneImina2018/05/03 23:32viagra dosage vs cialis dosage
<a href="http://viagrapipls.com/">generic viagra online</a>
buy cheap viagra online us
<a href="http://viagrapipls.com/">viagra</a>
can i take 50 mg of viagra twice a day
http://viagrapipls.com/
viagra dosage reddit

JerryemuffJerryemuff2018/05/04 11:00compare viagra and cialis prices
<a href="http://cialisonlinq.com/">buy generic cialis</a>
cialis 20 mg tablet
<a href="http://cialisonlinq.com/">generic cialis</a>
generic cialis available
http://cialisonlinq.com/
generic cialis usa

JustinBixJustinBix2018/05/05 02:23cialis side effects hip pain
<a href="http://cialisonlinq.com/">cialis</a>
cialis vs viagra dosing
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
long term side effects of cialis
http://cialisonlinq.com/
cialis dosage strengths

JosephCarneJosephCarne2018/05/05 07:08brand cialis 5mg online
<a href="http://cialisonlinq.com/">cialis generic</a>
generic for cialis daily 5 mg average price
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis tadalafil 20mg uk
http://cialisonlinq.com/
generic cialis rx pharmacy indian

HarryNeulkHarryNeulk2018/05/05 09:44viagra commercial asian actress name
<a href="http://viagrapipls.com/">viagra</a>
viagra generic availability teva pharmaceuticals
<a href="http://viagrapipls.com/">buy generic viagra</a>
viagra ideal dosage forums
http://viagrapipls.com/
effects of viagra on men without ed

ArthurerymnArthurerymn2018/05/05 17:25viagra and cialis combo dosages
<a href="http://cialisonlinq.com/">generic cialis online</a>
cialis generico opinion
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
cialis 20 mg dosage per day
http://cialisonlinq.com/
levitra cialis viagra comparison

MarkstedaMarksteda2018/05/05 23:09levitra online kaufen paypal prepaid
<a href="http://mylevitraok.com">levitra generic</a>
levitra reviews by women
<a href=http://mylevitraok.com#levitra+generic>levitra 10 mg prezzo</a>

MichaelfubMichaelfub2018/05/06 00:15cialis generic side effects
<a href="http://cialisonlinq.com/">buy cialis online</a>
dosage strengths of cialis
<a href="http://cialisonlinq.com/">buy generic cialis</a>
cialis commercial same guy
http://cialisonlinq.com/
cialis vs viagra dosages

MarkstedaMarksteda2018/05/06 02:33vergleich viagra cialis levitra kamagra
<a href="http://myvardenafilok.com">vardenafil 20mg</a>
levitra mutation
<a href=http://mylevitraok.com#levitra+10+mg+prezzo>levitra 20 mg bayer prezzo</a>

DonaldestarDonaldestar2018/05/06 02:58viagra and cialis dosage and cost comparison
<a href="http://viagrapipls.com/">buy viagra</a>
viagra dose instructions
<a href="http://viagrapipls.com/">generic viagra</a>
viagra natural casera para mujeres
http://viagrapipls.com/
female viagra pill wiki

MarkstedaMarksteda2018/05/06 05:57levitra njila an tananao
<a href="http://myvardenafilok.com">generic levitra</a>
levitra thayna cardoso travel
<a href=http://myvardenafilok.com#levitra+generic>levitra 20 mg bayer prezzo</a>

RusselloomiRusselloomi2018/05/06 08:28cialis dose 40 mg
<a href="http://cialisonlinq.com/">cialis generic</a>
is generic cialis available in the us
<a href="http://cialisonlinq.com/">cialis generic</a>
stendra vs viagra cialis levitra
http://cialisonlinq.com/
review cialis professional

MarkstedaMarksteda2018/05/06 12:22levitra 5 mg wikipedia shqip
<a href="http://mylevitraok.com">buy levitra</a>
levitra administrare seminte
<a href=http://mylevitraok.com#vardenafil+20mg>levitra 20 mg bayer prezzo</a>

MarkstedaMarksteda2018/05/06 15:30levitra bayer 5mg prezzo
<a href="http://mylevitraok.com">buy levitra</a>
levitra nfl shop
<a href=http://levitra-gg.com#levitra+20mg>levitra coupon</a>

JoddygokJoddygok2018/05/06 18:29<a href="http://bikecommunications.com/#">cialis printable coupons</a> link for you cialis price can i take cialis and ecstasy miglior cialis generico preis cialis 20mg schweiz cialis prezzo in linea basso cialis flussig <a href=http://bikecommunications.com/>Cialis Coupon 2018</a>

MarkstedaMarksteda2018/05/06 18:36levitra rwanda
<a href="http://mylevitraok.com">generic levitra</a>
khazanovich levitra
<a href=http://myvardenafilok.com#levitra+generic>vardenafil 20mg</a>

RichardZefRichardZef2018/05/06 20:23female viagra medication
<a href="http://viagrapipls.com/">buy generic viagra</a>
how viagra affects women
<a href="http://viagrapipls.com/">buy viagra</a>
names for generic viagra
http://viagrapipls.com/
viagra vs cialis dosages

MarkstedaMarksteda2018/05/06 21:45levitran roller coaster
<a href="http://myvardenafilok.com">levitra 20 mg</a>
para sirve levitra 10 mg
<a href=http://mylevitraok.com#levitra+online>levitra coupon</a>

BrendancefBrendancef2018/05/06 23:47viagra cialis levitra cost
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis generico espaГ±a farmacias
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis soft gels
http://cialisonlinq.com/
brand cialis 5mg

MarkstedaMarksteda2018/05/07 01:04generisches cialis vs levitra
<a href="http://myvardenafilok.com">vardenafil 20mg</a>
bogomoletz levitra
<a href=http://mylevitraok.com#vardenafil+20mg>levitra prices</a>

MarkstedaMarksteda2018/05/07 04:27levitra couch spray painted
<a href="http://myvardenafilok.com">levitra 10 mg prezzo</a>
coupon levitra match
<a href=http://mylevitraok.com#buy+levitra>buy levitra</a>

MarkstedaMarksteda2018/05/07 07:55estimulante masculino levitra for sale
<a href="http://levitra-gg.com">vardenafil 20mg</a>
levitra spotrac nfl
<a href=http://myvardenafilok.com#buy+levitra>levitra rezeptfrei deutschland</a>

RalphfoemsRalphfoems2018/05/07 10:43walmart pharmacy cialis cost
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis 5mg best price uk
<a href="http://cialisonlinq.com/">buy generic cialis online</a>
viagra cialis generico
http://cialisonlinq.com/
viagra cialis levitra price comparison

MarkstedaMarksteda2018/05/07 11:23levitra comments
<a href="http://mylevitraok.com">vardenafil 20mg</a>
levitra atlanta falcons 2016
<a href=http://mylevitraok.com#levitra+20+mg>levitra 20mg</a>

LamarAluchLamarAluch2018/05/07 13:13viagra dosage and use
<a href="http://viagrapipls.com/">buy viagra online</a>
generic viagra prices at walgreens
<a href="http://viagrapipls.com/">buy viagra online</a>
viagra super active plus kaufen
http://viagrapipls.com/
viagra generic name mycoxafloppin

MarkstedaMarksteda2018/05/07 14:41forum salute levitra ansi a generalizzata
<a href="http://mylevitraok.com">generic levitra</a>
levitra couches tagged
<a href=http://myvardenafilok.com#buy+levitra>levitra 10 mg prezzo</a>

DavidflallDavidflall2018/05/08 04:01cialis 20 mg price comparison united states
<a href="http://cialisonlinq.com/">generic cialis online</a>
walmart pharmacy cialis price check
<a href="http://cialisonlinq.com/">buy cialis</a>
long term side effects of cialis
http://cialisonlinq.com/
cialis vs viagra dose

AnthonyboagsAnthonyboags2018/05/08 05:40best prices on cialis 5mg
<a href="http://cialisonlinq.com/">cialis</a>
buy cialis in the united states
<a href="http://cialisonlinq.com/">cialis generic</a>
cialis generico en mexico farmacias similares
http://cialisonlinq.com/
cialis 5mg reviews

ThomasUnditThomasUndit2018/05/08 06:27generic viagra professional review
<a href="http://viagrapipls.com/">buy viagra online</a>
buy viagra online us pharmacy reviews
<a href="http://viagrapipls.com/">buy generic viagra</a>
best time to take viagra and cialis
http://viagrapipls.com/
viagra super active plus uk

RichardVomRichardVom2018/05/08 20:22viagra and cialis dosage and cost comparisons
<a href="http://cialisonlinq.com/">generic cialis</a>
cialis super active vs cialis
<a href="http://cialisonlinq.com/">buy generic cialis</a>
best prices on generic cialis 40 mg
http://cialisonlinq.com/
acquisto cialis generico in italia

HectorProrkHectorPrork2018/05/08 20:47viagra cialis levitra online canada
<a href="http://cialisonlinq.com/">cialis</a>
generic cialis made in india
<a href="http://cialisonlinq.com/">buy generic cialis</a>
cialis dosage chart
http://cialisonlinq.com/
buy viagra and cialis online

DennisanistDennisanist2018/05/08 23:20generic viagra teva cost
<a href="http://viagrapipls.com/">generic viagra online</a>
generic name for female viagra
<a href="http://viagrapipls.com/">viagra generic</a>
viagra prices walmart canada
http://viagrapipls.com/
viagra generic name mycoxafloppin

StevehobStevehob2018/05/09 11:20cialis soft uk
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis manufacturer coupon 2017
<a href="http://airvietnamairline.com/">buy cialis online</a>
long term side effects of cialis
http://airvietnamairline.com/
best prices cialis generic

MichaelSafMichaelSaf2018/05/09 11:34kamagra 100mg tablets for sale in use
<a href="http://kamagradyn.com/">buy kamagra</a>
kamagra kaufen in deutschland
<a href="http://kamagradyn.com/">buy kamagra online</a>
kamagra 100mg tablets for sale in uses
http://kamagradyn.com/
kamagra oral jelly india price

RichardRibRichardRib2018/05/09 16:22cialis vs viagra user reviews
<a href="http://amsboatyard.com/">generic viagra</a>
maximum daily dosage of viagra
<a href="http://amsboatyard.com/">buy generic viagra online</a>
viagra side effects blue vision how dangerous
http://amsboatyard.com/
viagra commercial football actors

EdwardweeseEdwardweese2018/05/09 17:27cialis drug side effects
<a href="http://cialisonlinq.com/">generic cialis</a>
cialis 20 mg coupons
<a href="http://cialisonlinq.com/">buy cialis online</a>
cialis super active plus
http://cialisonlinq.com/
generic cialis 5mg for daily use

EdgarvemEdgarvem2018/05/10 02:15generic cialis from india reviews
<a href="http://airvietnamairline.com/">buy generic cialis online</a>
why are there 2 bathtubs in the cialis commercials
<a href="http://airvietnamairline.com/">generic cialis</a>
cialis 20 mg doses
http://airvietnamairline.com/
buy cialis in costa rica

JamesBeemoJamesBeemo2018/05/10 09:33new viagra commercial actress brunette
<a href="http://amsboatyard.com/">buy viagra</a>
viagra dosage age 30
<a href="http://amsboatyard.com/">buy generic viagra online</a>
cost comparison viagra cialis levitra
http://amsboatyard.com/
split viagra soft 100mg pills

JosephEsosyJosephEsosy2018/05/10 17:035mg cialis daily side effects
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis generic on the market
<a href="http://airvietnamairline.com/">buy generic cialis online</a>
compare viagra and cialis dosage
http://airvietnamairline.com/
generic names for cialis

MarionWoordMarionWoord2018/05/10 21:46kamagra gold 100mg reviews
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra chewable 100 mg reviews
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra gold 100mg reviews
http://kamagraonl.com/
kamagra oral jelly gГјnstig kaufen deutschland

MartinopectMartinopect2018/05/11 02:31viagra cost in usa
<a href="http://amsboatyard.com/">buy viagra</a>
viagra super active plus
<a href="http://amsboatyard.com/">generic viagra</a>
viagra ad actress football jersey
http://amsboatyard.com/
generic viagra (sildenafil citrate) malegra 100 mg

KeithSaupsKeithSaups2018/05/11 08:36kamagra bezorgen amsterdam
<a href="http://kamagraonl.com/">buy kamagra 100mg</a>
kamagra store in nyc
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra 100mg oral jelly price in egypt
http://kamagraonl.com/
chewable kamagra polo 100mg

AltondagAltondag2018/05/12 00:06when generic cialis will be available in usa
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis vs viagra dosage comparison
<a href="http://airvietnamairline.com/">buy cialis online</a>
what is maximum dose of cialis
http://airvietnamairline.com/
cost for cialis 20mg

JeremyfekJeremyfek2018/05/12 00:39sildenafil and dapoxetine tablets super kamagra
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra forum srbija
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra forum 2014
http://kamagraonl.com/
kamagra usage

HowardneusaHowardneusa2018/05/12 06:28youtube viagra commercial 2015 actress name
<a href="http://amsboatyard.com/">generic viagra</a>
youtube viagra commercial 2015 actresses
<a href="http://amsboatyard.com/">generic viagra online</a>
viagra side effects leg pain
http://amsboatyard.com/
viagra without a doctor prescription us phone number

WilliamVetWilliamVet2018/05/12 16:25generic cialis 5mg daily
<a href="http://airvietnamairline.com/">generic cialis online</a>
is generic cialis available yet
<a href="http://airvietnamairline.com/">cialis</a>
cialis 20mg tablets uk
http://airvietnamairline.com/
price comparison with cialis and viagra

DarwincitDarwincit2018/05/12 22:25buy generic viagra and cialis online canada
<a href="http://amsboatyard.com/">viagra generic</a>
viagra commercial actress name football
<a href="http://amsboatyard.com/">generic viagra online</a>
el viagra natural chino
http://amsboatyard.com/
best female viagra reviews

DustypioneDustypione2018/05/13 07:11viagra vs levitra vs cialis vs staxyn
<a href="http://airvietnamairline.com/">cialis</a>
cialis retail prices usa
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis daily use side effect red eyes
http://airvietnamairline.com/
super active cialis reviews

WarrenpsymnWarrenpsymn2018/05/13 07:38kamagra oral jelly kaufen deutschland paypal
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra 100mg oral jelly india
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra shop deutschland erfahrungen
http://kamagraonl.com/
come si usa kamagra oral jelly

HarryAmowsHarryAmows2018/05/13 10:12cvs generic viagra prices
<a href="http://buyviagrapw.com/">generic viagra online</a>
genericos de viagra en chile
<a href="http://buyviagrapw.com/">generic viagra</a>
how long does viagra side effects last
http://buyviagrapw.com/
split viagra soft 100mg 50mg

CecilmamCecilmam2018/05/13 12:21sildenafil citrate uses
<a href="http://sildenafilviagrap.com/">sildenafil citrate 100mg</a>
sildenafil citrate 100mg tab reviews
<a href="http://sildenafilviagrap.com/">sildenafil citrate 50mg</a>
sildenafil citrate generic price
http://sildenafilviagrap.com/
sildenafil citrate 20 mg tab amne

WilliamTugWilliamTug2018/05/13 16:30levitra vs cialis vs viagra reviews
<a href="http://buylevitraonl.com/">levitra 20mg</a>
levitra coupons printable
<a href="http://buylevitraonl.com/">buy levitra</a>
levitra coupon card
http://buylevitraonl.com/
levitra 20 mg coupons 2016

ElmertycleElmertycle2018/05/13 21:13cytotechnology specialist
<a href="http://airvietnamairline.com/">buy generic cialis</a>
viagra cialis price comparison
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis professional vs cialis super active
http://airvietnamairline.com/
generic daily cialis lowest price

VaughnAtmorVaughnAtmor2018/05/13 21:41kamagra oral jelly 100mg online bestellen
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra 100mg oral jelly price in egypt
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra oral jelly keine wirkung
http://kamagraonl.com/
kamagra 100mg oral jelly

SteevstedaSteevsteda2018/05/14 00:20cialis imperial levitra libidus viagra yohimbe
<a href="http://mylevitraok.com">cheap 20 mg levitra</a>
viagra cialis levitra qual melhor
<a href=http://mylevitraok.com#levitra+cost>20 mg levitra</a>
levitra orodispersibile prezzo in farmacia online

SteevstedaSteevsteda2018/05/14 02:42costo levitra con ricetta
<a href="http://myvardenafilok.com">cheap levitra 20 mg</a>
viagra cialis levitra cheep drugs
<a href=http://mylevitraok.com#buy+levitra+20+mg>levitra 10 mg</a>
levitra 10 mg prezzo petrolio

MatthewSoPMatthewSoP2018/05/14 02:59buy generic viagra india
<a href="http://genericviagrasu.com/">buy viagra</a>
is generic viagra available in the us
<a href="http://genericviagrasu.com/">buy generic viagra</a>
best time to take viagra
http://genericviagrasu.com/
viagra side effects bloodshot eyes

SteevstedaSteevsteda2018/05/14 04:53what is levitra 20 mg used for
<a href="http://myvardenafilok.com">buy levitra 10 mg</a>
20mg levitra cost
<a href=http://mylevitraok.com#buy+generic+levitra>levitra</a>
comparison of levitra

LarrybreldLarrybreld2018/05/14 06:11sildenafil citrate 20 mg price
<a href="http://sildenafilcitratepw.com/">buy generic viagra</a>
sildenafil citrate dosing
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 20mg</a>
sildenafil citrate 20 mg dosage for ed
http://sildenafilcitratepw.com/
sildenafil citrate pricing

SteevstedaSteevsteda2018/05/14 09:32levitra generico 20 mg prezzo
<a href="http://myvardenafilok.com">coupon levitra</a>
levitra administrare2
<a href=http://myvardenafilok.com#vardenafil+cost>levitra 20mg</a>
a levitra do senhor jesus

RaymondbexRaymondbex2018/05/14 09:42levitra tablets 20 mg image
<a href="http://levitraonlq.com/">buy levitra</a>
best price levitra 20 mg
<a href="http://levitraonlq.com/">buy levitra online</a>
generic levitra available in usa
http://levitraonlq.com/
generic levitra available in usa

JamesLogJamesLog2018/05/14 11:16cialis 5 mg 6 tablets cost
<a href="http://airvietnamairline.com/">buy generic cialis</a>
viagra vs cialis vs levitra price comparison between
<a href="http://airvietnamairline.com/">generic cialis</a>
buy real viagra levitra cialis online edrugstore.md
http://airvietnamairline.com/
generic cialis 40 mg soft tabs 40 mg

ElroyquefsElroyquefs2018/05/14 11:45kamagra 100mg chewable tablets
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra oral jelly review
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra kopen utrecht
http://kamagraonl.com/
kamagra store

SteevstedaSteevsteda2018/05/14 11:48levitra anao
<a href="http://myvardenafilok.com">buy vardenafil online</a>
nfl players take levitra
<a href=http://mylevitraok.com#levitra+10mg+prezzo>buy levitra generic</a>
book cheap com darius guest levitra site

SteevstedaSteevsteda2018/05/14 13:59levitra and cialis comparison
<a href="http://mylevitraok.com">buy generic levitra</a>
levitra website
<a href=http://mylevitraok.com#buy+levitra+online>buy levitra</a>
levitra cialis viagra

SteevstedaSteevsteda2018/05/14 15:57free trial viagra cialis levitra
<a href="http://myvardenafilok.com">vardenafil buy</a>
impotence medicines levitra dosage
<a href=http://mylevitraok.com#levitra+10+mg>levitra generic</a>
levitra for sale india

DanielCoombDanielCoomb2018/05/14 16:37comparison viagra and cialis
<a href="http://amsboatyard.com/">generic viagra</a>
viagra 25mg preço ultrafarma
<a href="http://amsboatyard.com/">buy generic viagra online</a>
viagra generic cost
http://amsboatyard.com/
viagra meaning

SteevstedaSteevsteda2018/05/14 18:01what are the ingredients in levitra?
<a href="http://myvardenafilok.com">cheap levitra 10 mg</a>
levitra testimonial
<a href=http://mylevitraok.com#levitra+20mg>cheap generic levitra</a>
andy levitra salary for nurses

RobertalmopRobertalmop2018/05/14 18:13effectiveness of cialis vs viagra vs levitra forum
<a href="http://buycialisonl.com/">cialis generic</a>
generic cialis in canada
<a href="http://buycialisonl.com/">generic cialis</a>
cialis 20 mg price comparison
http://buycialisonl.com/
compare prices for cialis 5mg

WilliamdiebyWilliamdieby2018/05/14 21:35fildena 100 mg
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 150mg extra power
<a href="http://fildenaonl.com/">fildena online</a>
fildena 50 india
http://fildenaonl.com/
fildena 100 purple reviews

PetrstedaPetrsteda2018/05/15 00:17technical assistance for the eu indonesia trade support programme ii
<a href="http://anotherwinningtrade.com/demo/bitcoin-mineradware-and-puassophos-4097.php#">stock trading programs guide</a>
forex trading robots actual trades
<a href=http://sahin1.kurumsalevrak.com/demo/poloniex-dash-and-alberta-8393.php>automated forex trading software affiliate programs</a>

KelvinmerKelvinmer2018/05/15 01:20cialis coupons cvs printable
<a href="http://cialisgenericmg.com/">generic cialis online</a>
cialis dose vs viagra dose
<a href="http://cialisgenericmg.com/">buy generic cialis</a>
cialis super active plus online
http://cialisgenericmg.com/
cialis 100mg dosage information

BrianGaxBrianGax2018/05/15 01:41donde comprar cialis generico en chile
<a href="http://airvietnamairline.com/">cialis</a>
cialis super active reviews
<a href="http://airvietnamairline.com/">cialis generic</a>
when is generic cialis available
http://airvietnamairline.com/
cialis maintenance dosage bph

WillieHagWillieHag2018/05/15 02:11kamagra jelly
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra shop erfahrungen 2017
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra jelly reviews
http://kamagraonl.com/
kamagra 100mg chewable tablets

ThomasnibThomasnib2018/05/15 06:46viagra cialis cost
<a href="http://amsboatyard.com/">buy viagra online</a>
viagra dosage timing
<a href="http://amsboatyard.com/">generic viagra</a>
viagra without a doctor prescription australia
http://amsboatyard.com/
generic viagra available in us pharmacy

NicolasbetNicolasbet2018/05/15 09:38generic viagra best prices
<a href="http://buyviagrapw.com/">buy viagra</a>
gold max female viagra review
<a href="http://buyviagrapw.com/">buy generic viagra</a>
viagra cialis levitra online
http://buyviagrapw.com/
sildenafil viagra super active+ 100mg

ThomasBewThomasBew2018/05/15 12:58sildenafil citrate 20 mg tablet cost
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 20mg</a>
sildenafil citrate 100mg dosage
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 100mg</a>
sildenafil citrate 20 mg side effects
http://sildenafilcitratepw.com/
what is sildenafil citrate tablets used for

GeorgeSpoitGeorgeSpoit2018/05/15 15:26brand cialis means in hindi
<a href="http://airvietnamairline.com/">cialis generic</a>
viagra and cialis best price
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis side effects last
http://airvietnamairline.com/
generic cialis side effects

NathansipNathansip2018/05/15 15:55kamagra 100mg 7 tablets
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100 chewable tablet einnahme
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra kopen
http://kamagraonl.com/
kamagra oral jelly amazon nederland texas

DominicChitaDominicChita2018/05/15 16:33generic levitra release date
<a href="http://levitraonlq.com/">levitra</a>
40 mg levitra dosage dangers
<a href="http://levitraonlq.com/">buy levitra online</a>
levitra dosage
http://levitraonlq.com/
levitra generic availability

SteevstedaSteevsteda2018/05/15 18:58levitra machine guns
<a href="http://myvardenafilok.com">cheap levitra 10mg</a>
robin de levitra getrouwd gedichten
<a href=http://mylevitraok.com#vardenafil+coupon>buy levitra 10 mg</a>
levitra paypal

WalterSefWalterSef2018/05/15 20:41meaning of viagra
<a href="http://amsboatyard.com/">viagra generic</a>
como hacer viagra casero para mujer
<a href="http://amsboatyard.com/">viagra generic</a>
viagra effects on the heart
http://amsboatyard.com/
cialis dosage 20mg vs 100mg viagra

SteevstedaSteevsteda2018/05/15 22:11levitra addiction solitaire
<a href="http://myvardenafilok.com">levitra 20mg</a>
levitra ruan freitas electric tulare
<a href=http://myvardenafilok.com#buy+vardenafil+online>vardenafil cost</a>
brand name levitra for sale

RichardHammaRichardHamma2018/05/16 00:54viagra retail price cvs
<a href="http://genericviagrasu.com/">viagra generic</a>
viagra cialis equivalent dosage
<a href="http://genericviagrasu.com/">buy viagra</a>
viagra 100mg vs cialis 20mg
http://genericviagrasu.com/
viagra super active review

MichaelaffekMichaelaffek2018/05/16 04:10what does sildenafil citrate do
<a href="http://sildenafilcitratepw.com/">generic viagra online</a>
sildenafil citrate generic viagra 100mg
<a href="http://sildenafilcitratepw.com/">buy generic viagra online</a>
sildenafil citrate tablets 150
http://sildenafilcitratepw.com/
sildenafil citrate 100mg troche reviews

JeffreyFlackJeffreyFlack2018/05/16 05:37best price on generic cialis
<a href="http://airvietnamairline.com/">cialis generic</a>
extra super cialis
<a href="http://airvietnamairline.com/">cialis</a>
cialis price compared to viagra
http://airvietnamairline.com/
cialis coupon codes

CharlesHermaCharlesHerma2018/05/16 06:05kamagra kopen rotterdam winkel
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra bestellen utrecht
<a href="http://kamagraonl.com/">buy kamagra 100mg</a>
kamagra 100mg oral jelly price in india
http://kamagraonl.com/
kamagra 100mg oral jelly price in egypt

DonaldLofDonaldLof2018/05/16 07:55costco levitra 20 mg price
<a href="http://levitraonlq.com/">levitra</a>
generic levitra available in usa news
<a href="http://levitraonlq.com/">buy levitra</a>
price of levitra at walmart pharmacy
http://levitraonlq.com/
availability of generic levitra

PhillipJamPhillipJam2018/05/16 10:53viagra time take effect
<a href="http://amsboatyard.com/">generic viagra</a>
viagra price in america
<a href="http://amsboatyard.com/">generic viagra</a>
cialis vs viagra cost comparison
http://amsboatyard.com/
viagra cialis equivalent dosage

RonnieboOmiRonnieboOmi2018/05/16 16:19cialis dosage 10mg vs 20mg
<a href="http://buycialisonl.com/">cialis generic</a>
canadian pharmacy cialis prices
<a href="http://buycialisonl.com/">buy generic cialis online</a>
cialis vs levitra reviews
http://buycialisonl.com/
how long do cialis side effects last

BarryhogueBarryhogue2018/05/16 19:48viagra dosage vs cialis dosage
<a href="http://airvietnamairline.com/">buy cialis online</a>
cialis super active vs cialis professional
<a href="http://airvietnamairline.com/">cialis</a>
cialis commercial bathtubs youtube
http://airvietnamairline.com/
cialis generico preço rj

FrancisSetFrancisSet2018/05/16 19:55fildena 150mg dose from fortune healthcare
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 50
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 50 mg tablets buy
http://fildenaonl.com/
fildena 50 side effects

CharlesnumCharlesnum2018/05/16 20:15kamagra jelly 100mg usa
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra oral jelly 100mg
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra forum srpski
http://kamagraonl.com/
kamagra oral jelly kaufen berlin

DexterHizDexterHiz2018/05/16 23:54generic cialis usa date
<a href="http://cialisgenericmg.com/">cialis</a>
generic cialis costco
<a href="http://cialisgenericmg.com/">buy generic cialis online</a>
cialis generic prices
http://cialisgenericmg.com/
dosage du cialis 20mg

ClydedusClydedus2018/05/17 06:51cheap viagra soft tabs
<a href="http://amsboatyard.com/">viagra generic</a>
viagra safe dosage forum
<a href="http://amsboatyard.com/">generic viagra online</a>
viagra taking instructions
http://amsboatyard.com/
cialis vs viagra cost comparison

MichaelTewMichaelTew2018/05/17 10:06cialis 20mg tablets
<a href="http://airvietnamairline.com/">buy generic cialis online</a>
cialis coupons walgreens groupon
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis professional wikipedia
http://airvietnamairline.com/
cialis coupon codes

PeterGopPeterGop2018/05/17 10:35kamagra forum srbija
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra oral jelly kaufen per nachnahme
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra 100mg oral jelly suppliers indianapolis
http://kamagraonl.com/
kamagra oral jelly 100mg price in india

LarryUpsedLarryUpsed2018/05/17 12:13sildenafil citrate dosage for ed
<a href="http://sildenafilcitratepw.com/">buy sildenafil citrate online</a>
sildenafil citrate generic viagra 50mg
<a href="http://sildenafilcitratepw.com/">buy viagra</a>
sildenafil citrate 20 mg tab amne
http://sildenafilcitratepw.com/
what is sildenafil citrate used for

RonaldGomRonaldGom2018/05/17 15:50price of levitra 20 mg
<a href="http://levitraonlq.com/">levitra 20mg</a>
levitra 20 mg generic
<a href="http://levitraonlq.com/">levitra 10mg</a>
levitra 20 mg cost walmart generic
http://levitraonlq.com/
generic name for levitra

CesarHoanyCesarHoany2018/05/18 00:56kamagra jelly sale
<a href="http://kamagraonl.com/">buy kamagra online</a>
the kamagra store scam
<a href="http://kamagraonl.com/">buy kamagra</a>
how to use kamagra 100mg tablets
http://kamagraonl.com/
kamagra 100mg tablets side effects

FrankHesFrankHes2018/05/18 01:07viagra como tomar
<a href="http://genericviagrasu.com/">viagra</a>
viagra maximum daily dosage
<a href="http://genericviagrasu.com/">generic viagra</a>
maximum daily dose of viagra
http://genericviagrasu.com/
generic viagra manufacturers

DavidBogDavidBog2018/05/18 05:02what is sildenafil citrate 20 mg tablet
<a href="http://sildenafilcitratepw.com/">viagra</a>
sildenafil citrate used for
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 100mg</a>
sildenafil citrate usp monograph
http://sildenafilcitratepw.com/
sildenafil citrate usp

WesleyRoutsWesleyRouts2018/05/18 09:12best prices for generic levitra
<a href="http://levitraonlq.com/">buy levitra</a>
levitra prices at walmart
<a href="http://levitraonlq.com/">levitra online</a>
cost levitra 20 mg at walmart
http://levitraonlq.com/
reviews on levitra vs viagra

ThomassarThomassar2018/05/18 15:42cialis coupon walgreens groupon
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis coupons for walgreens pharmacy
<a href="http://airvietnamairline.com/">buy cialis online</a>
walmart pharmacy prices for cialis
http://airvietnamairline.com/
cialis super active vs professional

EdgarBusEdgarBus2018/05/18 16:16kamagra in usa kaufen dundee health
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra oral jelly usage
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra oral jelly for sale in usa
http://kamagraonl.com/
kamagra store coupon

KennethbowKennethbow2018/05/18 18:09cialis dose and timing
<a href="http://buycialisonl.com/">buy generic cialis</a>
cost of viagra versus cost of cialis
<a href="http://buycialisonl.com/">buy cialis online</a>
cialis brand 10mg
http://buycialisonl.com/
cialis prescription price australia

MichaelswadyMichaelswady2018/05/18 21:24fildena 150mg dose from fortune healthcare
<a href="http://fildenaonl.com/">fildena online</a>
fildena 100 mg reviews
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena india
http://fildenaonl.com/
fildena 100 purple reviews

RickeyGesRickeyGes2018/05/19 01:14cialis 20 mg dosage
<a href="http://cialisgenericmg.com/">cialis generic</a>
cialis dose maxima diaria
<a href="http://cialisgenericmg.com/">buy cialis online</a>
buy cialis cheap prices fast delivery
http://cialisgenericmg.com/
viagra cialis levitra online uk

DennisrhinsDennisrhins2018/05/19 02:52viagra other medical uses
<a href="http://amsboatyard.com/">buy generic viagra</a>
viagra commercial actress name football
<a href="http://amsboatyard.com/">buy generic viagra</a>
viagra side effects next day
http://amsboatyard.com/
viagra side effects

WalterretWalterret2018/05/19 06:12brand cialis meaning in hindi
<a href="http://airvietnamairline.com/">buy cialis online</a>
cialis 20 mg indications
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis generico espaГ±a opiniones
http://airvietnamairline.com/
cialis manufacturer coupon 2018

DouglasNamDouglasNam2018/05/19 09:48kamagra 100mg oral jelly usa
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra kopen
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra bestellen amsterdam
http://kamagraonl.com/
kamagra oral jelly usage

CharlesBoaskCharlesBoask2018/05/19 12:30sildenafil citrate 100mg lowest price walmart
<a href="http://sildenafilcitratepw.com/">buy viagra online</a>
sildenafil citrate 100mg prices
<a href="http://sildenafilcitratepw.com/">sildenafil citrate online</a>
sildenafil citrate 100mg reviews
http://sildenafilcitratepw.com/
sildenafil citrate usp monograph

RonaldHefRonaldHef2018/05/19 16:14levitra india price generic
<a href="http://levitraonlq.com/">buy levitra</a>
generic names for levitra
<a href="http://levitraonlq.com/">levitra 10mg</a>
cialis vs viagra vs levitra dosage review
http://levitraonlq.com/
levitra 20 mg cost walmart generic

LutherblifyLutherblify2018/05/19 20:15cialis generico en mexico
<a href="http://airvietnamairline.com/">generic cialis</a>
cialis vs viagra vs levitra
<a href="http://airvietnamairline.com/">generic cialis</a>
cialis 5mg price walmart
http://airvietnamairline.com/
why separate bathtub in cialis commercials

KepangokKepangok2018/05/20 20:51<a href="http://shandatea.com/">Cialis</a> cialis from shops cealis from canada cialis 50mg hinta visit our site cialis on sale retail cost cialis
preis cialis 25mg cialis generika available will version cialis try it cialis and diarrhea is generic cialis ok <a href="http://www.mayavanrosendaal.com/">cialis without a doctor prescription</a>
generic cialis 5 pills cialis price cialis vendo chile can cialis cause tinnitus cialis original patent
cialis preise holland cialis 2.5 mg cost acquisto cialis con paypal the cialis costume hat cialis online australia buy <a href=http://kaivanrosendaal.com/>Buy Cheap Cialis</a>
cialis movie cialis tablets australia buy cheap cialis in usa online generic cialis sales cialis super active reviews
http://www.mayavanrosendaal.com/

YrheogokYrheogok2018/05/20 22:00<a href="http://www.mayavanrosendaal.com/">buy cialis no prescription</a> we like it safe cheap cialis cialis pills boards
we use it cialis online store cialis qualitat
get cheap cialis when can i take another cialis <a href="http://shandatea.com/">cialis price</a>
comprar cialis navarr cialis 10 doctissimo
cialis en 24 hora mycanadyanpharmacycialis <a href=http://shandatea.com/>Buy Cialis Online</a>
enter site very cheap cialis cialis with 2 days delivery
buy original cialis generic low dose cialis
http://shandatea.com/

LolseTaictLolseTaict2018/05/23 06:33<a href="http://asianteaarts.com/">Sildenafil 20 mg</a> cialis pfizer online kaufen as example ever use cialis cialis order real i use it cialis overnight mail
cheap cialis pfizer online cialis 20mg ordre par cialis cialis sous h cialis pfizer prezzo farmacia <a href="http://asianteaarts.com/">Sildenafil 100mg</a>
cialis cost with prescription cialis uk only now cialis for women cialis no prescription us achat cialis original en ligne
cialis pour femme 2014 cialis 20mg ordre par cialis cialis principio attivo cheap real cialis uk <a href=http://asianteaarts.com/>Sildenafil Citrate 50 mg</a>
cialis dose levels cialis best price cialis shopper comprar cialis venezuela is generic cialis ok
cialis is best cialis which cialis 30 day sample discount generic cialis uk generic soft tab cialis comprar cialis internet for
http://asianteaarts.com

rewangokrewangok2018/05/23 07:32<a href="http://chinateacraft.com/">Buy Sildenafil Citrate 100mg</a> acheter cialis sof buy cialis u 45976 buy cialis online cialis free com erfahrungen cialis patent expiry uk
cialis sim cealis wirkung cialis animation cialis in denver generika cialis cavert <a href="http://chinateacraft.com/">Buy Sildenafil 100mg</a>
cialis at a cheap price cialis vs cialis cialis vendo chile buy female pfizer cialis compre en la tienda cialis
cialis stores delhi cialis tadalafil try it cheap cialis cialis generico de cialis mexico cialis italia senza ricetta <a href=http://chinateacraft.com/#sildenafil>Sildenafil 100mg</a>
generic cialis safe anchor cealis farmacias en lnea cialis buy cialis online women cialis italia senza ricetta
http://chinateacraft.com

rewangokrewangok2018/05/23 09:56<a href="http://chinateacraft.com/#sildenafil">Sildenafil</a> only here cialis now online buy cialis online only now cialis for women prescripcin de cialis uk 50mg cialis price
cialis potenzmittel generika cialis uk places to buy cialis in nyc cialis compra onlin original cialis ohne rezept <a href="http://chinateacraft.com/#sildenafil">Sildenafil 100mg</a>
hay cialis generica cialis preco ipad cialis online sicher wow cialis from canada cialis vs cialis price
what do cialis do for men example here only today cialis in britain cialis use and massage only today cialis costs <a href=http://chinateacraft.com/#sildenafil>Sildenafil</a>
cialis online xlpharmacy cialis generika opinioni cialis online very good site cialis no rx cialis price 4 pills package
http://chinateacraft.com

LolseTaictLolseTaict2018/05/23 13:43<a href="http://asianteaarts.com/">Sildenafil Citrate 100mg</a> women cialis users homepage besuchen we use it cialis buy usa cuanto cialis debo toma usefull link cialis online buy
we recommend cialis next day cost cialis 20mg cialis women price india buy safe cialis cialis vs cialis price <a href="http://asianteaarts.com/">Sildenafil 50 mg</a>
cialis in pazienti diabetici cialis generic cialis online stellen cialis principio attivo generic cialis 30
cialis billig en ligne cialis generika only now cialis sale cheap gutes cialis kaufen retail cost cialis <a href=http://asianteaarts.com/>Buy Sildenafil</a>
cialis costs in mexico cheep cealis sublingual to buy cialis plus click here kamagra cialis jelly uk cialis cialis panorama
cialis kopen apotheek buy cialis online pldoras cialis baratas uk just try cialis cialis online cialis alle erb
http://asianteaarts.com

LolseTaictLolseTaict2018/05/23 15:14<a href="http://asianteaarts.com/">Sildenafil 100mg</a> cialis review 50mg cealis acquisto cialis con paypal cialis da mg funziona super active cialis prices
cialis pastiglie morbide cost of cialis 5 mg cialis online pharmacy cialis generico alcohol just try buy cialis in uk <a href="http://asianteaarts.com/">Buy Sildenafil 100mg</a>
prescription costs cialis cialis dosage 10 cialis pills uk cialis store in dubai cialis mg 20
cialis free com serios visit your url cialis france pu cam order cialis canada simile al cialis <a href=http://asianteaarts.com/>Buy Sildenafil Citrate 100mg</a>
cialis online female buy free cialis venta barata cialis cialis online preisvergleic compra cialis postepa
cialis generico non indiano cialis trial cialis sildenafil citrat 100mg cialis cialis prices best price au pharmacy cialis
http://asianteaarts.com

2008-12-22

c4ex13_reverse_recursive.cpp

17:30

Write a recursive version of the function reverse(s) , which reverses the string s in place.

#include <stdio.h>
#include <stdlib.h>
#include <string.h> 
#include <limits.h> 

#define MAX 500
 
/* reverse string */ 
void reverse(char *s, int sindex, int eindex){
	char temp;
	if(sindex==eindex) {
		return;
	}
	else {
		temp=s[sindex];
		s[sindex]=s[eindex];
		s[eindex]=temp;
		reverse(s,sindex+1,eindex-1);		
	}
}

int main(void){

	char test_str[MAX];
	
	printf("Input string to reverse: \n");
	gets(test_str);
	printf("Test string is : %s\n",test_str);
	reverse(test_str, 0, strlen(test_str)-1);
	printf("After reverse:%s\n",test_str);
	
	return 0;
}

Run:

$ ./c4ex13_reverse_recursive.exe
Input string to reverse:
this is the test string for reverse
Test string is : this is the test string for reverse
After reverse:esrever rof gnirts tset eht si siht

c4ex11_itoa_recursive.cpp

17:30

Adapt the ideas of printd to write a recursive version of itoa ; that is, convert an integer into a string by calling a recursive routine.

Question: it may not be very smart to use an external variable as the string index, but I cannot think of a better way in the recursive routine. Suggestion welcomed!

#include <stdio.h>
#include <stdlib.h>
#include <string.h> 
#include <limits.h> 

#define MAX 20
 
int i;  /* string index */

/* put char to string */ 
void sputchar(char c, char* s){
	
	s[i++]=c;
	s[i]='\0';
}
 
void itoa(long n, char* s){
	
	i=0;
	if(n<0) {
		sputchar('-',s);
		n=-n;
	}	
	if(n/10==0) {
		sputchar(n%10+'0',s);
	}else{
		itoa(n/10,s);
		sputchar(n%10+'0',s);
	}
	
}

int main(void){

	long a = -1122333;
	char *buff;
	
	itoa(a, buff);
	printf("itoa(%d)=%s\n",a,buff);
	a =890556;
	itoa(a, buff);
	printf("itoa(%d)=%s\n",a,buff);

	return 0;
}

Run:

$ ./c4ex11_itoa_recursive.exe
itoa(-1122333)=1122333
itoa(890556)=890556

2008-12-17

c4ex8_ungetch.cpp

17:23

Suppose that there will never be more than one character of pushback. Modify getch and ungetch accordingly.

#include <stdio.h>
#include <string.h>

int save=NULL;

/* Getch: get a ( possibly pushed back) character. */
int getch(void)
{
	int t;
	if(save!=NULL){
		t=save;
		save=NULL;
		return t;
	} 
	else return getchar();
   
}  

/* unGetch: push character back on input. */
void ungetch(int c)
{  
	if(save != NULL)
		printf("ungetch: too many characters\n");
	else  
		save = c;
}

void ungets(char s[])
{
	int c, i=0;
	for(i=strlen(s);i>=0;i--){
	
		ungetch(s[i]);
	
	}
}

int main()
{
	int c, i=0;
	char* s = "h";
	char t;
	
	printf("%s\n",s);		
	ungets(s);	
	printf("%c\n",getch());	
	
	s = "hello";	
	printf("%s\n",s);		
	ungets(s);	
	printf("%c\n",getch());
	
	t = 'A';	
	printf("%c\n",t);		
	ungetch(t);	
	printf("%c\n",getch());
}

Run:

$ ./c4ex8_ungetch.exe
h
h
hello
ungetch: too many characters
ungetch: too many characters
ungetch: too many characters
ungetch: too many characters
o
A
A

c4ex7_ungets.cpp

17:20

Write a routine ungets(s) that will push back an entire string onto the input.


#include <stdio.h>
#include <string.h>

#define BUFSIZE 100

int buf[BUFSIZE];
int bufp = 0;

/* Getch: get a ( possibly pushed back) character. */
int getch(void)
{
   return (bufp > 0) ? buf[--bufp]: getchar();
}

/* unGetch: push character back on input. */
void ungetch(int c)
{
   if(bufp >= BUFSIZE)
      printf("\nUnGetch: too many characters\n");
   else
      buf[bufp++] = c;
}

void ungets(char s[])
{
	int c, i=0;
	for(i=strlen(s);i>=0;i--){
	
		ungetch(s[i]);
	
	}
}

int main()
{
	int c, i=0;
	char s[] = "hello this a test";
	
	printf("%s\n",s);	
	
	ungets(s);
	
	while((c=getch())!='\n'){
		printf("%c",c);
	}
	
}

Run:

$ ./c4ex7_ungets.exe
hello this a test
hello this a test

2008-12-15

c4ex3-6calculator.cpp

19:44

On the previous calculator:

Add commands to print the top element of the stack without popping, to duplicate it, and to swap the top two elements. Add a command to clear the stack.

Add access to library functions like sin , exp , and pow . See <math.h> in Appendix B, Section 4.

Add commands for handling variables. (It's easy to provide twenty-six variables with single-letter names.) Add a variable for the most recently printed value.

#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>

#define MAX 100
#define NUM '#'
#define VAR '@'
#define END '|'
#define UNKNOW '&'

#define ERROR -1
#define NORMAL 0
#define LAST 1

int sp=0, i=0, errflag=NORMAL;
double stack[MAX];
double number=0.0;
char s[MAX];
double v[26]={};
char varname = NULL;

void push(double n){
	
	if(sp==MAX) {
		printf("Error: exceed max stack space!\n");
		errflag = ERROR;
	}else{
		stack[sp++]=n;
	}
}

double pop(){
	
	if(sp>0) return stack[--sp];  /* --sp ! */
	else {
		printf("Error: stack is empty!\n");
		errflag = ERROR;
		return 0.0;
	}	
}

void showtop(){

	if(sp>0) {
		printf("top element is %f\n", stack[sp-1]);
	}	
	else printf("Error: no element in stack. \n");
}

void copytop(){
	
	double temp;
	temp=pop();
	push(temp);
	push(temp);
	
}

void swaptoptwo(){

	double temp1;
	double temp2;
	
	temp1=pop();
	temp2=pop();
	
	push(temp1);
	push(temp2);	
 
}

void clear(){

	sp=0;
}

double atof(char* s){
	
	double number=0.0, ratio=1.0, ten=10.0;
	int i=0, non_num=0, point=-1, sign=1, psign=1, e=0, exp=0, digit=0;

	while(s[i]!='\0'){
		switch(s[i]){
			case ' ': non_num++; break;
			case '.': point=i; break;
			case '-': if(e) psign=-1; else {sign=-1; non_num++;} break;
			case '+': if(e) psign=1; else {sign=1; non_num++;} break;
			case 'e': e=1; break;
			case 'E': e=1; break;
			default: if(e) exp=exp*10+(s[i]-'0'); else { number=number*ten+(s[i]-'0'); digit++; }
		}
		i++;
	}
	/* negtive exp sign or exp =0 => ratio=0.1 ; positive exp sign => ratio = 10.0  */
	if(psign<0 || exp==0) ratio = 1/ten;
	else ratio = ten;
	
	/* if point appears */
	if(point!=-1){
		for(i=0;i<abs(psign*exp-(digit-(point-non_num)));i++)
			number = number * ratio; 
	}
	/* no point */	
	else {
		for(i=0;i<exp;i++)
			number = number * ratio; 
	}

	return number*sign;
	
}

/* process input - Polish notation */
int getinput(){
	
	int c, nc, sign = 1, j, k=0, flag;
	char op[5], value[MAX];
	
	while((c=s[i++])!='\0'){	

		/* - or minus */
		if(c=='-') {
			nc=s[i];
			if(isdigit(nc) || nc=='.'){
				sign=-1;
			}
			else {
				return c;
			}	
		}
		/* var gets value */
		else if(c=='='){
			if(varname!=NULL) {
				
				j=0;
				while(!isdigit(c)&&c!='.'){
					if(c=='-'){
						value[j++]=c;
					}
					c=s[i++];
				}
				while(isdigit(c)||c=='.') {
					value[j++]=c;	
					c=s[i++];
				}		
				i--;				
				value[j]='\0';		
				v[varname-'a'] = atof(value);
				varname=NULL;
			}	
			else printf("error: no variable name before '='. \n");
		}
		/* library functions or var name */
		else if(isalpha(c)){
			/* save characters to op[] */
			j=0;
			while(isalpha(c)){
				op[j++] = c;
				c=s[i++];			
			}
			op[j]='\0';
			i--;
			/* if op is var name */
			if(strlen(op)==1) {
				varname=op[0];
			/* check if there is a '=' afterwards */
				flag=1;
				for(k=i;s[k]!='\0';k++){
					if(s[k]=='=') {
						flag = 0;	 
						break;
					}		
				}
			/* if there isn't a '=' afterwards,  var is using in formular, return VAR */
				if(flag) return VAR;				
			/* library functions */	
			}else if(strcmp(op,"cos")==0){
				return 'c';
			}
			else if(strcmp(op,"sin")==0){
				return 's';
			}
			else if(strcmp(op,"exp")==0){
				return 'e';
			}
			else if(strcmp(op,"pow")==0){
				return 'p';
			} else return UNKNOW;
		}		
		/* number in formular */
		else if(isdigit(c) || c=='.') {
			j=0;
			while(isdigit(c)||c=='.') {
				value[j++]=c;	
				c=s[i++];
			}			
			value[j]='\0';			
			i--;
			number = atof(value)*sign;
			
			return NUM;
		}	
		else if(c==' ' ||c=='\t') 
			;
		else return c;
	}
	return END;

}

void clearstate(){
	number=0.0;
	i=0;
	varname = NULL;
	errflag = NORMAL;
	clear();
}

int main(){
	
	int c;
	double result, t1, t2;
	
		printf("Input formular: (enter ! to quit )\n");
		gets(s);
		
		while(s[0]!='!'){
		/* operation  */
			while((c=getinput())!=END){
				switch(c){
					case '+': 
						t1=pop(); t2=pop(); push(t1+t2); break;
					case '-': 
						t1=pop(); t2=pop(); push(t2-t1); break;
					case '*': 
						t1=pop(); t2=pop(); push(t2*t1); break;
					case '/': 
						t1=pop(); if((t2=pop())!=0) push(t2/t1); else { printf("Error: 0 cannot be divided. \n"); errflag = ERROR; } break;
					case '%': 
						t1=pop(); if((t2=pop())!=0) push((int)t2%(int)t1); else { printf("Error: 0 cannot be divided. \n"); errflag = ERROR; } break;	
					case 'c': 
						t1=pop(); push(cos(t1)); break;
					case 's': 
						t1=pop(); push(sin(t1)); break;
					case 'e': 
						t1=pop(); push(exp(t1)); break;
					case 'p': 
						t1=pop(); t2=pop(); push(pow(t2,t1)); break;	
					case '<': 
						printf("last result = %g\n",result); errflag =LAST; break;	
					case VAR: 
						if(v[varname-'a']!=NULL) { push(v[varname-'a']); } else printf("Error: no variable value found.\n"); break;
					case NUM:  
						push(number); number=0; break;
					default: 
						printf("Error: unkown command! \n"); 	errflag = ERROR;					
				}		
			}
			if(errflag == NORMAL) {
				printf("%s = ",s);
				result = pop();
				printf("%g\n",result);
			}
			if(errflag == ERROR) printf("Not calculate. Input Error.\n");
			/* clear state for new inputs */
			clearstate();				
			printf("\nInput formular: (enter ! to quit )\n");
			gets(s);
		
		}
}	

Run:

$ ./c4ex3-6calculator.exe
Input formular: (enter ! to quit )
90 cos
90 cos = -0.448074

Input formular: (enter ! to quit )
40 cose
Error: unkown command!
Not calculate. Input Error.

Input formular: (enter ! to quit )
a= -.234 b=2.14 a b + 10 *
a= -.234 b=2.14 a b + 10 * = 19.06

Input formular: (enter ! to quit )
!

2008-12-12

c4ex3calculator.cpp

16:30

Given the basic framework, it's straightforward to extend the Polish notation calculator. Add the modulus ( % ) operator and provisions for negative numbers.

#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>

#define MAX 100
#define NUM '#'

int sp=0, i=0;
double stack[MAX];
double number=0.0;
char s[MAX];

void push(double n){
	
	if(sp==MAX) {
		printf("exceed max stack space!\n");
	}else{
		stack[sp++]=n;
	}
}

double pop(){
	
	if(sp>0) return stack[--sp];  /* --sp ! */
	else {
		printf("stack is empty!\n");
		return 0.0;
	}	
}

/* process input - Polish notation */
int getinput(){
	
	int c, nc;
	int sign = 1;
	double frac = 0.0, p = 1.0;
	while((c=s[i++])!='\0'){	
		/* operator */
		if(c=='+' || c=='*' || c=='/' || c=='%') {
			return c;
		}	
		if(c=='-') {
			if((nc=s[i])!=' '){
				sign=-1;
			}
			else {
				return c;
			}	
		}	
		/* number */
		if(isdigit(c) || c=='.') {
			while(isdigit(c)) {
				number=number*10.0+(c-'0');
				c=s[i++];
			}	
			if(c=='.'){
				c=s[i++];
				while(isdigit(c)) {
					p*=0.1;
					frac+=(c-'0')*p;
					c=s[i++];
				}
			}			
			i--;
			number = (number+frac)*sign;
			return NUM;
		}	
	}
	return EOF;

}

int main(){
	
	int c;
	double result=0, t1, t2;
	
	printf("input formular:\n");
	gets(s);

	/* operation  */
	while((c=getinput())!=EOF){
		switch(c){
			case '+': t1=pop(); t2=pop(); push(t1+t2); break;
			case '-': t1=pop(); t2=pop(); push(t2-t1); break;
			case '*': t1=pop(); t2=pop(); push(t2*t1); break;
			case '/': t1=pop(); t2=pop(); push(t2/t1); break;
			case '%': t1=pop(); if((t2=pop())!=0) push((int)t2%(int)t1); else printf("0 cannot be divided. \n"); break;	
			case NUM:  push(number); number=0; break;
			default: printf("error input! \n"); return -1;						
		}		
	}
	printf("%s = ",s);
	printf("%f\n",pop());
 	
}	

Run:

$ ./c4ex3calculator.exe
input formular:
2 3 + 4.4554 * 56.1 /
2 3 + 4.4554 * 56.1 / = 0.397094

$ ./c4ex3calculator.exe
input formular:
432 100 % 2 * 0+
432 100 % 2 * 0+ = 64.000000

moritamorita2008/12/15 20:29How about wrong inputs? for example, "1++1".
In general, you should be careful to handle user inputs.

annancyannancy2008/12/16 13:01Thanks for the comment. Yeah, this program is weak at wrong input. When error operator inputted, user will get 'stack empty error'. I'll try to improve it in the next version.