ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
#include void happyBirthday(std::string name, int age);int main(){ // function = a block of reusable code std::string name = "Bro"; int age = 21; happyBirthday(name, age); return 0;}void happyBirthday(std::string name, int age){ std::cout
is any good to use functions below main?
I really like your C++ series. Keep it up. Please make more C++ Videos. So, let's defeat the TH-cam algorithm.
what is void?
finally, hello world v2.0#include void hello(std::string world);int main(){ std::string world = "Hello, World!"; hello(world); return 0;}void hello(std::string world){ std::cout
good tiigao chan
@@rivazmardani *chan =}}}
}void find_x(double a, double b, double c ){ double x1; double x2; double D = pow(b,2) - 4*a*c; if (D>0){ x1=(-b+sqrt(D))/2*a; x2=(-b-sqrt(D))/2*a; std::cout
#include using namespace std;void happyBoy(bool IsHappy, string name);int main() {bool IsHappy = true;string name = "Andrew";happyBoy(IsHappy, name);return 0;}void happyBoy(bool IsHappy, string name);cout
Simple weight calculator. - Pretty efficient.#include void weightCalc() { int mass ; double weight ; std::cout mass; std::cout
#include void song(int age = 19, std::string Name = "Christian") { std::cout
#include
void happyBirthday(std::string name, int age);
int main()
{
// function = a block of reusable code
std::string name = "Bro";
int age = 21;
happyBirthday(name, age);
return 0;
}
void happyBirthday(std::string name, int age){
std::cout
is any good to use functions below main?
I really like your C++ series. Keep it up. Please make more C++ Videos. So, let's defeat the TH-cam algorithm.
what is void?
finally, hello world v2.0
#include
void hello(std::string world);
int main()
{
std::string world = "Hello, World!";
hello(world);
return 0;
}
void hello(std::string world)
{
std::cout
good tiigao chan
@@rivazmardani *chan =}}}
}
void find_x(double a, double b, double c ){
double x1;
double x2;
double D = pow(b,2) - 4*a*c;
if (D>0){
x1=(-b+sqrt(D))/2*a;
x2=(-b-sqrt(D))/2*a;
std::cout
#include
using namespace std;
void happyBoy(bool IsHappy, string name);
int main() {
bool IsHappy = true;
string name = "Andrew";
happyBoy(IsHappy, name);
return 0;
}
void happyBoy(bool IsHappy, string name);
cout
Simple weight calculator. - Pretty efficient.
#include
void weightCalc() {
int mass ;
double weight ;
std::cout mass;
std::cout
#include
void song(int age = 19, std::string Name = "Christian") {
std::cout