• 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]
How To Keep a C++ Program Running 24/7 On a VPS
I have a VPS on DigitalOcean.com using Ubuntu and I was wondering how I can keep a program running 2...
[2 replies] Last: That solved it. Good stuff. (by HandsomeJohn)
by Jh01
Need help- Random Number Generator
Guys and gals I need help with this program. I've done alot of research trying to figure out the err...
[1 reply] : You need to look at this int number1 = string num1; (by SamuelAdams)
A default value for a user-defined type
Hi all, Please consider this snipped-code: int main() { cout << int() << endl; return 0; } ...
[9 replies] Last: #include <iostream> #include <vector> struct my_vals { int x = 5; ... (by JLBorges)
Why the final size of executable is smaller than size of the obj files
Why the final size of executable is smaller than size of the obj files?Does the linker compress th...
[1 reply] : Yes the compiler/linker can sometimes do some magic, such as removing ... (by jlb)
Asymptotic Notation
I have somethings I need clarification on when it comes to asymptotic notation. Correct me if I'm wr...
[7 replies] Last: Choice of O,Θ,Ω Remember that if O = Ω, then you can use Θ. T... (by Duthomhas)
gets for char array does not work
Hello! My project requires defining an array of char and make the user enter them (by gets command),...
[5 replies] Last: The compiler pops up error C3861 'gets': identifier not found and E00... (by jlb)
Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object? (1,2)
I have a custom C++ class Person that defines a few functions and data members. In my main app, I ha...
[25 replies] Last: I'm curious to know why it is a more modern C++ app written today wou... (by keskiverto)
Help about encode and decode text
Basically, i need a code to encode and decode a text combined only by capital letters and blank spac...
[2 replies] Last: @pzycloN3 Do you have another user name? You see, your code is EXACTL... (by lastchance)
Recursive nested instantiations don't make sense to me
Hi, From an interesting article regarding C++ as a Turing Machine, I have found some code that I ...
[2 replies] Last: Yes. There is no requirement here that K17<Depth,A,B> must be a com... (by JLBorges)
by Chy
Epsilon Moea (Can some one teach me out with the code here, there are a lot of errors after compiling)
#include <iostream.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h>...
[4 replies] Last: @SamuelAdams thanks for your suggestion. Here is the first segment of ... (by Chy)
by Erema
sparql requests in protege
hello, sparql requests in protege I need to find 100 names mail.ru PREFIX foaf: <https://mail.ru...
[1 reply] : looks like broken or oddball sql, not c++. what does it produce? ... (by jonnin)
Code to move the character words with arrow key
I'm new to c++ and I'm currently studying IT programming with c language. I have tried to find all i...
[no replies]
The user will be prompted to enter the following data: Name Hours worked Hourly wage Amount of wit...
[5 replies] Last: @stav, In C++ it's better to use const or constexpr for constants. ... (by Thomas1965)
Parallel Technical Standard
Any C++ compiler on Windows 10 that can compile a C++ 17 program that uses Parallel Technical Standa...
[5 replies] Last: Thank you JLBorges: I ran the parallel_sum.exe and got output results.... (by AlexCantor)
encoding/decoding arrays
I'm working on a program in Visual Studio that encodes and decodes a txt file of user names, passwor...
[1 reply] : If you show us the code we might be able to help. (by Thomas1965)
Please help with my project
Please help C++ only It is suggested to use functions to comply with program modularization. Part ...
[3 replies] Last: Please help Your lack of specificity isn't going to get you anywhere... (by cire)
Using Conio.h and Curses.h error
Hello, if I try to compile a cpp file using both conio.h and curses.h in it. If I try to run it with...
[4 replies] Last: How could I get getch(); to work with curses? as above: 1. Compile ... (by Cubbi)
Problem with retrieved data from C function.
So I'm using a API for card readers "eVehicle Registration API" which was made by my government. And...
[5 replies] Last: const long MAX_NAME_SIZE = 1023 ; char name[MAX_NAME_SIZE+1] = "" ; l... (by Putarda)
by Kalcor
Structs question
Hello, I recently encountered a small debate with myself about a struct thing which is swapping elem...
[7 replies] Last: Please read the thread before replying, otherwise you're just adding n... (by helios)
Pages: 123... 26
  Archived months: [oct2017]