Beginners (Page 4)

by ZekDe
I couldn't think a good title for this.Simple question
 
Hello friends, I am not able to understand this,could you help me.I am using Qt creature //Th...
[4 replies] Last: I am new communication engineer ,this is why I don't know perfectly C+... (by ZekDe)
list
 
Why do program crash sometimes? *update* without "delete" is working fine! #include <iostre...
[2 replies] Last: Thank you (by alanmonno)
by al8888
floating point exception(core dumped) and can't return -1
 
In my book the question is "Write a function that takes two unsigned short integers and returns the ...
[5 replies] Last: thanks I think what the teacher wanted was: #include<iostream> using... (by al8888)
by sevic
Saving data at runtie
 
Hi, is there a way that is considered best to save data at runtime in C++ program? For example, we w...
[1 reply] : If you mean within the same program run (i.e. not after the program en... (by Repeater)
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)
Warning final_number may be uninitialized i this function.
 
i tried to make a program that reads binary but the output is "1" at all times... why? #incl...
[1 reply] : I only looked at it for about 5 seconds, but your line 21 isn't doing ... (by Ganado)
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)
Pages: 123456... 34
  Archived months: [nov2017]

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