General C++ Programming (Page 30)

How to set individual characters in a 2D array
I have this project for school that requires a 2D array of filled with spaces that will be set t...
[no replies]
Derived Classes (Segmentation Fault)
I have this assignment that uses classes that derive from other classes, but for some reason I can't...
[5 replies] Last: Whoa... Okay, I see what happened. I have to rewrite my notes, I confu... (by KrypticCliff)
emergency call please... files ..ifstream!!
please anyone.... its an emergency here.. i`m stuck and my brain just stopped working :'C so t...
[7 replies] Last: You may use an outer loop for all students and an inner one for his/he... (by tcs)
Array vs linked list implementation for Stack
Basically what are the advantages and disadvantages of having an array implementation vs linked list...
[1 reply] : (by kbw)
error syntax c++
for( const auto& i : myvector ) // i { int colone = 0; for( auto j : i) // j...
[3 replies] Last: The older for-loop syntax. Note though that the auto (as used above) ... (by keskiverto)
by Nanyo
mousemove and mouseclick
Hello everyone, Does anyone know how to simulate mouse move and mouse click using code::blocks a...
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
Android NDK
My attempts to make a simple android app completely in c++ have failed after I tried to instal andro...
[3 replies] Last: Isn't the Android NDK itself proof enough? It looks like the current ... (by LB)
Getters and Setters Acting Strange (or maybe Code::Blocks)
I have two classes, a Deck.h and a Card.h. Of particular interest are the following functions in Car...
[2 replies] Last: I have them written that way in Card.h. They work fine. The error is a... (by TsarLenin)
Translating a recursive function into a iterator function
Hey, how do I change the following recursive function into a iterator function and basically what sh...
[1 reply] : To handle this you need to computer the values f(3), f(4), f(5), ... f... (by dhayden)
Making a cursor without using graphics
Hi guys I'm new to c++ So I have a project to make. I need to make a cursor like an arrow that will ...
[2 replies] Last: Well windows lets you set your cursor ( (by zoran404)
Solved, thanks
[5 replies] Last: Original post (too long for one message): (by MiiNiPaa)
by Shahan
adding/Deleting Object Dynamically runtime
How to add/delete object dynamically run time ?? I have a question in which i need to add/delete obj...
[2 replies] Last: hmm...Your question is not clear. You can try using new and delete key... (by rjvc)
Someone help please.
Write a program to make a table for any input number and then continuesly ask to press y to print mo...
[2 replies] Last: I honestly don't know, but people expect you to at least attempt some ... (by mutexe)
Why am i having this segmentation fault(core dumped) error?
Hey guys, I am having this error and I can not solve it. I am new to C++ and I need to solve this...
[1 reply] : The problem is this: for(k = 0; k < 9 ; k++) // Note: 9 is out of b... (by coder777)
by hansO
function call from header
Hi, i've got These 3 files: // OTI.h extern void Unpack(void* Packet); // PackUnpack....
[2 replies] Last: 1) Probably not 2) indata is a packet divided in Byte sections. Do i h... (by hansO)
I have to make a program that takes several numbers into an array into a function, and send them bac...
[2 replies] Last: And please use code tags (this little "<>"-button at the right side of... (by tcs)
Zombie process
I am looking into how to create zombie process. They are created when parent process don't call wait...
[2 replies] Last: Konstantin2s code will really work - but you may run in trouble :-) A... (by tcs)
Scope rule
Why even thought add is global, when passed in function test it's value is not updated outside of fu...
[8 replies] Last: When there is ambiguity, the closest enclosing scope is chosen. It's t... (by LB)
[initializer_list] Problem with using initializer_list as function parameter
#include <iostream> #include <initializer_list> using namespace std; void doSomething(std::initia...
[3 replies] Last: I've already added -std=c++0x. Use -std=c++11 (by MiiNiPaa)
by user08
Boost serialization. unregistered_class exception.
I need to use boost serialization to serialize some structures. This code does not work the unregist...
[no replies]
Pages: 1... 2829303132... 58
  Archived months: [oct2014]

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