Case Label

error: "case label does not reduce to an integer constant", whats wrong?

heres my code:

printf("Search for:n");
scanf("%99s", search);
switch('search')
{
case "apple":
{
printf("An Apple is a fruit.");
break;
}
case "banana":
{
printf("seriously? you dont know what is a 'banana'?");
break;
}
default:
{
printf("check spelling ^^");
break;
}

just trying to make a simple search-er thingy in my program.
any idea whats wrong and how to fix it? (im still a newbie in C programming. still learning.^^)

Case statements use int values.
You have strings.

Have fun.

Find Case Label On eBay Below:

Murano Cased Art Glass Basket Turquoise Copper Aventurine White Original Label
Murano Cased Art Glass Basket Turquoise Copper Aventurine White Original Label
$124.99
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
$124.99
Venetian Murano Cased Glass Blue Controlled Bubble Bowl Label on Base
Venetian Murano Cased Glass Blue Controlled Bubble Bowl Label on Base
$14.01
Salviati Murano Glass white  gold inclusions clear cased bowl Original Label
Salviati Murano Glass white gold inclusions clear cased bowl Original Label
$44.17
FENTON PINK CASED BUBBLE OPTIC VASE 5 TALL WITH OLD FENTON STICKER LABEL
FENTON PINK CASED BUBBLE OPTIC VASE 5 TALL WITH OLD FENTON STICKER LABEL
$89.99
Vintage Elme Glasbruk Cased Glass Swan Figurine with Label
Vintage Elme Glasbruk Cased Glass Swan Figurine with Label
$49.95
Huge 8 pound Murano Cased glass satinato vase Italy label polished pontil base
Huge 8 pound Murano Cased glass satinato vase Italy label polished pontil base
$315.00
MID CENTURY EMPOLI ITALY WHITE CASED CANDY APOTHECARY JAR ORIGLABEL
MID CENTURY EMPOLI ITALY WHITE CASED CANDY APOTHECARY JAR ORIGLABEL
$65.00
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
$200.00
CZECH Cased White Art Glass IMPERLUX 24kt gold ORIGINAL LABEL
CZECH Cased White Art Glass IMPERLUX 24kt gold ORIGINAL LABEL
$13.95
MID CENTURY EMPOLI ITALY BLUE CASED CANDY APOTHECARY JAR ORIGLABEL
MID CENTURY EMPOLI ITALY BLUE CASED CANDY APOTHECARY JAR ORIGLABEL
$65.00
Murano Art Glass Bowl Green And Blue Cased In Clear Glass Original label
Murano Art Glass Bowl Green And Blue Cased In Clear Glass Original label
$72.92
Kanawha Hand Painted Cased Satin Glass Vase Double Crimped Rim with Label
Kanawha Hand Painted Cased Satin Glass Vase Double Crimped Rim with Label
$24.95
Murano Cased Art Glass Bowl Luscious Sherbet Colors w Label
Murano Cased Art Glass Bowl Luscious Sherbet Colors w Label
$59.95
Carlo Moretti Red White Cased Glass Vase 4 5 8 in Tall Murano Italy Signed Label
Carlo Moretti Red White Cased Glass Vase 4 5 8 in Tall Murano Italy Signed Label
$250.00
Large OBALL Murano Fine Art Glass Alabastro Cased SWAN Sculpture Figurine Label
Large OBALL Murano Fine Art Glass Alabastro Cased SWAN Sculpture Figurine Label
$112.50
Murano Lavorazione 8 Pastel Cased Glass Vase Mint with Label
Murano Lavorazione 8 Pastel Cased Glass Vase Mint with Label
$42.95
Murano glass handmade bowl dish +label Copper aventurine over cased red 10 star
Murano glass handmade bowl dish +label Copper aventurine over cased red 10 star
$21.02
Vintage Lavorazione Arte Murano Italy Glass Cased Glass Bud Vase w Label
Vintage Lavorazione Arte Murano Italy Glass Cased Glass Bud Vase w Label
$25.00
MCM Krosno Ruby Red Modernist Style Cased Glass Vase w Label 9 Tall
MCM Krosno Ruby Red Modernist Style Cased Glass Vase w Label 9 Tall
$15.50
1960s MORETTI EMPOLI BALBOA ITALY CASED GLASS RUFFLES BOWL ORIG LABEL
1960s MORETTI EMPOLI BALBOA ITALY CASED GLASS RUFFLES BOWL ORIG LABEL
$45.00
Vintage MURANO SOMMERSO CASED ART GLASS 13 3 4 CENTER BOWL LAVORAZIONE LABEL
Vintage MURANO SOMMERSO CASED ART GLASS 13 3 4 CENTER BOWL LAVORAZIONE LABEL
$42.00
Set of 2 Vintage Czech Cased Glass Pink  White Bud Vases Original Label c1930
Set of 2 Vintage Czech Cased Glass Pink White Bud Vases Original Label c1930
$59.99
Oy Kumela Cased Azure Blue Art Glass Vase Riihimaki Finland with Label
Oy Kumela Cased Azure Blue Art Glass Vase Riihimaki Finland with Label
$149.00
75 Pink cased mottled ART GLASS VASE PHOENICIAN GLASS MALTA Signed + label
75 Pink cased mottled ART GLASS VASE PHOENICIAN GLASS MALTA Signed + label
$16.81
Modernist Cased Glass Cylinder Vase Peacock Blue White Empoli Style 10 No Label
Modernist Cased Glass Cylinder Vase Peacock Blue White Empoli Style 10 No Label
$27.47
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
$34.98
2000 FENTON RARE PURPLE CASED GLASS DRAGONFLY HAND PAINTED PITCHER MINT + LABEL
2000 FENTON RARE PURPLE CASED GLASS DRAGONFLY HAND PAINTED PITCHER MINT + LABEL
$59.00
STUDIO ART GLASS SCENT BOTTLE PINK CASED GILTED SWIRL LEAF STOPPER ITALYw Label
STUDIO ART GLASS SCENT BOTTLE PINK CASED GILTED SWIRL LEAF STOPPER ITALYw Label
$24.99
Randsfjord Glass Norway Cobalt Cased Glass Controlled Bubble Vase Label
Randsfjord Glass Norway Cobalt Cased Glass Controlled Bubble Vase Label
$75.00
1960 MORETTI EMPOLI BALBOA ITALY CASED GLASS AMETHYST PITCHER MODERN ORIG LABEL
1960 MORETTI EMPOLI BALBOA ITALY CASED GLASS AMETHYST PITCHER MODERN ORIG LABEL
$55.00
Vintage Tantalus Triple Decanter Set with Locking Case and Labels
Vintage Tantalus Triple Decanter Set with Locking Case and Labels
$499.00
MTARFA MALTA 725 T BLUE CASED SWIRL PATTERN ART GLASS VASE SIGNED + LABEL EXC
MTARFA MALTA 725 T BLUE CASED SWIRL PATTERN ART GLASS VASE SIGNED + LABEL EXC
$16.81
White Cased Cut to Cranberry Berchtesgaden Kristall 3 1 4 Vase w labels
White Cased Cut to Cranberry Berchtesgaden Kristall 3 1 4 Vase w labels
$99.95
Pair of Vintage Murano Sommerso cased glass heron duck birds with original label
Pair of Vintage Murano Sommerso cased glass heron duck birds with original label
$40.65
Vintage Murano Glass Dish Multi Colored Cased Silver Aventurine Castle Label
Vintage Murano Glass Dish Multi Colored Cased Silver Aventurine Castle Label
$69.95
Ann Primrose Cased Art Glass Vase Murano Style Handblown Multi Color 18 w Label
Ann Primrose Cased Art Glass Vase Murano Style Handblown Multi Color 18 w Label
$189.94
Blue Fenton Cased Glass Milk Pitcher Hand Painted Artist Signed Original Label
Blue Fenton Cased Glass Milk Pitcher Hand Painted Artist Signed Original Label
$79.00
FOOTED ITALIAN 10 3 8 CASED GLASS VASE THAT IS HAND PAINTED W ORIGINAL LABEL
FOOTED ITALIAN 10 3 8 CASED GLASS VASE THAT IS HAND PAINTED W ORIGINAL LABEL
$9.94
Vintage POLAND Bohemian Glass Tall COMPOTE White Cut to Cased Amber with LABEL
Vintage POLAND Bohemian Glass Tall COMPOTE White Cut to Cased Amber with LABEL
$185.00


Recently Purchased Case Label:


italy murano bowl purple cased glass twisted stem 9 cased orig label, murano pink flower dish hand blown glass foil label cased glass lavorazione arte, studio art glass scent bottlepinkcasedgilted swirl leaf stopperitalyw label, 2000 fenton rare purple cased glass dragonfly hand painted pitcher mint label, murano glass salviati bowl in lattimo and aventurine cased in clear glass label, vintage murano sommerso cased art glass 13 34 center bowl lavorazione label, czech cased white art glass imperlux 24kt gold original label, vintage lavorazione arte murano italy glass cased glass bud vase w label , salviati murano glass white amp; gold inclusions clear cased bowl original label , vintage makora krosno green cased art glass vase with original makers label, incredible signed salviati cased art glass vase with 2 labels 1998 awe inspiring, murano cased glass bowl green swirls amp; foil with label, handcrafted texture art glass taupecased bowlapplied apostrophessala label7, venetian murano cased glass blue controlled bubble bowl label on base, bohemian czech hand painted green cased crystal bell original label, fenton pink cased bubble optic vase 5 tall with old fenton sticker label, vintage 11 34 la rochere pink amp; white cased glass vase signed amp; orig label, kagami crystal vintage 1953 with label never used 6shot6champaynein cases, murano italy cased art glass bowl candy green labeled ice t, murano 5 lobed art glass bowl ribbed red silver flecks cased clear glass label, rare matching murano bowl or ashtray mini vase cased glass fratelli toso labels, genuine murano glass cased bowl free style clear to yellow with murano label, vtg murano glass bowlbasket cased lattimo in clear glass w purple bubbles label, vintage murano glass dish multi colored cased silver aventurine castle label, pair of vintage murano sommerso cased glass heron duck birds with original label, white cased cut to cranberry berchtesgaden kristall 3 14 vase wlabels, mtarfamalta 725 t blue cased swirl pattern artglass vase signed label exc, vintage tantalus triple decanter set with locking case and labels, mcm krosno ruby red modernist style cased glass vase w label 9 tall, murano glass handmade bowldish label copper aventurine over cased red 10 star, murano lavorazione 8 pastel cased glass vase mint with label, large oball murano fine art glass alabastro cased swan sculpture figurine label, carlo moretti red white cased glass vase 458 in tall murano italy signed label, murano cased art glass bowl luscious sherbet colors wlabel, kanawha hand painted cased satin glass vase double crimped rim with label, vintage elme glasbruk cased glass swan figurine with label, murano cased art glass basket turquoise copper aventurine white original label, murano art glass balboa label cased maroon loop cat excellent, footed italian 10 38 cased glass vase that is hand painted w original label, murano art glass bowl green and blue cased in clear glass original label , krosno jozefina hand made vase poland with label multi color cased about 12 , murano glass modern salviati cased sommerso emerald bowl orig label 34a, vega hungary cased mulifaceted crystal art glass paperweight orig label beauty, vintage lavorazione t murano italy glass pink cased glass bud vase w label , vintage mdina 9 h cased gourd style vase signed label c1960s ex, blue satin gild cased glass covered jar west germany original labels, blue satin gild cased glass soap dish amp; water glass west germany original label, modernist cased glass cylinder vase peacock blue white empoli style 10 no label, modern art glass clear cased striped zebra by crystal clear paperweight w label, oy kumela cased azure blue art glass vase riihimaki finland with label, vtg murano glass fishnet cased glass small vase votive holder orig label, modern empoli moretti italy cased glass blue pitcher orig label, 75 pink cased mottled art glass vase phoenician glass malta signed label, mid century empoli italy blue cased candy apothecary jar origlabel, aseda sweden svensk form 9 14 in blue cased vase bo borgstrom design , modern empoli italy cased glass large smoke goblet brandy orig label, mid century moretti empoli italy cased glass white pitcher orig label 2, mid century moretti empoli italy cased glass white pitcher orig label, mid century moretti empoli italy cased glass amethyst pitcher orig label, mid century moretti empoli balboa italy cased glass amethyst pitcher orig label, 1960 moretti empoli balboa italy cased glass amethyst pitcher modern orig label, 1960s moretti empoli balboa italy cased glass ruffles bowl orig label, mid century empoli italy white cased candy apothecary jar origlabel, vintage retro modernist old colony poland cased art glass bowl label, vilca lead crystal frog heavy green clear cased with label, ryd 1970s scandinavian blue glass cased vase label, vintage bohemian germany cased art glass handpainted vase landscape scenes label, set of 2 vintage czech cased glass pink amp; white bud vases original label c1930, lot of 2 vintage snowflakes chinese cased glass vase red with label rectangle, arte murano italy bowl freeform vase 10in venetian art glass cased colors label, kamei studios cased art glass vase stunning with label numbered 85122, 12 inch empoli italian caramelbutterscotch case glass vaseoriginal label, huge 8 pound murano cased glass satinato vase italy label polished pontil base, vintage murano art glass sculpture bowl green cased gold original foil label, vintage aseda sweden ruby red cased art glass trumpet vase scandinavian label, blue fenton cased glass milk pitcher hand painted artist signed original label, ann primrose cased art glass vase murano style handblown multi color 18 w label, italian art glass white cased pedestal vase floral with original red label, rossini empoli murano vase cased glass teal brown original label 17 14 italy , vintage snowflakes chinese cased glass vase red 1950s with label, randsfjord glass norway cobalt cased glass controlled bubble vase label, vintage czechoslovakia bohemian glass vase white cut to cased amber with label, vintage poland bohemian glass tall compote white cut to cased amber with label



Comments are closed.