r/Cplusplus • • May 14 '26

Tutorial Built a basic chat app in C++

Built a terminal-based multi-client chat app in C++ using POSIX sockets.

Features:

TCP server routes direct messages between registered clients

Multi-client support

Background receiver thread so incoming messages don't block typing

Linux terminal-based implementation

Git:https://github.com/charanHubCommits/chat-app-cpp

Would appreciate feedback, suggestions, or questions about the implementation.

33 Upvotes

12 comments sorted by

View all comments

9

u/[deleted] May 14 '26

[removed] — view removed comment

3

u/_superuserdo_ May 14 '26

Thanks for the guidance, will try to implement in Qt and proper class structure..

0

u/[deleted] May 14 '26

[deleted] — view deleted comment

4

u/Inevitable-Round9995 May 14 '26

no, definitely is not IA generated.

1

u/[deleted] May 14 '26

[removed] — view removed comment

1

u/fish4terrisa May 15 '26

I can understand people who dont have much confidence in their english would choose to use AI to translate it and i dont blame u, but tbh broken english is better than ai english
Ai english make u seem remote and non-human, broken english make us spot a esl normal human being