General C++ Programming (Page 15)

Postfix to Infix Conversion with multiple digit integers
Hello, I'm currently working in a c++ program that computes postfix expressions and then converts th...
[6 replies] Last: Nice. It seems the brackets in the infix notation are not dependent on... (by MikeStgt)
How to find the second Tuesday in October of a given year in C++?
For example, given 2019, October, return 12 since the second Tuesday on October 2019 is 12th. I know...
[4 replies] Last: #include <iostream> #include <ctime> using namespace std; const char... (by lastchance)
by Fadey
class virtual function but no overload instead stack calling ( constructor like behavior )
Not really good at making titles. class deep{ deep(){ cout << "deep()" << endl; } void stack...
[5 replies] Last: If you always want to call deep::stackTrigger(), no more, no less, no ... (by Peter87)
by roses
Compiler gives no errors, yet it doesn't continue past a certain point when I run it
idk what im doing wrong here. so here's the problem Write a program that accepts as input: Th...
[8 replies] Last: You keep decreasing the payment. Eventually it drops to zero, then it... (by dhayden)
Inheritance and Constructors
Hello everyone, I am trying to complete a small C++ project but I have some questions and proble...
[3 replies] Last: You need to post your code. From what you've said it sounds like yo... (by AbstractionAnon)
Error during compiling process
When trying to compile I get these errors: Tabella.cpp:(.text+0x0): multiple definition of `tabel...
[4 replies] Last: Now it works thx. (by Yuripetrocchi)
How To Solve "Unhandled exception: std::invalid_argument"?
Hello Professionals, I have been trying many times to resolve this issue and also searched in Googl...
[2 replies] Last: Oh, I see now the problem. I tried to change the obj file to another o... (by kindgnice)
Any Assistance? lexical Analyzer program
Please help. definitely having trouble with assignment. For Program 2, the lexical analyzer, you...
[3 replies] Last: You only need to create the bodies for the functions declared in the h... (by Duthomhas)
Data Structures Grocery Bag Exercise
Exercise: Imagine that you have just left a store with a bag of groceries. You are concerned that th...
[3 replies] Last: I think you're misreading the instructions. write C++ statements th... (by AbstractionAnon)
System Generated ID Number
I'm trying to make a program that generates an ID number automatically and save it in a text file ho...
[4 replies] Last: Thanks for the help I have the codes to use and it works fine thank yo... (by somebodyelse)
Array Problem
//Driver.cpp #include <iostream> #include <fstream> #include <string> #include <cmath> using nam...
[3 replies] Last: Issues 1 and 2 apply to Line 34 as well: while (answer = true) { ... (by doug4)
by Hex213
lang c "clearing"/printing char*
Good afternoon, I have a little problem with printing char* combined with short. I have wrong output...
[5 replies] Last: > unsigned short has max. 6 digit, It has a 'minimum' maximum of 6 di... (by salem c)
having problems with my linkers I think
#include<iostream> #define GLEW_STATIC #include "GL/glew.h" #include "GLFW/glfw3.h" const char* A...
[2 replies] Last: I got it fixed: It' was not using a glew32s.lib. But I appreciate the ... (by fronow20)
Help with class
I have two class of student classes and subjects that are these: class Estudiante{ private...
[2 replies] Last: The instructions appear to suggest you keep a global list of up to 15 ... (by Duthomhas)
I have an assigment due and a I am struggling, this is what I have so far. #include<iostream> #...
[4 replies] Last: Instead of writing std::cout << choice; you can write std::cout << ... (by Grime)
Program Repeat Help(Y or N)
Hello, my code works fine the first run-through but when you repeat it, it skips over two user input...
[2 replies] Last: Heh, here’s that manipulator: #include <iomanip> #include <iostre... (by Duthomhas)
Need help incorporating tts into a c++ program I'm following t...
[1 reply] : Installing Boost on Windows is a pain. I’m writing this off the top ... (by Duthomhas)
How do you chain functions with arrow pointers?
like this example? mars->foo1()->foo2()->foo3(); how do you chain function with arrow pointers?...
[5 replies] Last: Very tight! Nice! @ programmy You should notice that dhayden has p... (by Duthomhas)
C++ void* use for different data types
hi, I have a class like (with much more other elements and virtual functions included): cla...
[13 replies] Last: Initial post: And I want to know if it's "safe" to use "void *" type ... (by doug4)
by GhooSe
getchar double number
Guys I've written something but ı still lacking QUESTİON :Write a program that only uses getchar(...
[3 replies] Last: Once you read the decimal point, exit the loop that enters the integer... (by dhayden)
Pages: 1... 13141516
  Archived months: [feb2019]

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