Search results

  1. S

    what is the difference between C and C++?

    People use C++ when they don't wanna "roll your own" hash tables, linked lists, trees or other data structure all the time. The STL (standard template library) is very well tested. Initially, C++ was created as an extension to C i.e. "C with classes" as the author of C++ Bjarne Stroustrup had a...
  2. S

    Is C++ a good choice to make bots?

    C++ is mostly used when you need high-performance IO operation, such as making bots to save stuff to disk as fast as possible or doing some number crunching, and other high-performance stuff. Using libraries like Boost makes concurrent networking IO easier to deal with since there're...
  3. S

    C program for swapping of two numbers using pointers

    Hi, it's been a while, but hopefully, this helps. // This how we do "pass by reference" in C void swap(int *x, int *y) { int temp = *x; *x = *y; *y = temp; } int foo = 10; int bar = 20; swap(&foo, &bar);
  4. S

    Hey everyone!

    Hello all, I'm ShyDude. Yes, I'm really a Shy-Dude IRL ;-) I'm a software engineer with experience in server and infrastructure dev in C and Modern C++ I also do scripting in Perl (being my favorite), PHP and Python! I love Linux system administration. In fact, my introduction to his forum...
Back
Top