online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <stdio.h> #include <cstring> #include <iostream>//директива препроцесора #include <conio.h> //директива препроцесора int isCharacterUnique(const char* str) { int result = 0; int size = strlen(str); for (int index = 0; index < size; ++index) { int count = 0; for (int j = 0; j < size; ++j) if (str[index] == str[j]) count++; if (count == 1) result++; } return result; } int main() { const char* str = "abcacwqa"; std::cout << "isCharacterUnique: " << isCharacterUnique(str); }

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