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
double[]x = new double[15]
// equations: T1 = t + (((P/A)/k)) Δx. Ti+1 = Ti + ((P/A)/ki+1) Δx.
void case1a(int temp)
{
int pA=0;
float deltax=1E-5;
float k3=.84;
Just from a cursory glace you start with the problem
double[]x = newdouble[15]
which only needs to be
double x[15];
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.