Explore Connect Documentation
Snippets
1
2
3
4
5
6
7
8
9
10
int main() {
  // pd points to a dynamically allocated double variable
  double *pd = new double;
  
  // free the allocated memory
  delete pd;
  return 0;
}
Press desired key combination and then press ENTER.