c++ declare variable
std::string str = "text"; // stores a string
int foo = 3; // stores any integer
float bar = 3.14; // stores 32 bit number
double baz = 3.14159265; // stores 64 bit number
c++ declare variable
std::string str = "text"; // stores a string
int foo = 3; // stores any integer
float bar = 3.14; // stores 32 bit number
double baz = 3.14159265; // stores 64 bit number
c++ variable type
// Example
std::cout << "Data-type = " << typeid(YourVariable).name() << "\n";
// Syntax
typeid(YourVariable).name()
define type c++
typedef unsigned int u_int; //giving 'unsigned int' a name of u_int
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us