General C++ Programming - November 2013 (Page 12)

viod*
 
Hi. There is a function int MPI_Bcast( void *buffer, int count, MPI_Datatype datatype, int root, ...
[2 replies] Last: b is a pointer to pointer, and the function accepts just a pointer, so... (by hooshdar3)
C++ Not Freeing Memory
 
Hello, I am confused on why my program will not release its memory back to the OS. Here is my code:...
[3 replies] Last: I try your code and seems to have the same problem I experimented with... (by rmxhaha)
by dkaip
How i can delete a container from a deposit?
 
Hello. I have a deposit of containers and i must delete the cats container. How i can do that? ...
[2 replies] Last: Yes i know that. But here in for loop must delete a container, no an o... (by dkaip)
Is there any advantage to write like this?
 
if I write a class default construction function from wallBoundary_t() { u=0; v=0; pDer=0; ...
[2 replies] Last: Thanks! (by northfly)
Input file and store in string
 
I'd like to input a file and store the contents of the file in a string. Here is my code: std...
[1 reply] : Don't loop on EOF! I assume you mean to strip all EOLs from the strin... (by Duthomhas)
Airplane seating chart c++
 
This part of the program is already done, i just need help completely the header file for the progra...
[no replies]
Convert Int array to an integer
 
Is there anyway we can make an integer array to an integer Thank you
[4 replies] Last: Remember your basic math. This is kind of the opposite of logarithm --... (by Duthomhas)
Integer Length Function
 
Dear Users Does anyone know of any good function that get the length of an integer in C++ I do k...
[1 reply] : Logarithm base 10. (by Duthomhas)
Help, I'm stuck on this poker program...
 
Hello there, I'm still a beginner to this C++ programming and so I'm stuck with this project that I ...
[3 replies] Last: Ok, so an overview is (I'm assuming 5 card draw poker here?): -Set up ... (by Mats)
by Emtiaz
How bitwise AND works for Class Variables?
 
In the following program how bitwise AND work for class variable? As we know: if(7 && 8) evalutes TR...
[1 reply] : & Is bitwise and. In this context, showpos is a value which has all... (by Disch)
How to jump around in the code?
 
I'm making a text adventure in C++, and I would like to know how to jump around in the code for each...
[1 reply] : Congratulations! Through your realization, you're on your way to learn... (by xismn)
by rudd
c++ programming project
 
hi, i need help with creating a c++ program that can do the following, function, -add, edit, de...
[no replies]
error : 'split' was not declared in this scope
 
Hi, I have an error : 'split' was not declared in this code I don't know why it say that because...
[4 replies] Last: Did you write the function split()? I don't think that it is one of th... (by JockX)
Trouble with c++ assignment
 
This whole semester, my class has been working on a big program in installments. Well, a couple ins...
[no replies]
Trouble deleting elements in dynamic array
 
Hi, I'm a beginner at programming and I'm having a bit of trouble trying to delete elements in a dyn...
[3 replies] Last: Thank you for the feedback. I took a break and looked at it again and ... (by icyphoenix84)
C++ RPG Project v0.3
 
This is a Console project (CMD). I haven't done extreme too much as I started not too long ago. I do...
[2 replies] Last: I think this is of a more 'lounge-ish' nature. (by closed account N36fSL3A)
by zENZEz
Ifstream failure
 
Hi guys! I'm trying to do the last part of my assignment and the code works fine, but I have an i...
[6 replies] Last: Ah yeah, fixed it all, even the leak as well by using the already exis... (by zENZEz)
by Radec
libwebsocket problem
 
Hello I try to build a project with server and client, both written in c++ and they communicate via...
[no replies]
by dd76
STL
 
HI *, I need some help regarding how to efficiently store some data, so the lookup is faster. I n...
[7 replies] Last: Thank you (by dd76)
by Shal
vector std::bad_alloc
 
I'm trying to implement a suffix tree in c++ while adding nodes to my vector list, it throws std::ba...
[1 reply] : Node root = Node(); ... currentNode = &root; ... ... (by Cubbi)
November 2013 Pages: 1... 1011121314... 46
  Archived months: [oct2013] [dec2013]

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