Beginners - January 2018 (Page 14)

Why do I get unresolved external errors?
 
Hello, When compiling I get output about unresolved externals? I am not sure what is wrong with ...
[2 replies] Last: DOH! I am just going to flay myself (by Shishykish)
by kasb
source code language for online bus ticket app
 
hello everyone, i want to make an app for online bus ticket and reservation. can anyone tell me the ...
[3 replies] Last: Python is an alternative to PHP However you need to check first if th... (by Thomas1965)
by flav32
generate new array
 
Hello! I have an array named a. I also have to generate an array named b which stores the first digi...
[5 replies] Last: #include <iostream> #include <cstdlib> using namespace std; int firs... (by lastchance)
by Pilly1
Project Euler problem#3 - can anyone help me understand why my code doesn't work
 
Does anyone know why my code below doesn't work? Is the variable n too large? I tried a smaller numb...
[5 replies] Last: That took a fraction of a second. Imagine how long it would take to t... (by Repeater)
How to write a / into a file
 
I'm writing a program that converts numbers, letters, and certain symbols to morse code, then writes...
[2 replies] Last: It's still not working but that code seems right. Thanks for your help... (by hornet13)
Improper Global Instance of Class
 
Hi! I have a class called GUI. It is separated into a header and a CPP. (Both named GUI) I want t...
[8 replies] Last: You can use placement-new to avoid 2-stage initialization. Something ... (by mbozzi)
by atix
Help with this question
 
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class sh...
[1 reply] : Hello atix, Welcome to the forum. That is very nice set of instructi... (by Handy Andy)
using outFile with other cpp file in same program
 
I have been looking online for some help on how to write to a file from multiple cpp files in a sing...
[1 reply] : Hello DaRealFonz, Let me say that if you know the difference between ... (by Handy Andy)
Removing duplicates chars
 
I need to create a method that will so that it does not contain any duplicate characters from the li...
[3 replies] Last: Remove "template <typename T>" and replace "T" with the specific type ... (by Ganado)
does polymorphism work with objects that were created statically ?
 
I am still trying to get a better understanding of how polymorphism works in C++. Do i need to cre...
[18 replies] Last: Yes, coarsely. make_shared<T>(arguments to the constructor of the ... (by mbozzi)
by Handge
Encrypt / Decrypt Text File
 
How would one go about encrypting and decrypting a text file?
[2 replies] Last: #include <iostream> #include <fstream> #include <iterator> #include <... (by lastchance)
how to do this program
 
You are required to build the course approval system . Currently, during the registration week aca...
[8 replies] Last: Hello prasad1927, Looking over the program. Some of it is OK, but is ... (by Handy Andy)
by al8888
Always returning 1 instead of deesired value
 
Please why is it always returning 1 instead of the perimiter value I used the example in the book an...
[1 reply] : Your posted code doesn't compile. (You've also got some very long line... (by lastchance)
nested if loop not working correctly
 
Hello all, I apologise if my question seems stupid but I have just recently started coding in c++ an...
[3 replies] Last: Okay so I got it working. I had just saved the .cpp file outwith the p... (by Tryptych)
file input seekg() behaving oddly
 
I'm trying to figure out how to get numbers from files, and while I can read the numbers and convert...
[1 reply] : An easy way to do it: std::fstream things("/home/canaan/Desktop/stor... (by Thomas1965)
Ending while loop at certain input and char comparison
 
So Im trying to solve the problem here: https://open.kattis.com/problems/acm Im supposed to give te...
[8 replies] Last: While c.in != -1 ? I've already tried checking if the variable c... (by Peacemark)
While Loops
 
So for this class I'm taking, I have to write a program to ask for integers from the user until 999 ...
[2 replies] Last: Thanks, I'll take a look at it. (by Cowboy122333)
Dis possible?
 
Hi there, I just created an account so I am a bit unfamiliar with the rules and such but I'll try my...
[2 replies] Last: Someone told me to #include as little as possible in my class.h and i... (by Peter87)
Letting user access array
 
Hi guys, I am doing the airplane array problem, I will put what I have done below to show whats up. ...
[2 replies] Last: That made the spacing perfect, thank you. (by danpbrown1973)
error: default argument given for parameter 1,2 and 3 of'int volume
 
This code is giving error: Default argument given for parameter 1,2 and 3 of'int volume'. what is t...
[1 reply] : You can't re-declare default arguments twice in the same scope. In pr... (by mbozzi)
January 2018 Pages: 1... 1213141516... 22
  Archived months: [dec2017] [feb2018]

This is an archived page. To post a new message, go to the current page.