General C++ Programming (Page 3)

by judo11
Dictionary in C++ using File handling
I am now making a Dictionary using C++. My goal is to search the word and display the definition of ...
[1 reply] : You aren't paying close enough attention to what you are doing. For ex... (by Duoas)
Strategy of handling errors in C++
Hi Please talk me about your strategy of handling errors What do you think about this? main...
[5 replies] Last: JLBorges, I will! Thank you very much! (by Observer)
allocation speed difference between vectors and arrays (1,2)
Hello everyone! :D One of our codes, which we will publish soon, works faster with arrays than with...
[30 replies] Last: I have updated the content in our website about this topic using all t... (by ncomputersorg)
Mixing audio of different frequencies and mono/stereo?
I've build a mixer for mixing audio channels of different frequenties and mono/stereo samples, howev...
[4 replies] Last: Source of the technique used to mix (row 65-68&75-79 in the script): h... (by superfury)
OpenMP - Linker Errors for MathGL
I'm getting a bunch of linker errors when compiling MathGL with it's dependency OpenMP. From wh...
[3 replies] Last: Not trying to be a know it all, but did you: 1. run cmake 2. edit CMa... (by norm b)
by auba
Assigning string tokens to an array
Good day, I need to dynamically build a control file for a SQL loader but when tokenizing line va...
[1 reply] : Alas, that's not quite enough information to help. Could you make a sm... (by Duoas)
help with prime numbers program
#include "stdafx.h" #include "iostream" using namespace std; int main () { int x; int i; int ...
[1 reply] : The logic is incorrect. First, you start from one; every number is div... (by Keene)
[Urgent] Minimum spanning tree
Here is my code //input: 4 0 -3 5 2 -3 0 1 0 5 1 0 1 2 0 1 0 #include<iostream> #...
[9 replies] Last: Hi Duoas I appreciate what you wrote. Finally i have found the err... (by nightmaregiba)
Help With Classwork?
I am supposed to be making a program for football tickets sales, but I am not getting the out put I ...
[2 replies] Last: Use setprecision to increase the number significant digit. http://w... (by coder777)
double problem(fraction problem)
I have a debugging problem at this program but when i debug this program i found that instead of i=...
[2 replies] Last: http://www... (by mutexe)
a class of polynomials, errors
hey there, i wanna write a class for polynomials, but there are some bugs in my code and since im a...
[6 replies] Last: I feel really silly right now. Accumulating the sum is actually easie... (by doug4)
c++, inheritance , virtual
#include<iostream> using namespace std; class a { public: virtual void add() { cout<<"in a ...
[2 replies] Last: Because c and d classes does not overload add() function, so latest ov... (by MiiNiPaa)
Tic Tac Toe
We all know the game of TicTacToe. It’s easy, quick and fun. In this assignment, you will implem...
[2 replies] Last: Rofl- (by Esslercuffi)
by tmason
Accessing and working with std::vector from multiple threads ...
Hello, I have a vector that I would like to access and work with from multiple threads. I have crea...
[1 reply] : You need to put a mutex around access to the vector. See http://www.cp... (by dhayden)
String comparison
#include <iostream> #include <iomanip> #include <cstdlib> #include <string> #include <cstring> ...
[7 replies] Last: Thanks. I appreciate your help, and everyone else as well. (by VibeNFlow)
Bitset Limitation
Is bitset limited to 32 bits?
[3 replies] Last: How do I make Borland C++ Builder compile using the C+11 standards? (by jrfrago)
Nested For Loop: Vertical (*) Triangles
I can't figure this out. I have to place two asterisk triangles on top of each other BUT only using ...
[7 replies] Last: That was what Albatross had suggested. This is what Darkmaster had su... (by JLBorges)
256 bit integer
Is there any header file that supports 256 bit integer?
[4 replies] Last: Thanks. That is impressive. (by jrfrago)
Singly Linked List problem
Hi i am trying to figure out how to make a singly linked list class. I am having trouble with some o...
[7 replies] Last: The header file in your original post has // size of the list int ... (by dhayden)
by yo2xia
how do I get non-singular matrix using C++ Eigen QR decomposition
Here is the code I run in C++ using Eigen library ColPivHouseholderQR decomposition, and I have got ...
[no replies]
Pages: 12345... 54
  Archived months: [aug2014]

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