What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-02 15:40:05
ros pi 4
$ sudo apt remove libboost1.67-dev $ sudo apt autoremove $ sudo apt install -y libboost1.58-dev libboost1.58-all-dev $ sudo apt install -y g++-5 gcc-5 $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 $ sudo update-alternatives --ins... Add solution -
C++ 2021-11-02 15:07:11
how to put emojis in c++
/* C++ Program - Print Smiling Face on Screen */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int sml=1, i, limit; char ch=sml; cout<<"How many smiley face you want to print ? "; cin>>limit; for... Add solution -
C++ 2021-10-27 21:04:05
error: use of parameter outside function body before ] token c++, 2D array in c++
If you are using GCC, then you are to pass the length of the array as a parameter to the function. void foo (int m, int arr[][m]) { //... } However, there seems to be a bug in either the compiler or the documentation, as the above function prototype ... Add solution -
C++ 2021-10-27 09:34:14
how to define function prototypes in c++
/* C++ Function Prototype and C++ Function Definition */ #include<iostream.h> #include<conio.h> #include<stdlib.h> int add(int, int); // function prototype int subtract(int, int); // function prototype int multiply(int, int)... Add solution -
Other 2021-10-27 03:50:15
windows.h
windows.h is a Windows-specific header file for the C and C++ programming languages which contains declarations for all of the functions in the Windows API, all the common macros used by Windows programmers, and all the data types used by the various f... Add solution -
C++ 2021-10-26 22:41:10
Write a c++ program that reads a sentence (including spaces) and a word, then print out the number of occurrences of the word in the sentence
Write a c++ program that reads a sentence (including spaces) and a word, then print out the number of occurrences of the word in the sentence Add solution