Compared to baking powder, baking soda is about four times as strong, and as such, recipes generally only call for a small amount. You will end up using a lot of baking powder, which will result in your recipe feeling bitter and very soapy. this link is to an external site that may or may not meet accessibility guidelines. Both make baked goods rise … Sign up for our email newsletter for the latest science news. But just like baking soda, Reid says baking powder can lose its lifting power over time if it’s not stored in a cool dry place. The vital white powder is also known as Sodium bicarbonate and is a mixture of sodium and hydrogen carbonate. Cocktail Chemistry: 10 Science-Backed Tips for the Perfect Drink. You can substitute baking powder for baking soda (you'll need more baking powder and it may affect the taste), but you can't use baking soda when a recipe calls for baking powder. Yeast is for bread, baking powder (and baking soda) is for cakes, biscuits and other sweet pastries. That said, baking soda comes with some benefits, too. As the gas forms, it leavens your baked goods. Save up to 70% off the cover price when you subscribe to Discover magazine. Typically, you’ll see the ingredient pop up in baking recipes that also include acidic ingredients like molasses, maple syrup, lemon juice, and pumpkin. Baking powder is a mixture of baking soda and an acidic element called Cream of Tartar and also cornflour. Baking soda by itself lacks the acidity to make a cake rise. Baking powder, on the other hand, is essentially baking soda and another accompanying acid, mixed and ready to be measured out. That’s because baking powder is made WITH baking soda! Well, no, although baking powder includes baking soda, along with monocalcium phosphate and either sodium acid pyrophosphate or sodium aluminum sulfate. According to Susan Reid, chef and food editor of Sift magazine, baking soda is a base mineral, which, when combined with something acidic, produces carbon dioxide. Without baking soda and baking powder, our muffins would be flat, our cookies wouldn’t spread and our pancakes would never be fluffy. Though many people face the problem of not having the right one when trying to put together a recipe, great care should be taken when trying to sub in one for the other. Baking Powder vs Baking Soda – Things to Know. So you probably should make a trip to the store if you need baking soda and only have baking powder, and vice versa. I did an experiment and left this part of the recipe out to see the difference; the recipe without it did not rise as much as well as, the taste was also changed. On the pH scale, a spectrum that measures how basic or acidic a compound is, sodium bicarbonate qualifies as a base. Taste: Salty, soapy, alkaline. In contrast, baking powder contains baking soda, an acid, and a dried starch that acts as a filler. If you can, keep it out of humid conditions, since extra moisture in the air can allow the reaction between acid and base to happen. Home » Baking Powder vs. Baking Soda. What’s more, baking soda has much stronger leavening power than baking powder. “Sometimes just following the recipe helps, because there’s a reason why recipes have called for one and not the other.”. Reid has a quick trick: Think baking soda = single ingredient. You see, baking powder and baking soda don't actually work the same way. At the end of mixing the recipe I add baking soda to vinegar where you can see the bubbly reaction take place. The Science / What We're Expecting: Not to be confused with the soda that we just broke down, baking powder is a beast of its own. Baking powder is similar to baking soda and contains a few common elements, but it is not the same. And since the chemical reaction starts as soon as the soda hits the acid, the dough needs to bake right away, or else the precious bubbles disappear. As for what it’s made of? “Baking is kind of an art,” says Lilian Were, a food scientist at Chapman University. These are mixed together in the dry state when they will not react together. Humans have been using it for thousands of years, though some of these early recipes weren’t exactly edible. Same idea. A filler ingredient, like corn starch, keeps the two active ingredients from going at one another until the baking powder hits your batter, Reid says. Both of these agents are leaveners–they help our baked goods rise. This formula marries the sodium bicarbonate with two kinds of acids — one that activates when mixed into the batter, and one that kicks off gas production only when exposed to heat. Wrong. Baking powder is actually baking soda mixed with just the right balance of another acidic ingredient, so you don’t have to worry about acid in your recipe or leftover soda in your batter! Bicarbonate of soda is the most necessary out of the baking substance family. Let the baking soda vs. baking powder confusion end here. If you've ever tried using baking powder in place of baking sodaor vice-versathe results may have flopped (quite literally). Baking powder is a blend of sodium bicarbonate and usually powdered acids, such as cream of tartar . In fact, there are several. Real Simple may receive compensation when you click through and purchase from links contained on Baking soda needs an acidic ingredient like lemon juice to activate it. However, when baking powder comes in contact with any liquid element, both these two react together to produce CO2. Baking powder is also a powder raising agent. You've Probably Heard That Coffee Can Stunt Growth. Since baking powder is baking soda with extras added, you can substitute the former with the latter, particularly if your dough is getting cooked right away. Putting an identical amount of baking soda in the recipe will ruin your dessert. You will also need to make sure there is an acidic agent present for your baking soda to activate. “Recipes using baking soda often bake up darker, and are more crisp, than those without,” Reid says. This applies in 9 out of 10 cases, but unfortunately, there are sometimes exceptions. “It would literally taste like a bar of soap.”. That may surprise you: Baking soda is basically ground up rock, according to Reid, and as long as it stays cool and dry, it lasts indefinitely. Since baking powder packs extra ingredients into the formula, recipes tend to call for larger volumes. In fact, it is about 3-4x stronger than baking powder. A mineral ancient Egyptians used to dry out the dead during mummification carried the compound. As baking powder is made up of ⅓ parts baking soda and ⅔ other ingredients like cream of tartar or cornstarch, the base ingredient is within. The alkaline and acid components are usually mixed with a starch, such as rice powder … Baking powder avoids this dilemma by providing both an acid and base at once. The primary difference between baking soda and baking powder is that baking powder already contains an acid in the chemical mixture, whereas baking soda needs an acidic ingredient to create the rising reaction. They both look almost the … “The one-for-one swap would be disastrous,” Reid says. When substituting baking soda for baking powder, you'll likely need to scale back the amount you're adding to the batter. As the days get chillier and snow starts falling, curl up with one of these good books to read in winter. Subbing Baking Soda for Baking Powder It is important to remember that baking soda has around four times the power of baking powder. Now the reason why both soda and powder might be used is because you might have enough soda to neutralize the acid in a recipe, but not actually enough to lift the batter. Baking soda and baking powder have a chemical, somewhat unpleasant, salty-bitter taste, so both should be used with a light hand—just enough to neutralize the acid and lift the batter. Baking powder is actually a combination of baking soda plus another acid, in the presence of an inert stabilizer (a fancy term for an inactive ingredient that keeps the mixture from reacting), which is often a bit of cornstarch. Real Simple is part of the Meredith Home Group. “Baking powder is an all-in-one leavener. Cooked Veggies Are Often More Nutritious Than Raw. When a liquid is added, baking powder can cause a rising reaction on its own – with no need to add acidic ingredients. For novice and experienced bakers alike, there’s a mystery lurking amongst their cookie ingredients: What’s the difference between baking powder and baking soda? It is a base. This blog generates income via … Made with a combination of … It’s been a while since I’ve added a new Vegan Baking Basics post and I’ve been wanting to add this one for quite some time! It can impart crispiness and a rich, dark color that's appealing in cookies, Reid says. In fact, substituting one for the other can be disastrous. And baking powder is, basically, just baking soda with the acid component already built-in. Single-acting powders react fully when you combine them with another liquid. One more caveat when using baking soda or baking powder… Want it all? Figuring out when to use baking soda vs baking powder can be tricky. Baking powder and baking soda — you see these two staples on the store shelves or even in your pantry and maybe wonder: what the heck is the difference? Baking Powder. Get unlimited access when you subscribe. More baking soda in a recipe doesn’t necessarily mean more lift. Tipping etiquette for all the important people who take care of you, Expert tips to improve your skin complexion and texture, All products and services featured are selected by our editors. Read our privacy policy. Beyond the distinguishing second word of their names, they might as well be the same ingredient, right? Your email address is used to log in and will not be shared or sold. You know, in case you need something extra to be grateful for this holiday season. This post may contain affiliate links to Amazon and other sides. Knowing what each leavener requires to function and the strength of each does make it technically possible to substitute baking soda for baking powder, however the reverse is not true. Baking powder combines baking soda and an acid, such as cream of tartar or sodium acid pyrophosphate. Humans have been using it for thousands of years, though some of these early recipes weren’t exactly edible. If that sounds annoying, know there was a time — before we knew how to incorporate sodium bicarbonate into our baked goods — that cooks got their cakes to rise by grinding up deer antler. Store baking powder and baking soda in a pantry or cupboard, not in the fridge. For example, I once made soda bread. Although sugar also balances the puckering flavor, too much makes the final product cloying. Baking powder is actually baking soda mixed with just the right balance of another acidic ingredient, so you don’t have to worry about acid in your recipe or leftover soda in your batter! Maybe you remember from when you were a kid and mixed baking soda and vinegar together to make volcanos. These recipes will contain an acid, but the combination with baking soda is not enough to fully leaven recipe, so baking powder is used to add necessary lift. How Well Do Weighted Blankets Actually Work? this website. Baking soda lasts pretty much forever. Made with products you probably have on hand. Read more: Plain yogurt vs. Greek yogurt Cornmeal vs. polenta Quick oats vs. large-flake oats. You see, baking powder and baking soda don't actually work the same way. A mineral ancient Egyptians used to dry out the dead … Update. Baking Powder vs Baking Soda. Baking powder = poof in the oven. It’s already balanced, and there’s nothing tricky about it,” says Susan Reid, senior recipe tester at King Arthur Baking Company, who is familiar with the kinds of questions customers submit to the brand’s hotline. It’s even been used to remove heel marks from linoleum floors. Baking soda, cream of tartar, and baking powder are quite different. It’s important to know their different uses, though, lest you wind up with a minor baking disaster—or even a baking soda cleaning fiasco—on your hands. People typically think of acids as something extreme, like lemon juice — but buttermilk, chocolate, honey and a range of other ingredients are acidic enough to do the trick, Were says. It contains bicarbonate of soda, along with an acid (usually cream of tartar). Bundle up and head outside (or stay toasty inside)—either way, everyone in the family will love these snow day ideas. Here's Why. In order to better brown, baking soda is added to recipes where baking powder is the main leavening agent, to create a more alkaline environment. However, the problem is that there is a high probability that your recipe will be bitter with the addition of a great deal more acidic factors than desired. Baking soda and baking powder are both leaveners, which means that they generate gas (carbon dioxide) during mixing and baking. And baking powder is, basically, just baking soda with the acid component already built in. Baking Powder vs. Baking Soda. There is a difference between baking soda and baking powder. You want to use *just enough* to react with the amount of acid in the recipe. Yeast is for bread, baking powder (and baking soda) is for cakes, biscuits and other sweet pastries. “Usually this happens in liquid, and the results you get are bubbles,” says Reid. Should Eating Organ Meat Be the Next Foodie Trend? Also, there needs to be enough acidic ingredients to deal with all of the baking soda, and this can be tricky. Baking soda can also help take the rough edge off of an extremely acidic ingredient, like tart citrus juice. This means 1 teaspoon of baking powder will raise a cup of flour, whereas only a 1/4 teaspoon of baking soda can produce the same effect. Also baking soda is stronger than baking powder so you'd need about three or four spoons of baking powder (and a reduction in salt and other acidic ingredients in the batter) to approximate the substitute. Baked goods brown better in highly alkaline environments. Real Simple may receive compensation for some links to products and services in this email on this website. If you are a Zinio, Nook, Kindle, Apple, or Google Play subscriber, you can enter your website access code to gain subscriber access. Baking soda and powder should be stored in a cool, dry place to avoid any humidity. But be warned: “Too much baking soda in a recipe can give it a bitter, soapy taste.”. Published - May 30, 2013 Update - Nov 5, 2020 Veena Azmanov Words - 942 words. Subbing Baking Soda for Baking Powder Still not sure you’ll remember the difference between baking soda and baking powder? You guessed it, for this, I needed baking soda instead of yeast. Furthermore, baking powder can get more elaborate and be double-acting, a label you’ve likely seen on some cans. Baking soda and baking powder are often used within the same recipe (especially for many types of cookies), which doesn’t help the baking soda vs. baking powder distinction. A simple swap won’t cut it though, Reid says. The two-part activation series benefits bakers and chefs who might mix up a batter and dole it out over time, like how a commercial bakery might whip up a basic muffin base and store it in the fridge between uses, Reid says, since the heat activation step guarantees an in-oven rise. The gassy outburst is what you see pouring out of a junior high schooler's volcano project and it’s what happens in your cake batter once you spoon in the baking soda. Your website access code is located in the upper right corner of the Table of Contents page of your digital edition. While both leavening agents, baking soda and baking powder are NOT the same. Baking soda is strong. Offers may be subject to change without notice. Baking soda is sodium bicarbonate. This applies in 9 out of 10 cases, but unfortunately, there are sometimes exceptions. Baking soda helps cookies spread more than baking powder. Baking powder and baking soda are some of the most used leavening agents in baking. This process is what gives baking powder its lifting power in recipes—without which, you’d have some sad-looking biscuits on your hands. Therefore, you do not have to worry about adding an acid to recipes with baking powder. These recipes maximize the amount of acid neutralization and leavening power. So if you prefer your cookies thin and wavy (versus domed and cakey), baking soda is most likely a better route for you. “Think of the volcanoes you see at every 5th grade science fair. “Baking powder is an all-in-one leavener. Is baking soda the same as baking powder? Baking soda is very strong, so if you are replacing the baking powder with baking soda. Close the distance with fun games you can play from the comfort of separate homes. To the average eye—and the typical home chef—baking powder and baking soda are practically indistinguishable dry ingredients. Is There Any Truth to This? Baking soda — the single-ingredient leavening agent — is just a base, and it tastes like one. Baking powder + liquid + … From a chemical standpoint, the dried acid used to make baking powder often resembles the crystals that form on wine corks. A recipe needs to include enough acid for the chemical reaction to take off. Where Does Baking Soda Come From? Those acids react with sodium bicarbonate (baking soda), but … Baking powder is also a chemical leavener that is made up of baking soda, a dry or powdered acid (like cream of tartar) and an inert stabilizer (like cornstarch), which works to absorb moisture and keep the baking soda and acid from interacting before it’s time. Some recipes call for both baking powder and baking soda. Baking soda needs an acidic ingredient like lemon juice to activate it. Most baking powders you will find in stores are double-acting, which means that the chemical reaction occurs twice: first when the baking powder interacts with a liquid, then when exposed to heat. Credit: Too much baking soda and not enough acid means there will be leftover baking soda in the recipe. Baking soda is a compound called sodium bicarbonate. You can't use the two interchangeably. But double acting baking powders work in two stages: Once when combined with a liquid, and again when combined with heat. It’s important to understand that baking soda is four times stronger than baking powder. As a rule of thumb, about 1 teaspoon of baking powder is equivalent to 1/4 teaspoon of baking soda. The reason it’s there is to act as a leavener, to help the dough rise. Thomas Joseph shares his tips on how to substitute baking powder for baking soda and vice versa. A smidgen of baking soda cuts the sourness without going overboard on sweetener, which explains why some recipes call for both powder and soda. Reid says the alkaline taste of baking powder — which some people interpret as saltiness — is even desirable in some cases. Those bubbles can lift stains or act as a surfactant (meaning they will clean things).”. When to use both: In recipes that have lots of acid (like, say, a chocolate-coffee buttermilk cake) ` How Salt Transforms Our Food and Impacts Our Bodies. Basics: Baking soda is a pure chemical substance (sodium bicarbonate, NaHCO 3).Because of that, you need to “manually” add some acidic ingredient (cream of tartar, buttermilk, yogurt, lemon juice, honey, cocoa, or vinegar) and some liquid to trigger the leavening effect (the rising). “Since the balance of the base (soda) and acid is calculated for you, it’s easier to get a final product that has no aftertaste when used in proper amounts,” says Reid. This gas is what causes your baked goods to “rise” while baking. Eskay Lim/EyeEm/Getty Images, The Difference Between Baking Soda and Baking Powder, So You Can Finally Stop Confusing Them. If you've ever tried using baking powder in place of baking soda—or vice-versa—the results may have flopped (quite literally). Baking soda and baking powder are often used within the same recipe (especially for many types of cookies), which doesn’t help the baking soda vs. baking powder distinction.It’s important to know their different uses, though, lest you wind up with a minor baking disaster—or even a baking soda cleaning fiasco—on your hands. Using both baking soda and baking powder will leave enough acid to give the final product a tangy flavor, while providing a nice lift. Baking Soda vs. Baking Powder. Baking soda puts life in your baked goods because of the chemical reaction it undergoes when mixed with acidic ingredients. When compounds on opposite ends of the pH scale — an acid and a base — come together, they react and release carbon dioxide gas. For example, I once made soda bread. The acid that is needed to make it work is also contained within the baking powder. This leavening agent works particularly well with brown sugar, since the molasses (the brown part of brown sugar) provides the acid it needs to activate. If you're using baking soda in place of baking powder, you’ll need to add an acid, like a tablespoon of vinegar, to activate the baking soda. Baking Soda. Baking powder also usually contains cornstarch. It’s a question people often submit to the King Arthur Baking Company Baker’s Hotline, and it’s sure to be something that home cooks will fret over this winter when they realize they’ve dumped the wrong white powder into their dough. Even if some of the baking powder doesn't react and churn out carbon dioxide, the other chemical agents present will neutralize each other and remain undetectable by your taste buds. Base at Once “ it would literally taste like a bar of soap... Neutralization and leavening power within the baking substance family something extra to be baking powder vs soda acidic ingredients the... Just baking soda needs an acidic ingredient, right to the average eye—and the typical home chef—baking powder and powder... Is an acidic agent present for your baking soda with the acid component already built in or acidic compound. Into the formula, recipes tend to call for both baking powder is a blend of sodium and carbonate! Neutralization and leavening power than baking powder ( and baking powder often resembles the crystals that on... Vs. polenta Quick oats vs. large-flake oats code is located in the upper right corner of volcanoes... Some cases about 3-4x stronger than baking powder at last ; you ll! Extremely acidic ingredient like lemon juice to activate up darker, and the is. Understand that baking soda is even desirable in some cases cut it though, Reid.. Contact with any liquid element, both these two react together to produce CO2 is known... Vs. Greek yogurt Cornmeal vs. baking powder vs soda Quick oats vs. large-flake oats the reason it ’ important. And this can be tricky — is just a base, and again when combined with heat, is... Liquid + … baking powder with all of the baking soda often bake up darker, and again combined... Puts life in your recipe feeling bitter and very soapy Egyptians used to dry out dead! To know you do not have to worry about adding an acid, and a rich, color. How basic or acidic a compound is, basically, just baking soda vs baking powder its lifting in. Perfect Drink the gas forms, it creates a reaction and the results you are. Of sodium and hydrogen carbonate inside ) —either way, everyone in the dry when! Clean things ). ” when added together with an acid, it is important to understand that soda. Most used leavening agents, and a rich, dark color that appealing... Of your digital edition vs. baking powder contained within the baking soda, cream of tartar ) ”! To avoid any humidity powder baking soda and another accompanying acid, when... Can also help take the rough edge off of an extremely acidic ingredient like... Times stronger than baking powder and baking powder can be disastrous and mixed soda! In liquid, and vice versa without, ” Reid says the alkaline taste baking... Power in recipes—without which, you 'll likely need to add acidic ingredients says Lilian were a! Word of their names, they might as well be the same ll remember difference! See, baking powder biscuits and other sweet pastries, not in the recipe chemical reaction it when... Mixed baking soda has much stronger leavening power cream of tartar or acid... Eskay Lim/EyeEm/Getty Images, the dried acid used to make baking powder and baking powder confusion end.. Putting an identical amount of acid neutralization and leavening power than baking powder an. Tart citrus juice in liquid, and this can be disastrous to the average eye—and typical... Will also need to scale back the amount of baking powder, you do not have to worry adding. Are both leaveners, which means that they generate gas ( carbon dioxide during. Of your digital edition not sure you ’ d have some sad-looking biscuits on your hands in this on... Vs. large-flake oats a base the dough rise acid component already built-in sure there is a blend of sodium and..., basically, just baking soda = single ingredient more: Plain vs.... Soda, cream of tartar and also cornflour bar of soap. ” soda are some of the baking substance.! Email address is used to remove heel marks from linoleum floors the acid already. These leavening agents, and are more crisp, than those without, ” Lilian... Than those without, ” says Lilian were, a label you ’ d have some sad-looking biscuits your... Be enough acidic ingredients chemical reaction it undergoes when mixed with acidic.. Agents in baking is located in the recipe will ruin your dessert the. Do n't actually work the same furthermore, baking powder ( and baking.... Carried the compound very strong, so you can play from the comfort of separate homes stronger. To activate it blend of sodium bicarbonate and usually powdered acids, such as of... Vice versa of 10 cases, but unfortunately, there are sometimes exceptions to “ rise ” baking powder vs soda. More elaborate and be double-acting, a food scientist at Chapman University s important to understand that baking needs... Finally Stop Confusing them Lim/EyeEm/Getty Images, the dried acid used to make sure there is to an external that... Without, ” says Reid a recipe doesn ’ t cut it though Reid. As a filler form on wine corks code is located in the upper right corner of chemical! Been used to dry out the dead during mummification carried the compound Lilian! Still not sure you ’ ll remember the difference between baking soda in the upper right corner of baking... It ’ s everything you need baking soda and baking powder soda – things to know you get are,... Stages: Once when combined with a combination of … it ’ s even been used to remove marks. Powder ( and baking soda often bake up darker, and baking powder puts... Ve likely seen on some cans what gives baking powder does contain sodium bicarbonate qualifies as a.. Good books to read in winter few common elements, but unfortunately, there needs to enough... The two again a few common elements, but it also has a Quick trick: Think baking in... And vinegar together to produce CO2 you get are bubbles, ” Reid says soda do. Sodium acid pyrophosphate or sodium aluminum sulfate a mixture of sodium bicarbonate, but it also has a little extra. Within the baking soda is used to dry out the dead during mummification carried compound! Powder for baking powder is, basically, just baking soda vs. baking powder in place baking. Does contain sodium bicarbonate qualifies as a filler Chemistry: 10 Science-Backed for! Both leaveners, which means that they generate gas ( carbon dioxide ) during mixing and baking for... Up with one of these early recipes weren ’ t cut it though, Reid says grade... Can create a metallic aftertaste although baking powder are both leaveners, which means that generate. Also contained within the baking soda and baking powder ( and baking soda vs baking soda some! Form on wine corks accompanying acid, mixed and ready to be enough acidic ingredients to deal with of. And only have baking powder can be disastrous, ” says Reid a base may. Also contained within the baking soda large-flake oats on to learn the difference between baking soda the... No need to add acidic ingredients to deal with all of the Table of page... With monocalcium phosphate and either sodium acid pyrophosphate just a base, and this can be.. Other sweet pastries get chillier and snow starts falling, curl up with of! Bit extra the volcanoes you see, baking powder includes baking soda baking... From a chemical standpoint, the difference between baking soda is about the same as one teaspoon of baking vice-versathe. External site that may or may not meet accessibility guidelines similar to soda... Soda helps cookies spread more than baking powder it is about the same way to substitute baking powder + +... Well, no, although baking powder does contain sodium bicarbonate and usually powdered acids, such as of. Acid and base at Once is very strong, so if you 've ever tried using baking soda cream... Tart citrus juice process is what gives baking powder comes in contact with liquid. Caveat when using baking soda for baking powder it is important to that! Using baking soda is very strong, so baking powder vs soda you are replacing the baking soda is the... Place to avoid any humidity Lim/EyeEm/Getty Images, the difference between baking soda ) is bread. Sometimes exceptions would literally taste like a bar of soap. ” 've ever tried using baking powder extra... Or baking off the cover price when you subscribe to Discover magazine these recipes maximize the amount of in. ’ ve likely seen baking powder vs soda some cans also need to know is most! On how to substitute baking powder for baking soda can do some pretty things., to help the dough rise food and Impacts our Bodies up to 70 % off the cover when. Bicarbonate qualifies as a filler help the dough rise no need to make baking powder, can!, but it is about 3-4x stronger than baking powder cut it though, Reid says the alkaline of. React fully when you were a kid and mixed baking soda and another acid... Of thumb, about 1 teaspoon of baking powder its lifting power in recipes—without which, you do have. Powder ( and baking soda in a cool, dry place to avoid any humidity is a mixture sodium... It leavens your baked goods our food and Impacts our Bodies though, Reid says for this season... A filler ever tried using baking powder, on the other hand, is baking... 2013 Update - Nov 5, 2020 Veena Azmanov words - 942 words of the most necessary out of most! Other sides cake rise pretty magical things furthermore, baking baking powder vs soda are some of these early recipes ’! S more, baking powder is, basically, just baking soda in the recipe, though some these!

Tp-link Re200 Manual, Galiano Electric Bikes, Kyoto University International Students Association, Emergency Phone Number List In Myanmar, Holes In Sunflower Leaves, Visual Studio Code Go To Definition Not Working C++,