Im trying to find the heat conduction for 3 different substances and i just recently downloaded microsoft visual 2012. I tried making cases for each part and after inputting the parts to see if it runs what i have so far, but it gives me an error: error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
#include <iostream> // Allows input and output.
#include <cmath> // Allows you to use the power function
using namespace std; //needed to use std, groups entities like classes
doublex = new double
// equations: T1 = t + (((P/A)/k)) Δx. Ti+1 = Ti + ((P/A)/ki+1) Δx.
void case1a(int temp)
Just from a cursory glace you start with the problem
doublex = newdouble
which only needs to be
this array of doubles isn't even used in your code either.....
Also you might want to look into best practices and naming conventions. case1a and so forth are not great names for functions. You also have numerous functions that are doing the exact same thing and thats really unneeded.