General C++ Programming - July 2014 (Page 13)

by abbash
General C++ Template class
 
#include <iostream> template<class T, T t = T()> class A { private: template<bool b>...
[2 replies] Last: Cubbi, Many thanks. It is clear now. Kind regards (by abbash)
File Icon
 
Is there code that determines what the program.exe icon is or is it entirely unrelated to code?
[4 replies] Last: (if duoas is telling you to use it, you should probably use it. but th... (by Little Bobby Tables)
Code error please help!
 
Everytime I try to compile my program it gives me an error I'm not familiar with, I will post the re...
[5 replies] Last: Oftentimes, the compiler may "point" to a function stating that it is ... (by Little Captain)
Arduino Bot: Virtual Controller and Path Map, How to...?
 
I know how to create your basic programm that compiles as a CLI or exports and/or saves data to a .t...
[4 replies] Last: Qt is fairly simple to use for GUI. http://qt-project.org/ (by giblit)
mysql connection object in other classes
 
MYSQL *conn; MYSQL_RES *res; MYSQL_ROW row; char *server = "server"; char *user = "user"; ...
[2 replies] Last: I've tested it with valgrind, and it's bad. Memory leaks, and it gets ... (by oraclekid)
Need help with Calculator
 
This is the code to my calculator. It is supposed to be set up like an accountants in that you star...
[7 replies] Last: Thank you. I will make several changes to it and then post. (by gallimorej)
by abbash
How does this program work?
 
#include <cstddef> #include <iostream> class A { public: A() : m_x(0) { } public: ...
[3 replies] Last: @Disch Thank you very much for your detailed explanation. It was very... (by abbash)
Need Help with C++ Calculator
 
This is the code to my calculator. It is supposed to be set up like an accountants in that you start...
[no replies]
EMGU CV thresholding exception
 
So I'm trying to threshold a video feed, and I'm getting a weird Exception that shuts down my progra...
[no replies]
Passing parameters in threads (1,2)
 
So, I've figured out some stuff about it, now the only thing I need to learn next is how to pass arg...
[32 replies] Last: Thanks! it works now :D now I just need to analyze how all of these w... (by greenleaf800073)
Heap Class
 
how to program a binary heap class that can insert
[3 replies] Last: I dont want to copy anyone else work.. this is what I got so far.. how... (by whoovian11)
Help with password program my strong and medium functions don't seem to work. I need them to
 
#include<fstream> #include<string> #include<iostream> using namespace std; bool searchCommon(s...
[4 replies] Last: Lines 181-192 are problematic. They are logically equivalent to: ... (by booradley60)
Create Texture From File
 
Im having problems with this little function im making for some reason the texture dont get creat...
[6 replies] Last: I tried it just like that before i made this topic. But it dont create... (by poohpooh)
help guys i really need help with this problem as i have 0 knowledge regarding c++ pls help !!!
 
convert a positive integer code into its english name equivalent for digit. A valid code is of size ...
[8 replies] Last: 1. Read a word. 2. Test if word contains character '0'. 3. Test the le... (by keskiverto)
Vector Iteration C++11
 
I have a vector of pair<int, int> . vector<pair<int, int> > A . I have sorted this vector by the...
[5 replies] Last: How does that help? Lets take {3,2,1}. Three inversions: 3-2, 3-1, 2... (by keskiverto)
Horizontal+Vertical Toolbar Win32 API
 
Hey All! I have been searching around for a fix to the toolbar issue i have. I have created two of ...
[no replies]
Declaring object of a class in another class
 
This is my first post and I'm thankful for all of your answers. I'm learning C++ with an online book...
[15 replies] Last: @ne555 >There is no reason for 'CGame.h' to include 'CPlayer.h' You ... (by HalfNOoB)
Help with a Bubble Sort
 
I have a bubble sort that takes 10 numbers. Before I modularized it it worked fine, but somehow when...
[6 replies] Last: Thanks, that clarifies things (by mendus59)
by kawni
cant complie
 
hello im new at this forum and im having a problem with c++ compling building debug any thin...
[3 replies] Last: 2 days no new reply so up (by kawni)
by vanev
Dynamic Arrays and User Input
 
Hi all, I'm still fairly new to c++ and am having trouble with dynamic arrays. My task is to crea...
[1 reply] : You need to get the input before you create the array. int tnos; ... (by ResidentBiscuit)
July 2014 Pages: 1... 1112131415... 26
  Archived months: [jun2014] [aug2014]

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