Beginners (Page 7)

Switches and sub menus outputs are out of control
 
I tried to make a simple switch for practice such as making case 3 as the sub menu . After I exit th...
[14 replies] Last: You don't need the goto - these are best avoided. Because submenu is d... (by seeplus)
Const issues
 
Hi folks! How can i amend following code, to make Input function work in this context. It works w...
[1 reply] : Just Deleted const qualifiers from three functions from header, it wo... (by impetus)
help with old code - error: expected ')'
 
this is an old code i found online, that gives an example C++ code on compound interest. I have ...
[6 replies] Last: I think you better stop searching and finding code online This. If... (by jonnin)
Require to fix the else output repeating more than once of for statement
 
Tried to make a search record for any number and here is what I want to do: 1. given there are numbe...
[11 replies] Last: Ok I fixed it and it worked Thanks guys (by s021623)
by janac
Errer passing an interator to a function
 
What am I missing about passing an iterator to a function? I'm getting this error: message : A...
[8 replies] Last: Thanks, I understand. (by janac)
How to get set<string> to store string in size order?
 
I want to read a set of keywords and store them in size order, and if you type same keywords twice, ...
[8 replies] Last: std::map< int, std::set<string> > dict; dict[s.size()].insert(s); ... (by ne555)
ctime header syntax
 
Folks, i need a help with ctime functions syntax. How should i amend below code to get proper data?...
[6 replies] Last: C++20: Calendar https://en.cppreference.com/w/cpp/chrono#Calendar For... (by JLBorges)
bios.h header in Linux compliation environment
 
Hi folks! Is it possible to integrate bios.h header with Linux c++ compiler? Bios.cpp:2:10: fatal e...
[6 replies] Last: Yes! Thanks, Seeplus (by impetus)
Does Copy Constructor require explicit copy statements for each class members?
 
I have below code where I have a class with an array which is created by a pointer and another simpl...
[6 replies] Last: new (or new) doesn't return nullptr by default in case of error, but ... (by seeplus)
What is the best way of implementing this letter valuing function?
 
Hi. I'm probably overthinking all of this, but it's worth the try. I'm trying to implement a functio...
[3 replies] Last: Yes, use a look up table, if the look up is to be done many times. Id... (by JLBorges)
How to initialize classes to always be usable
 
Hi everybody, I am currently trying to figure what to do to initialize all functions at the start...
[7 replies] Last: Hello C++98! Default member initialization in a class is very much a ... (by George P)
Array (1,2)
 
Hello, can u help me answer this. Make a program that asks user to input array of numbers (positive ...
[26 replies] Last: You might want to have a look at pseudo code: https://www.techgeekbuz... (by thmm)
problem in c++
 
hello everyone, firstly happy holidays now to the problem:hello everyone could you help fix my co...
[4 replies] Last: If the size of the array is not a fixed value that is known before... (by kigar64551)
Access Form1 MenuStripItem from Form 2
 
Hi Guys, I'm using visual studio 2019. what I'm trying to do is call and access a menu option in my...
[10 replies] Last: C++/cli is MS's second attempt to merge C++ with .net (the previous ve... (by seeplus)
matrix problem in c++
 
hello everyone, firstly happy holidays now to the problem: I'm making a program in c++, to p...
[6 replies] Last: finally got it. l17 was supposed to be a line thank you (by The apprentice)
So many errors (1,2)
 
#include <iostream> #include <string> using namespace std; struct libro{ string nome; int a...
[21 replies] Last: Thanks (by adryborre)
Array of size n
 
Hello, I've started using C++ just this week. I've been using matlab for a few years. I want to d...
[10 replies] Last: I've been using matlab for a few years I missed that note before. I... (by jonnin)
C++ to MySQL remote DB
 
I am new to C++, and if I wanted to create a C++ program on my Windows machine, and integrate it wit...
[2 replies] Last: I wanted to create a C++ program on my Windows machine, and integrate... (by kigar64551)
how do you put special characters such as(^) as regular strings for regex
 
I need to find ^ but the regex just sees it as the special letter, anyways to just make it a regula...
[3 replies] Last: The use of raw string literals is correct, but I do recommend using a ... (by Duthomhas)
by vboro
Classes?
 
Hi! I got a task where I must write the header file to the main.cpp (see below). I have found out t...
[6 replies] Last: The output, which must look like this: Inbox for consumer Blaise: ... (by keskiverto)
Pages: 1... 56789... 12
  Archived months: [nov2021]

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