General C++ Programming (Page 2)

How to clear console without system("cls") (1,2)
Hello. I have been told that system() is "bad" to use... So, how do I clear the console screen safe...
[26 replies] Last: See my previous post. VT100 code support was introduced into Windows 1... (by seeplus)
How do I modify my code to organize objects and write them to a file.
Ok... i'm stuck here... I have a class called Items that creates an object with three attributes (Me...
[5 replies] Last: Simply, the spec for operator<< (and operator>>) requires the stream t... (by seeplus)
C++ keyword definition request (1,2)
Hello. I did not know it, but, the C++ book I read was pretty outdated. And I would like to know wha...
[26 replies] Last: Lol I like how I can always guess who reported my reply. @dutch Hahah... (by Alexander123)
by jax16
Print all
[3 replies] Last: What are you trying to do? Something like this? // Not tested. #in... (by Alexander123)
File editing help! (1,2,3)
Hello. I am trying to make a program that edits an .msbt file, which is a file containing a game's ...
[49 replies] Last: Thanks, I'll remember that. (by Alexander123)
Context Switch
I need help with this code. Complete the code so that the output is: Main1 says Hello Main2 says ...
[8 replies] Last: Thank you. I got it working. (by willie99)
Converting 1d array output to look like a matrix
Hey ya'll, I'm trying to print a 1d array as a 2d matrix. I started off by creating a char array w...
[12 replies] Last: And that’s not to forget the speed increases that can be achieved by... (by againtry)
Zombie Sandwich Shop Program
Zombie Sandwich Shop The BRAINS! Vision BRAINS! caters to a clientele that is extremely specific in...
[12 replies] Last: Well what did you think was going to happen? :) (by Ganado)
arrays and loops
I am pretty new to programming, so I guess be advised. I am trying to take a user input, here for ...
[3 replies] Last: Without Boost and range libraries you can make it using STL algorithms... (by TomCPP)
Map and ofstream/ifstream
Hey guys So, I what I am trying to accomplish is I have a account class and a bank class. my bank cl...
[5 replies] Last: Without testing, I am not at my development PC at the moment, move yo... (by seeplus)
Modified Secant Method
#include<iostream> #include<iomanip> #include<math.h> #include<stdlib.h> /* Defining equation to b...
[2 replies] Last: I guess you probably meant this one. It's more like a modified Newton-... (by lastchance)
boost::spirit::karma::generate not working as expected
Hi, I am taking a code sample from the documentation of Boost.Spirit (see
[5 replies] Last: the error is using boost::spirit::qi::int_ instead of karma::_int: thi... (by JUANDENT)
Function issue
Hello, I wrote a code in C++ that can encode and decode files. After that the programm have to ch...
[4 replies] Last: Thankyou very much (by pieterdehoogd)
Call and Search Help
I need help finishing the calling and searching for the binary and recursive areas. I have linear do...
[4 replies] Last: As you're displaying the elapsed time in microseconds, why not have Ti... (by seeplus)
by jax16
Vector or Array
Howdy, need help with this. I didn't really get any help or an answer. original post http://ww...
[3 replies] Last: (by againtry)
by markj
main() is not Main
I was totally blown away when I copied / pasted some C++ COM code into a MS Visual Studio Console Ap...
[4 replies] Last: helios - OK... Thanks... I learned something about COM today: Cla... (by markj)
Visual Studio 2019 errors
Hello. I get the following errors every time I build with Visual Studio 2019: LNK4075 ignoring '...
[2 replies] Last: If you are wanting to test drive VS2019 I really, really, REALLY recom... (by Furry Guy)
by rnima
Overloaded function Modulus
I need big help with figuring out Int operator%(const Int&); i havent started on division just yet...
[5 replies] Last: For 'ordinary' numbers division or modulo arithmetic can be carried ou... (by againtry)
by rnima
How to compute the size of an array with leading zeros
So basically i have an array of size 20, and i am wanting to store a number inside the array | 0...
[4 replies] Last: @rnina, if it’s a genuine big-number class (which your notation does... (by lastchance)
Good afternoon friends I need help and guidance: I downloaded and installed the software on my com...
[1 reply] : No offense, but this question is like a caveman chiseling out a stone ... (by jonnin)
Pages: 1234... 8
  Archived months: [aug2020]

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