Answers for "c++ stderr"

C++
0

c++ print to standard error

#include <iostream>

int main(){
	std::cerr << "this is a message for stdandard error" << std::endl;
  	return 0;
}
Posted by: Guest on September-16-2020
2

strcmp c++

#include<stdio.h> 
#include<string.h> 


int main() 
{  
      
    char char1[] = "coucou"; 
    char char2[] = "coucou"; 
      
  	if( strcmp(char1, char2) == 0 )
       printf("Strings are the same");
  
  	else
      prinf("Strings are differentes");
  
  
    return 0; 
}
Posted by: Guest on July-09-2020

Code answers related to "c++ stderr"

Browse Popular Code Answers by Language