online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<stdio.h> #include<unistd.h> #include<string.h> int main() { char s[100]; char tekst; printf("%s\n", getcwd(s, 100)); int i=3; while(i<=5){ scanf("%s", &tekst); if (strcmp(&tekst, "cd") == 0) { chdir(".."); }; printf("%s\n", getcwd(s, 100)); } }

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