• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
PPP2 Chapter 17 Exercise 11 (1,2,3,...,9,10,11,12)
I'm making (kind of) another thread for this. Sorry about this. Anyway, the specs for it are as fo...
[236 replies] Last: This is what I have left. If this is wrong, what would you suggest? ... (by jlb)
What is this exercise asking for?
PPP2 Chapter 19 Exercise 2. Specs: 2. Write a template function that takes a vector<T> vt and a ve...
[4 replies] Last: Of course, it could be possible to overload operator*(double, const st... (by helios)
Looping Calculator help
Hi folks! I'm having trouble with the last segment of this assignment. It's pretty much done otherwi...
[1 reply] : Before I forget, I wanted to ask about the "&" in "double & res." I wa... (by Corbenik)
A shopping cart : Design issues & enhancements.
Hi All :), I am working on designing a basic shopping cart and below is my design approach. I ...
[no replies]
A while loop messes up my array without being executed... why?
Hello, I am trying to create some kind of parser for MathML. It takes a piece of text code and trans...
[3 replies] Last: I can't answer that question without being able to run it. (by helios)
Singleton class. Getting std::system_error error.
Hi ppl :), I am trying to write a singleton class using smart pointers but getting the following ru...
[7 replies] Last: Appreciate your help @JLBorges :) Thanks :) (by kapil2905)
by helios
Workhorse classes
What are your go-to data structures/classes that you use to solve the following problems? * A buf...
[3 replies] Last: I started to say use string for the buffer but I think of 'buffers' as... (by jonnin)
A few questions about Microsoft VS
I don't know if this is the correct forum to post this, but I have 2 problems: 1) When I go to Bu...
[2 replies] Last: That worked, thanks alot. (by goldenchicken)
Inheritance problems
I have a Button base class from which I create derived buttons. However, when I try to call the draw...
[7 replies] Last: I just realise, that I indeed call a virtual function from a destructo... (by goldenchicken)
Where is my mistakes? Especially in the calculation process.
#include <iostream> #include <conio.h> #include <math.h> #include <iomanip> using namespace std; m...
[1 reply] : You're doing all your calculations AFTER you've displayed the results.... (by Repeater)
by dkaip
I need to save an wxBitmap to SQLite to a blob type.
I need to save an wxBitmap to SQLite to a blob type without save to disk or on some media. i have my...
[2 replies] Last: Can you not just save the char data directly, without converting to s... (by dkaip)
help with overloading relational operators
#ifndef PFASTRING_HPP #define PFASTRING_HPP #include <string> #include <vector> class PFAString { ...
[no replies]
Linked List Trouble
I have a program that takes an input file and stores it into a linked list. I'm having trouble with ...
[1 reply] : add needs to not read from the keyboard, if I understand your question... (by jonnin)
i Need help please
its a vending Machine problem i need a program that displays 1. coke $1.20 2. Diet coke $1.00 ...
[3 replies] Last: This is better at BEGINNERS, btw you can make your code look prettier... (by AndreGS)
systems of tridiagonal equation in C++
why doesn't the following code work? which code would work to solve a system of equations using newt...
[1 reply] : It's syntactically invalid. http://www.cplusplus.com/doc/tutorial/ (by helios)
by smejia
Swap positive void function
I need to create void function called "swapPositive" which takes two reference parameters and swaps ...
[1 reply] : #include <iostream> void swap_if_positive( int & a, int & b ) // n... (by JLBorges)
Can someone help me please
its a vending Machine problem i need a program that displays 1. coke $1.20 2. Diet c...
[no replies]
I hate OOP, please give me assistance
I loved procedural programming last year, i understood the syntax and everything. OOP is such a step...
[2 replies] Last: You are told OOP is significantly different than procedural programmin... (by Duthomhas)
Can someone tell me why my function is not working?
can anyone help with the weighted grade program we have to write in programming 1? heres my code, f...
[15 replies] Last: I was able to get it to work. I want to say thank you to all of you f... (by The Noob)
Pages: 123... 23
  Archived months: [aug2017]