Course Home | Lab Home | Lab Resources
Intro to Computer Architecture (4 minutes)
How to Create and Run a C++ Program in Visual Studio 2017 (12.5 minutes)
This webpage has included contents about how to use C programming library functions.
Learn to use recursion function and examples included.
Learn to operate on a string type.
int main()
{
......;
return 0;
}
void main()
{
......;
}
Incorrect:
main()
{
......;
}
int, float, double, these variables are required to have initialization before using it. More.
Correct:
double sum=0;
int n=0;
sum += 10;
if(n != 0)
{
......;
}
else
{
......;
}
Incorrect:
double sum;
int n;
sum += 10;
if(n != 0)
{
......;
}
else
{
......;
}
Last update: Aug 26, 2019.