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:

MODERN EMPOLI ITALY CASED GLASS LARGE SMOKE GOBLET BRANDY ORIG LABEL
MODERN EMPOLI ITALY CASED GLASS LARGE SMOKE GOBLET BRANDY ORIG LABEL
$45.00
ASEDA SWEDEN SVENSK FORM 9 1 4 IN BLUE CASED VASE BO BORGSTROM DESIGN
ASEDA SWEDEN SVENSK FORM 9 1 4 IN BLUE CASED VASE BO BORGSTROM DESIGN
$42.00
VINTAGE ASEDA SWEDEN RUBY RED CASED ART GLASS TRUMPET VASE SCANDINAVIAN LABEL
VINTAGE ASEDA SWEDEN RUBY RED CASED ART GLASS TRUMPET VASE SCANDINAVIAN LABEL
$56.49
Vintage Makora Krosno Black cased art glass vase with original makers label
Vintage Makora Krosno Black cased art glass vase with original makers label
$25.05
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
$124.99
Gorgeous White Cased Crystal Iittala Art Glass Finland Round Oval Vase w Label
Gorgeous White Cased Crystal Iittala Art Glass Finland Round Oval Vase w Label
$30.00
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
$301.50
MID CENTURY EMPOLI ITALY WHITE CASED CANDY APOTHECARY JAR ORIGLABEL
MID CENTURY EMPOLI ITALY WHITE CASED CANDY APOTHECARY JAR ORIGLABEL
$65.00
TOSCANY EMPOLI ITALIAN CASED GLASS VASE LABEL RED WHITE 11
TOSCANY EMPOLI ITALIAN CASED GLASS VASE LABEL RED WHITE 11
$30.36
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
$200.00
White Cased Holmegaard Carnaby Ball Vase Per Lutken Labeled Danish Retro Design
White Cased Holmegaard Carnaby Ball Vase Per Lutken Labeled Danish Retro Design
$329.71
Vintage Mid Century Krosno Green Case Sommerso Pear Shape Vase with Label
Vintage Mid Century Krosno Green Case Sommerso Pear Shape Vase with Label
$17.62
MID CENTURY EMPOLI ITALY BLUE CASED CANDY APOTHECARY JAR ORIGLABEL
MID CENTURY EMPOLI ITALY BLUE CASED CANDY APOTHECARY JAR ORIGLABEL
$65.00
VINTAGE ITALY MURANO HAND BLOWN GOLD DUST CASED GLASS DISH VENETIAN AQUA
VINTAGE ITALY MURANO HAND BLOWN GOLD DUST CASED GLASS DISH VENETIAN AQUA
$27.70
BOHEMIAN WHITE CUT TO CASED AMBER GLASS COMPOTE FLORAL PATTERN WITH LABEL
BOHEMIAN WHITE CUT TO CASED AMBER GLASS COMPOTE FLORAL PATTERN WITH LABEL
$75.00
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
INCREDIBLE Signed SALVIATI Cased ART Glass VASE with 2 LABELS 1998 AWE INSPIRING
INCREDIBLE Signed SALVIATI Cased ART Glass VASE with 2 LABELS 1998 AWE INSPIRING
$399.00
1960s MORETTI EMPOLI BALBOA ITALY CASED GLASS RUFFLES BOWL ORIG LABEL
1960s MORETTI EMPOLI BALBOA ITALY CASED GLASS RUFFLES BOWL ORIG LABEL
$45.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
Peacock Blue Cased Glass Cylinder Vase 10 Modernist Empoli Style No Label
Peacock Blue Cased Glass Cylinder Vase 10 Modernist Empoli Style No Label
$31.70
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.49
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
$43.98
Gler Bervik Cased Art Glass Penguin Figurine Handmade In Iceland With Label
Gler Bervik Cased Art Glass Penguin Figurine Handmade In Iceland With Label
$9.95
Bohemian Czech Crystal Bell White Cut to Green Cased  Painted Original Label
Bohemian Czech Crystal Bell White Cut to Green Cased Painted Original Label
$28.80
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
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
Vintage Murano Glass Dish Multi Colored Cased Silver Aventurine Castle Label
Vintage Murano Glass Dish Multi Colored Cased Silver Aventurine Castle Label
$70.00
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
$71.40
Vtg Murano Glass Bowl Basket Cased Lattimo in Clear glass w purple Bubbles Label
Vtg Murano Glass Bowl Basket Cased Lattimo in Clear glass w purple Bubbles Label
$126.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
VINTAGE MURANO GLASS BOWL CASED AVEM SILVER BLACK MID CENTURY MODERN ITALY Label
VINTAGE MURANO GLASS BOWL CASED AVEM SILVER BLACK MID CENTURY MODERN ITALY Label
$365.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
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
$225.00
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
Vintage Czechoslovakia Bohemian Glass VASE White Cut to Cased Amber with LABEL
Vintage Czechoslovakia Bohemian Glass VASE White Cut to Cased Amber with LABEL
$145.00
VINTAGE SNOWFLAKES CHINESE CASED GLASS VASE RED 1950s WITH LABEL
VINTAGE SNOWFLAKES CHINESE CASED GLASS VASE RED 1950s WITH LABEL
$35.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
$6.95
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
$123.99
AJKA Cranberry Cased Cut to Clear Crystal Liqueur Cordial Glass New with Label
AJKA Cranberry Cased Cut to Clear Crystal Liqueur Cordial Glass New with Label
$50.00


Recently Purchased Case Label:


bohemian white cut to cased amber glass compote floral pattern with label, vintage italy murano hand blown gold dust cased glass dish venetian aqua , vtg murano glass fishnet cased glass small vase orig label, vintage mid century krosno green case sommerso pear shape vase with label, murano lavorazione 8 pastel cased glass vase mint with label, vintage bohemian czech white overlay cut to green cased glass floral b, murano cased art glass bowl luscious sherbet colors wlabel, vintage makora krosno green cased art glass vase with original makers label, murano italy cased art glass bowl candy green labeled ice t, murano cased art glass basket turquoise copper aventurine white original label, murano glass salviati bowl in lattimo and aventurine cased in clear glass label, kanawha hand painted cased satin glass vase double crimped rim with label, nice large egermann cranberry cased thick ribbed bowlvase woriginal label, vintage elme glasbruk cased glass swan figurine with label, handcrafted texture art glass taupecased bowlapplied apostrophessala label7, mcm 60s bt opaline florence empolihot orange amp; blk cased 10 vasewlabelmint, studio art glass scent bottlepinkcasedgilted swirl leaf stopperitalyw label, krosno blue modernist style cased glass vase with label, murano double cased glass cranberry red 7 art heavy glass bowl no label, murano cased glass bowl green swirls amp; foil with label, mtarfa malta 725 t bluecased swirl pattern art glass vase signed label exc, murano 5 lobed art glass bowl ribbed red silver flecks cased clear glass label, ajka cranberry cased cut to clear crystal liqueur cordial glass new with label, fenton pink cased bubble optic vase 5 tall with old fenton sticker label, vintage kanawha hand crafted amber satin cased glass pear shaped pitcher wlabel, waterford cobalt blue cased crystal clarendon wine goblets 1st ed new w labels, kagami crystal vintage 1953 with label never used 6shot6champaynein cases, vintage murano glass bowl cased avem silver black mid century modern italy label, vtg murano glass bowlbasket cased lattimo in clear glass w purple bubbles label, genuine murano glass cased bowl free style clear to yellow with murano label, vintage murano glass dish multi colored cased silver aventurine castle 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, incredible signed salviati cased art glass vase with 2 labels 1998 awe inspiring, white cased cut to cranberry berchtesgaden kristall 3 14 vase wlabels, gorgeous white cased crystal iittala art glass finland round oval vase w label, vintage makora krosno black cased art glass vase with original makers label, modern empoli moretti italy cased glass blue pitcher orig label, vintage lavorazione t murano italy glass pink cased glass bud vase w 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, exquisite val st lambert small ftd vase cased amethyst cut to clear label, vintage retro modernist old colony poland cased art glass bowl label, white cased holmegaard carnaby ball vase per lutken labeled danish retro design, vilca lead crystal frog heavy green clear cased with label, peacock blue cased glass cylinder vase 10 modernist empoli style no label, 1976 1978 fenton art glass rosalene frosted pink cased glass vase orig 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, toscany empoli italian cased glass vase label red white 11, 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.