General C++ Programming (Page 3)

Collect 2 [Error] Id returned 1 exit status
#include <iostream> #include <string> #include <fstream> #include <iomanip> using namespace s...
[6 replies] Last: @JLBorges Thank you. I will next time. I have to get a new computer to... (by CodingIsHard17)
by jp22
Validation so that the program only allows entry of numbers
Hi, could someone help me with my program. I have my program that is from a restaurant where you hav...
[1 reply] : Duplicate of: -Albatr... (by Albatross)
Creating objects using data from text file. (1,2)
Hello, I need help with solving a problem of mine. I have a text file with information separated by ...
[29 replies] Last: @salem c yeah and that's an ez to fix things just read the 1st user be... (by fewdiefie)
Problems for calling function
I has problems for calling function CreateAccount() in this case int toppingmoney_, withdraw_; int...
[10 replies] Last: Perhaps open the file for appending, whenever you save a new account. ... (by salem c)
Error in Bubble Sort code
Hi! can anybody please tell me whats wrong with my bubble sort C++ code. It gives some random garbag...
[5 replies] Last: this is what clang-format does for me for(i=0;i<size;i++) ; { ... (by ne555)
deallocate object COM
Hi!, I need deallocate when iPtr = new IPtr(__uuidof(EXAMPLE)). How to do it? Thks
[3 replies] Last: that shouldn't compile then you cannot do T *ptr = new T*; it's eith... (by ne555)
error: no matching function for call to 'std::priority_queue<data>::push(int, int, int)'
What does this error mean? occurs in line 27. #include <iostream> #include <queue> #include <...
[7 replies] Last: `<' is quite a small name, so when you do a < b it should be extreme... (by ne555)
How to make new arrays and recognize them?
Hi everyone, i'm trying to make a roguelike game in my spare time, it's all based on arrays(monsters...
[9 replies] Last: struct Tile { //... vector<Item> vItems; }; Tile g_map ; ... (by fewdiefie)
compiling some legacy code math library
I'm trying to compile a 3d library from an old game engine programming book I found on the internet,...
[7 replies] Last: I would say that I feel comfortable coding 3d stuff, I have a deep und... (by fewdiefie)
Converting a custom type
Hi everyone, I have some problems in converting a custom type to the type in binary file. Here is t...
[3 replies] Last: > Note that this link suggests that private members can't be POD. that... (by ne555)
CppCast Episode: Professional CMake
Rob and Jason are joined by Craig Scott. They first discuss a recent blog post from PVS-Studio analy...
[no replies]
Service Pack 4.0
I need the old visual c++ 6.0 service pack 4.0 but I can't find them anywhere in the internet, help!
[4 replies] Last: thank you so much for your help (by fewdiefie)
by volang
How do I start TLS socket
Im trying to connect to a mail server and send mail through my own program. After I connect to th...
[3 replies] Last: > What do you suggest? I suggested libcurl. But if you want an OO'if... (by salem c)
by geming
Drawing Tablet C++ API ?
Are there any C++ API's for dealing with pen tablets? Such as the XP-Pen Deco Pro Drawing Tablet ( h...
[2 replies] Last: Hi, I don't have the product in your post, but in Windows many drawing... (by Ganado)
by volang
Create socket and send SMTP mail
Hello. Im trying to get a respons from my mail server on localhost. I can connect to it through com...
[3 replies] Last: Thanks Salem. I was missing the new lines (\r\n). (by volang)
Map Compare
I am not sure how to get function fun to work. #include <iostream> #include <string> #incl...
[1 reply] : A few things. #1: You have a typo on line 10: std::map<< #2: Your ... (by Albatross)
Header files and symbol tables
Hey guys, So obviously header files are used to separate or distinguish interface from implement...
[11 replies] Last: thanks dHayden :) I think it's also something as others said that I sh... (by adam2016)
findind kth no for multiiples of three no set ...internship questn
given A,B,C ..there is a special set contains the no that are multiple of any of thse no ..we have...
[5 replies] Last: Work the problem backwards. Let's do a simple example. Suppose there... (by dhayden)
by frek
Analyse a C++ fanctor
Hello all, Here: using namespace std; template<typename T> class Less_thane { const T val; pub...
[5 replies] Last: I got it, thank you. (by frek)
by herad
Problem while doing merge-sorting
Sorry for the long post. I am doing a merge sort with a vector of strings. So far I implemented most...
[1 reply] : Well, this is the best time for you to use your debugging tools and fi... (by zapshe)
Pages: 12345... 10
  Archived months: [jul2019]

Cannot post in this page. To post a new message, go to the first page.