• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
by Agrito
Hollow square
 
Hey everyone i hope your doing all fine. The query that i have is that it is pretty easy to print...
[14 replies] Last: If you posted the exact prompt that you're following, it might shed so... (by Ganado)
by xunsus
trying to make a pokemon like in c++
 
So i am still learning c++ (by myself) and i thought that making something like this might help me m...
[5 replies] Last: In my opinion, you're still going about this wrong. You don't need a ... (by Ganado)
having from std string type object, a pointer to non-constant char
 
How to convert/have from std string type, a pointer to non-constant char How is this to work #usi...
[2 replies] Last: string str; char tmp ; if (fgets(tmp, 19, stdin)) //inject standard C... (by jonnin)
Help With this Sales Project
 
Hi Everyone, I am super new to C++ and we are getting into arrays in class and it is really stressin...
[9 replies] Last: ... now that I am 99 percent done ... I admire your optimism. As y... (by doug4)
.c_str() Error
 
I'm getting an error when using .c_str(). The error is "left of '.find' must have class/struct/unio...
[2 replies] Last: .c_str() is a member function for std::string. You are trying to ca... (by doug4)
Please help by pointing me the right path for this assignment
 
I have the following assignment: Make a program that is used as an information system for the Wor...
[14 replies] Last: This would be a great time to start using your debugger. Step through... (by MikeyBoy)
Stacks
 
#ifndef DYNINTSTACK_H #define DYNINTSTACK_H template <class T> class DynIntStack { private: //...
[5 replies] Last: Do not jam all your source from headers and separate source files into... (by Furry Guy)
Icinga2 API - delete bug
 
Hello, I'm working with Icinga at the moment, but there is a bug, that i dont know how to fix and th...
[3 replies] Last: I've no idea. I just commented on a couple of observations that would ... (by salem c)
The char str[700] in C++ string syntax
 
How do we convert char str initializing into C++ string syntax? int main(){ //... char str ; ...
[1 reply] : Something roughly equivalent would be std::string str(700, 0); How... (by helios)
Word concordance using BST as a data structure
 
I'm trying to write a program for word concordance. The user has to search distinct words and displa...
[no replies]
by iomnit
Working on a server
 
Solved, thanks
[no replies]
reset/purged static variables in the C/C++ function
 
How can we reset/purged static variables in the C/C++ function on certain condition met?
[4 replies] Last: @dhayden, thanks for pointing out. this is something I never learned m... (by malibor)
for loop to sum all even ints
 
I was assigned to write a program that could sum all even numbers between two numbers that a user in...
[5 replies] Last: #include <iostream> using namespace std; int main() { int x, y,... (by eyssant)
by jebek9
remove duplicates strings
 
#include <iostream> using namespace std; void add_ch(char *str, char c) { while(*str) str++; ...
[15 replies] Last: or, signal end-of-file on your terminal. On Linux, press Ctrl-D. On W... (by mbozzi)
How to get out * on the display - C++ 11
 
Hello everyone, I have been programming for a short time in C ++ and I'm looking for a way to create...
[1 reply] : http://www.cplusplus.com/articles/E6vU7k9E/ (by Repeater)
by bean
Progress bar in Winsock transfer file
 
Hi, i have a server-client program wich sends a file, and i'd like to add a progress bar to it and i...
[7 replies] Last: Well recv() makes no guarantees about filling your buffer. You can ma... (by salem c)
Definitive way converting C source codes into C++
 
How do we, in the definitive way, convert C source codes into C++ having stdint.h, stdlib.h, string....
[4 replies] Last: If the C code compiles and works as wanted why change it? As a learni... (by Furry Guy)
Radix sort negative integers problem
 
with positive integers it works just fine, but with negative it doesn't. Does anyone know why is tha...
[3 replies] Last: if you never need it, negative addressing IS legal, but you need to en... (by jonnin)
C strtok_r() for C++
 
What/how is C strtok_r() function equivalent in C++?
[2 replies] Last: Or better yet use C++ string and some of the standard C++ string funct... (by jlb)
Pages: 123... 16
  Archived months: [sep2019]