General C++ Programming - November 2017 (Page 14)

by helios
Mysterious undefined reference error
This is what my setup looks like: A.h #pragma once extern const byte_t packed_image_data ;...
[4 replies] Last: Ah, I see. Alright, that answers my question, thanks. (by helios)
Error: Expression Must have a pointer type
title character.cpp bool Character::addItem(Item *item) { if(item->m_iType == BATTLE_ITEM) { ...
[3 replies] Last: fixed.. THANKS (by iosgaming700)
I have been stuck on this project for a week and I need a program written for it by tomorrow night. ...
[4 replies] Last: enter number of phone lines - 4 cist of phone - $20 $15 for first gb e... (by maddyj98)
by keagw
Hi, I am trying to make a program and our schools autogravder doesn't like cout, rather it likes "re...
[6 replies] Last: If start and word and end are of type string : return (start + word... (by Repeater)
problem diffusion limited aggregation
hi I need help, I have this code and I have to change it in a diffusion limited aggregation of radi...
[no replies]
make an 2 dimensional array (like 6 *6) and then split it in 2 vertical slices in c++?
I would like to know how I can make a 2-dimensional array (6*6) and then split it to two vertical sl...
[6 replies] Last: Thanks @joinnin Done (by HAKAN FRED)
how to use MPI for 2d and 1d ?
Hello everyone: { = Thanks to lastchance} I would like to know how to use MPI in parallel proces...
[19 replies] Last: @lastchance Thanks alot. (by HAKAN FRED)
How to use MPI_Gatherv or MPI_Gather after ScatterV
Dear All: I found the code from: ref:
[10 replies] Last: Thanks. You are right i should not put new topic in this forum. I will... (by HAKAN FRED)
Cant print out pattern
#include <iostream> using namespace std; void pattern(int n, int shift); int main() { int n;...
[1 reply] : if(n=2) should probably be if(n==2) What's the pattern rule? How ... (by Repeater)
Help with a class, again....
I have this class: class Horario { horpiece p ; public: void asignarl (horpiece p2 ...
[2 replies] Last: Allright, thank you in advance, I will first try std::copy It.....WORK... (by Demrottens)
Sparse Matrix deteminant and inverse
Hi all , As in the previous post I'm implementing a sparse matrix using vecor<map<index2, valueType>...
[5 replies] Last: See if those links make sense. The Eigen/det relationship would take ... (by jonnin)
Inheritance CI/SI/fixedDeposit
Question : Consider a Base class as defined below: class fixDeposit { protected int accno; // ac...
[2 replies] Last: Yes, you are right. Thanks (by abcdef123)
Sparse Matrix class
Hi everybody ! I'm implementing a sparseMatrix class using vecor<map<index, type_value>> as contain...
[2 replies] Last: I've prefer use this solution : template <class T> SparseMatrix<T> d... (by drudox84)
Error function may not be redeclared outsied of its class
Possessions.h class Possessions { private: Item *m_pRoot; public: Pos...
[2 replies] Last: I have made this mistake many times. It happens easily when copying th... (by Peter87)
Issues with points and char arrays.
I am attempting to build a wordcount program for a homework problem. When I run my program I get a...
[1 reply] : Lookup strdup(), it'll save a few lines of prep code. You have to use... (by kbw)
by teeper
Randomly Generating String Length
I'm trying to randomly generate a series of letters from a character pool A-Z, but want the string l...
[10 replies] Last: @Duthomhas Will do!!! Lots of thanks :) (by teeper)
Need Help Overriding Virtual Function
I'm in the process of abstracting the transport used for queueing in the OSS project ZDB. I've buil...
[6 replies] Last: Thanks for the additional context, goldenchicken, ne555, coder777. It... (by atrerus)
New to classes
I am programming a schedule and task manager, something like an agenda for me to use. I have this c...
[2 replies] Last: thank you :) (by Demrottens)
need help shifting arrays!
I am supposed to shift the items in the array one place to the left. I also need to throw out the fi...
[no replies]
i need a little help for my assignment
i need help on the algorithm to write this program. please don't give me the code to solve the entir...
[2 replies] Last: actually the 1,2,3,n-1,n are subscripts of a (by dozalee)
November 2017 Pages: 1... 1213141516
  Archived months: [oct2017] [dec2017]

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