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:

Pink Czech Art Glass Bowl Large Heavy Fruit Centerpiece Label Bohemian Cased
Pink Czech Art Glass Bowl Large Heavy Fruit Centerpiece Label Bohemian Cased
$49.99
VINTAGE ASEDA SWEDEN RUBY RED CASED ART GLASS TRUMPET VASE SCANDINAVIAN LABEL
VINTAGE ASEDA SWEDEN RUBY RED CASED ART GLASS TRUMPET VASE SCANDINAVIAN LABEL
$55.03
REDUCED Whitefriars Ruby Red Cased Knobbly Vase with Label
REDUCED Whitefriars Ruby Red Cased Knobbly Vase with Label
$39.00
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
$124.99
Vintage Murano triple Cased Brown + Clear faceted Glass Vase + label
Vintage Murano triple Cased Brown + Clear faceted Glass Vase + label
$32.48
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
$450.00
Murano 5 Lobed Art Glass Bowl Ribbed Red Silver Flecks Cased Clear Glass LABEL
Murano 5 Lobed Art Glass Bowl Ribbed Red Silver Flecks Cased Clear Glass LABEL
$34.97
MURANO GLASS VIRGIN MOTHER BEAUTIFUL BLUE CASED GLASS PAPER LABEL 10 CLEAR
MURANO GLASS VIRGIN MOTHER BEAUTIFUL BLUE CASED GLASS PAPER LABEL 10 CLEAR
$60.00
MURANO GLASS VIRGIN MOTHER BEAUTIFUL BLUE CASED GLASS PAPER LABEL 10 CLEAR
MURANO GLASS VIRGIN MOTHER BEAUTIFUL BLUE CASED GLASS PAPER LABEL 10 CLEAR
$49.00
Case Elite Arte Murano M Valente Crystal Paperweight Fish Label On Gift Idea
Case Elite Arte Murano M Valente Crystal Paperweight Fish Label On Gift Idea
$5.99
Gler Bervik Cased Art Glass Penguin Figurine Handmade In Iceland With Label
Gler Bervik Cased Art Glass Penguin Figurine Handmade In Iceland With Label
$14.95
1960s Murano Cased Decanter Bottle Mid Century 19 inch Original Chianti Labels
1960s Murano Cased Decanter Bottle Mid Century 19 inch Original Chianti Labels
$59.95
Azerbaijan Baijab Russia Blown Cased Glass Vase Signed With Label
Azerbaijan Baijab Russia Blown Cased Glass Vase Signed With Label
$48.00
TOSCANY EMPOLI ITALIAN CASED GLASS VASE LABEL RED WHITE 11
TOSCANY EMPOLI ITALIAN CASED GLASS VASE LABEL RED WHITE 11
$27.97
Val St Lambert cranberry pink cased swirly Art Glass Bowl orig label and Signed
Val St Lambert cranberry pink cased swirly Art Glass Bowl orig label and Signed
$53.70
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
$200.00
Bohemian Czech Crystal Bell White Cut to Green Cased  Painted Original Label
Bohemian Czech Crystal Bell White Cut to Green Cased Painted Original Label
$32.00
Vintage Bohemian Czech White Overlay Cut to Green Cased Glass Floral Bell Label
Vintage Bohemian Czech White Overlay Cut to Green Cased Glass Floral Bell Label
$19.99
Genuine Murano Glass Cased Bowl Free Style Clear to Yellow with Murano Label
Genuine Murano Glass Cased Bowl Free Style Clear to Yellow with Murano Label
$67.29
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
Waterford Cobalt Blue Cased Crystal Clarendon Wine Goblets 1st Ed New w Labels
Waterford Cobalt Blue Cased Crystal Clarendon Wine Goblets 1st Ed New w Labels
$215.00
KAGAMI CRYSTAL VINTAGE 1953 WITH LABEL NEVER USED 6 SHOT6 CHAMPAYNEIN CASES
KAGAMI CRYSTAL VINTAGE 1953 WITH LABEL NEVER USED 6 SHOT6 CHAMPAYNEIN CASES
$700.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
$69.99
Peacock Blue Cased Glass Cylinder Vase 10 Modernist Empoli Style No Label
Peacock Blue Cased Glass Cylinder Vase 10 Modernist Empoli Style No Label
$29.87
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
$43.98
Set of 7 Italian cased glass moretti goblets grey with label
Set of 7 Italian cased glass moretti goblets grey with label
$150.00
Barbini Italian orange cased glass basket gold leaf bullcante label
Barbini Italian orange cased glass basket gold leaf bullcante label
$150.00
Vintage Kanawha Hand Crafted Amber Satin Cased Glass Pear Shaped Pitcher W Label
Vintage Kanawha Hand Crafted Amber Satin Cased Glass Pear Shaped Pitcher W Label
$7.95
Randsfjord Glass Norway Cobalt Cased Glass Controlled Bubble Vase Label
Randsfjord Glass Norway Cobalt Cased Glass Controlled Bubble Vase Label
$75.00
Waterford Amethyst Heart Shape Hand Cooler Crystal Org Label  Case Ireland
Waterford Amethyst Heart Shape Hand Cooler Crystal Org Label Case Ireland
$69.99
MURANO ITALY CASED ART GLASS BOWL CANDY GREEN LABELED ICE T
MURANO ITALY CASED ART GLASS BOWL CANDY GREEN LABELED ICE T
$24.00
MID CENTURY VENETIAN ART GLASS BOWL ASHTRAY CASED MIDDLE W LABEL BEAUTIFUL AMBER
MID CENTURY VENETIAN ART GLASS BOWL ASHTRAY CASED MIDDLE W LABEL BEAUTIFUL AMBER
$18.99
50s Sea Glasbruk Kosta Sweden studio glass handmade Green cased bowl w Label
50s Sea Glasbruk Kosta Sweden studio glass handmade Green cased bowl w Label
$45.00
MURANO DOUBLE CASED GLASS CRANBERRY RED 7 ART HEAVY GLASS BOWL NO LABEL
MURANO DOUBLE CASED GLASS CRANBERRY RED 7 ART HEAVY GLASS BOWL NO LABEL
$64.99
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
Italian Murano Art Glass Lighter EVANS Mid Century Label Blue Cased White VTG
Italian Murano Art Glass Lighter EVANS Mid Century Label Blue Cased White VTG
$42.75
VINTAGE MDINA DOUBLE CASED ALADDIN LAMP SEA AND SAND PAPER LABEL INTACT
VINTAGE MDINA DOUBLE CASED ALADDIN LAMP SEA AND SAND PAPER LABEL INTACT
$13.73
Vintage POLAND Bohemian Glass Tall COMPOTE White Cased Cut to Amber LABEL LK
Vintage POLAND Bohemian Glass Tall COMPOTE White Cased Cut to Amber LABEL LK
$210.00
Vintage Czechoslovakia Bohemian Glass VASE White Cased Cut to Amber LABEL LK
Vintage Czechoslovakia Bohemian Glass VASE White Cased Cut to Amber LABEL LK
$185.00


Recently Purchased Case Label:


murano italy cased art glass bowl candy green labeled ice t, vintage murano glass bowl cased avem silver black mid century modern italy label, azerbaijan baijab russia blown cased glass vase signed with label, val st lambert cranberry pink cased swirly art glass bowl orig label and signed, vintage makora krosno green cased art glass vase with original makers label, murano vintage seguso amber brown cased glass bird duck italy label, lot 5 jg durand cristal france double cased cobalt blue glass ashtray w label, vintage bohemian czech white overlay cut to green cased glass floral bell label, beranek skrdlovice heavy cased glass vase ales valner signed label czech art, ajka cranberry cased cut to clear crystal liqueur cordial glass new with label, case elite arte murano m valente crystal paperweight fish label on gift idea, parlane cased art glass long tailed bird with label75 long, vintage murano triple cased brown clear faceted glass vase label , murano glass salviati bowl in lattimo and aventurine cased in clear glass label, tall murano sommerso blue amp; yellow glass vase cased in clear with original label, murano cased art glass basket turquoise copper aventurine white original label, vilca lead crystal frog heavy green clear cased with label, fenton handpainted blue cased art glass ewer signed george fenton original label, murano double cased glass cranberry red 7 art heavy glass bowl no label, waterford amethyst heart shape hand cooler crystal org label amp; case ireland, vintage kanawha hand crafted amber satin cased glass pear shaped pitcher wlabel, barbini italian orange cased glass basket gold leaf bullcante label, set of 7 italian cased glass moretti goblets grey with label, peacock blue cased glass cylinder vase 10 modernist empoli style no label, kagami crystal vintage 1953 with label never used 6shot6champaynein cases, waterford cobalt blue cased crystal clarendon wine goblets 1st ed new w labels, white cased cut to cranberry berchtesgaden kristall 3 14 vase wlabels, genuine murano glass cased bowl free style clear to yellow with murano label, bohemian czech crystal bell white cut to green cased amp; painted original label, gler bervik cased art glass penguin figurine handmade in iceland with label, murano glass virgin mother beautiful blue cased glass paper label 10 clear , murano 5 lobed art glass bowl ribbed red silver flecks cased clear glass label, 1976 1978 fenton art glass rosalene frosted pink cased glass vase orig label, vintage mdina double cased aladdin lamp sea and sand paper label intact, mid century venetian art glass bowlashtray cased middle wlabel beautiful amber, 1960s murano cased decanter bottle mid century 19 inch original chianti labels, ryd 1970s scandinavian blue glass cased vase label, italian murano art glass lighter evans mid century label blue cased white vtg, pink czech art glass bowl large heavy fruit centerpiece label bohemian cased, vintage bohemian germany cased art glass handpainted vase landscape scenes label, large made in italy orange coral cased glass vase w textured designs labeled, set of 2 vintage czech cased glass pink amp; white bud vases original label c1930, toscany empoli italian cased glass vase label red white 11, lot of 2 vintage snowflakes chinese cased glass vase red with label rectangle, vintage italian murano quadruple layer cased sommerso geode bowl with label, oy kumela cased azure blue art glass vase riihimaki finland with label, 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, 50s sea glasbruk kosta sweden studio glass handmade green cased bowl wlabel, vintage aseda sweden ruby red cased art glass trumpet vase scandinavian label, reduced whitefriars ruby red cased knobbly vase with 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, vtg rossini empoli murano cased glass vase teal brown wlabel 17 14, 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 cased cut to amber label lk, vintage poland bohemian glass tall compote white cased cut to amber label lk



Comments are closed.