online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> #include <stdlib.h> #include <poll.h> #include <unistd.h> int main(){ printf("Dzialaj"); while(1){ struct pollfd mypoll = { STDIN_FILENO,POLLIN|POLLPRI}; char string[10]; if( poll(&mypoll,1,2000)){ scanf("%9s",string); printf("read string - %s\n",string); } else{ puts("Read nothink"); } } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue