All pastes #338248 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-02-03 08:38 UTC
rendered paste body
/* test4 */

#include <iostream>
#include <stdlib.h>

using namespace std;

 int main(void)
 
 {
 	
 	cout<<system('cat /proc/cpuinfo');
 
 
 	return 0;	
 }


test4.cpp:12:16: warning: character constant too long for its type
test4.cpp: In function ‘int main()’:
test4.cpp:12: error: invalid conversion from ‘int’ to ‘const char*’
test4.cpp:12: error:   initializing argument 1 of ‘int system(const char*)’