by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
Custom class type for queue?
I have the following circular queue code: #include<iostream> using namespace std; class Que...
[3 replies] Last: To change int into any type you want you need templates: http://www.cp... (by johnglen244)
by StMick
Iterating Over a Vector of Objects
Greetings all, I have a question regarding iterating over a vector that holds objects. For some rea...
[3 replies] Last: Reallocation invalidates iterators. See (by keskiverto)
An array of chars (1,2,3)
Hi, so I have a task that I have to read from the console and array of chars with maximal length 1 M...
[49 replies] Last: It's goo goo againtry! Move out of mommy's basement, loser! (by dutch)
passing arrays (character array)
Hello, I am currently learning how to pass pointers and arrays to functions. I am currently going ov...
[2 replies] Last: Do you realize that all three of the following function signatures are... (by jlb)
Forward signatures of the function
Hi all, Is there a way to find the forward signatures of the function in the project package in v...
[3 replies] Last: usually. there may be more than 1 header file, but take a look and se... (by jonnin)
by Cakes
printing arrays with a void fuction
I'm supposed to input values into an class array but the loop is in the function call. this is wha...
[2 replies] Last: > title: printing arrays guessing cout > description: I'm supposed ... (by ne555)
Convert from std:string to SQLCHAR *
Hi. I am looking for the correct conversion to SQLCHAR* I am given several parameters as std:s...
[9 replies] Last: 10 years misses 2 major revisions to the language; c++11 and c++17 fea... (by jonnin)
Regarding IF condition
Hi all, Is there a way of writing the below python code with lesser lines in cpp. if n == 6: ...
[4 replies] Last: Thank you so much for your response. No I am not returning the variabl... (by Shruthi LS)
by F95
Getting errors trying to build a Red-black tree with pointers
I'm trying to construct a RedBlack tree from a .csv file. It constructs a tree map to map from a str...
[15 replies] Last: Yes, after reevaluating the requirements and debugging I now have the ... (by F95)
returning a pointer
Have one question and one issue: The question- I have to write a function of type pointer to char t...
[5 replies] Last: so its ready to go. Unfortunately Ms Horstmann required a nullptr :)... (by againtry)
Find and replace characters in file
I'm writing a program which finds and replaces characters in an input file, and print the file conte...
[10 replies] Last: I got it. Thanks all. Do appreciate you guys' help! (by Simon90)
Write your question here. Hello. Using pointers to a variable is faster than accessing a variable d...
[6 replies] Last: Thank you very much! The level of optimization affects the direction o... (by jonnin)
by TunaT
for function
want to summarize all the test and test i have to use "for" or "while" but i thought that for w...
[3 replies] Last: こんにちは, You are welcome. It is the little things that cause ... (by Handy Andy)
Generating next binary bit from given binary string
I've got this assignment: First line is the number of test (t) Following lines are the binary string...
[2 replies] Last: Thank you I changed the while condition because for some reason it onl... (by longdoan1511)
pointlist in cpp
Hi all, How to write the below python pointlist to cpp? ptlist = [[0,3],[1,7],[2,4],[4,6],[7,8...
[4 replies] Last: Tank you so much @coder777 , @zapshe (by Shruthi LS)
function template and adding array with lambda expression
I have been learning the basics of templates and lambda expression, and there's one exercise that I ...
[6 replies] Last: Yeah that was going to be my approach. But was start on how to pass tw... (by PhaazeReborn)
fatal error LNK1120: 1 unresolved externals
#include <iostream> #include "console.h" using namespace std; int main() { Console::setCursor...
[1 reply] : you have to compile and link the c++ or library file with the code in ... (by jonnin)
Print lines from text file after user pressing enter
I'm writing a 'read file and print line' program described below. 1. Accept user input for filename ...
[6 replies] Last: Ideally, you should account for the possibility that the line is longe... (by dhayden)
Pages: 123... 15
  Archived months: [jun2020]