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:

Vintage Makora Krosno green cased art glass vase with original makers label
Vintage Makora Krosno green cased art glass vase with original makers label
$41.32
Murano glass Salviati bowl in Lattimo and Aventurine cased in clear glass label
Murano glass Salviati bowl in Lattimo and Aventurine cased in clear glass label
$149.99
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
$18.95
Vintage Elme Glasbruk Cased Glass Swan Figurine with Label
Vintage Elme Glasbruk Cased Glass Swan Figurine with Label
$49.95
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 Murano Art Glass Cased Copperdust Bowl Ashtray Original Label
Vintage Murano Art Glass Cased Copperdust Bowl Ashtray Original Label
$9.99
VTG MURANO GLASS FISHNET CASED GLASS SMALL VASE ORIG LABEL
VTG MURANO GLASS FISHNET CASED GLASS SMALL VASE ORIG LABEL
$30.00
Vintage FAMOSA Czech Cut  Cased GLASS DECANTER Bottle AUSTRIA Label
Vintage FAMOSA Czech Cut Cased GLASS DECANTER Bottle AUSTRIA Label
$39.99
LOT OF 2 VINTAGE SNOWFLAKES CHINESE CASED GLASS VASE RED WITH LABEL RECTANGLE
LOT OF 2 VINTAGE SNOWFLAKES CHINESE CASED GLASS VASE RED WITH LABEL RECTANGLE
$9.99
Beautiful Vintage IMPERIAL GLASS Blue Ribbed Cased Art Glass Vase with Labels
Beautiful Vintage IMPERIAL GLASS Blue Ribbed Cased Art Glass Vase with Labels
$24.99
MODERN EMPOLI ITALY CASED GLASS LARGE SMOKE GOBLET BRANDY ORIG LABEL
MODERN EMPOLI ITALY CASED GLASS LARGE SMOKE GOBLET BRANDY ORIG LABEL
$45.00
Large Rare Dark Purple White Cased Vase Miloslav Klinger ZBS Label c1960s
Large Rare Dark Purple White Cased Vase Miloslav Klinger ZBS Label c1960s
$75.76
Vintage Mid Century Krosno Green Case Sommerso Pear Shape Vase with Label
Vintage Mid Century Krosno Green Case Sommerso Pear Shape Vase with Label
$11.76
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
$39.99
CZECH Cased White Art Glass IMPERLUX 24kt gold ORIGINAL LABEL
CZECH Cased White Art Glass IMPERLUX 24kt gold ORIGINAL LABEL
$14.95
VINTAGE ASEDA SWEDEN RUBY RED CASED ART GLASS TRUMPET VASE SCANDINAVIAN LABEL
VINTAGE ASEDA SWEDEN RUBY RED CASED ART GLASS TRUMPET VASE SCANDINAVIAN LABEL
$67.64
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
VINTAGE BOHEMIAN Germany CASED art GLASS HANDPAINTED VASE landscape scenes label
$124.99
Mini Perfume Bottle Made in Austria Cased w Funnel n box w label
Mini Perfume Bottle Made in Austria Cased w Funnel n box w label
$11.99
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
UNUSUAL MURANO GLASS SOMMERSO OPALESCENT CASED BIRD SHAPED DISH w LABEL 1950s
UNUSUAL MURANO GLASS SOMMERSO OPALESCENT CASED BIRD SHAPED DISH w LABEL 1950s
$13.76
Murano Cased Art Glass Bowl Luscious Sherbet Colors w Label
Murano Cased Art Glass Bowl Luscious Sherbet Colors w Label
$59.95
Murano Lavorazione 8 Pastel Cased Glass Vase Mint with Label
Murano Lavorazione 8 Pastel Cased Glass Vase Mint with Label
$42.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
$450.00
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
$25.97
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
Kamei Studios Cased Art Glass Vase Stunning With Label numbered 85122
$200.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
MID CENTURY EMPOLI ITALY BLUE CASED CANDY APOTHECARY JAR ORIGLABEL
MID CENTURY EMPOLI ITALY BLUE CASED CANDY APOTHECARY JAR ORIGLABEL
$65.00
Vintage Tantalus Triple Decanter Set with Locking Case and Labels
Vintage Tantalus Triple Decanter Set with Locking Case and Labels
$499.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
$25.90
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
$31.68
RARE Matching MURANO BOWL or ASHTRAY MINI VASE Cased Glass FRATELLI TOSO LABELS
RARE Matching MURANO BOWL or ASHTRAY MINI VASE Cased Glass FRATELLI TOSO LABELS
$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
Oy Kumela Cased Azure Blue Art Glass Vase Riihimaki Finland with Label
Oy Kumela Cased Azure Blue Art Glass Vase Riihimaki Finland with Label
$134.10
75 Pink cased mottled ART GLASS VASE PHOENICIAN GLASS MALTA Signed + label
75 Pink cased mottled ART GLASS VASE PHOENICIAN GLASS MALTA Signed + label
$17.22
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
$28.17
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
12 inch Empoli Italian CARAMEL BUTTERSCOTCH case glass vaseoriginal label
$34.98
Randsfjord Glass Norway Cobalt Cased Glass Controlled Bubble Vase Label
Randsfjord Glass Norway Cobalt Cased Glass Controlled Bubble Vase 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


Recently Purchased Case Label:


vintage italy murano hand blown gold dust cased glass dish venetian aqua , unusual murano glass sommerso opalescent cased bird shaped dish w label 1950s, handcrafted texture art glass taupecased bowlapplied apostrophessala label7, 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, vintage mid century krosno green case sommerso pear shape vase with label, large rare dark purplewhite cased vase miloslav klinger zbs label c1960s, vintage famosa czech cut amp; cased glass decanter bottle austria label, fenton pink cased bubble optic vase 5 tall with old fenton sticker label, vintage murano art glass cased copperdust bowl ashtray original label, murano cased glass bowl green swirls amp; foil with label, mini perfume bottle made in austria cased w funnel n box wlabel, mcm krosno ruby red modernist style cased glass vase w label 9 tall, czech cased white art glass imperlux 24kt gold original label, murano italy cased art glass bowl candy green labeled ice t, kagami crystal vintage 1953 with label never used 6shot6champaynein cases, bohemian czech crystal bell white cut to green cased amp; painted original label, vintage kanawha hand crafted amber satin cased glass pear shaped pitcher wlabel, vintage astra stromberg cased blue glass vase b894 signed and retail label, modern art glass clear cased striped zebra by crystal clear paperweight w label, nice large egermann cranberry cased thick ribbed bowlvase woriginal label, vintage murano glass dish multi colored cased silver aventurine castle 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, white cased cut to cranberry berchtesgaden kristall 3 14 vase wlabels, rare matching murano bowl or ashtray mini vase cased glass fratelli toso labels, murano 5 lobed art glass bowl ribbed red silver flecks cased clear glass label, vintage tantalus triple decanter set with locking case and labels, studio art glass scent bottlepinkcasedgilted swirl leaf stopperitalyw label, murano lavorazione 8 pastel cased glass vase mint with label, murano cased art glass bowl luscious sherbet colors wlabel, kanawha hand painted cased satin glass vase double crimped rim with label, beautiful vintage imperial glass blue ribbed cased art glass vase with labels, murano cased art glass basket turquoise copper aventurine white original label, vintage elme glasbruk cased glass swan figurine with label, vintage makora krosno green cased art glass vase with original makers label, murano glass salviati bowl in lattimo and aventurine cased in clear glass label, 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, oy kumela cased azure blue art glass vase riihimaki finland with label, vtg murano glass fishnet cased glass small vase 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, 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.