General C++ Programming (Page 30)

Static variable not maintaining it's value
I've been toying around with a multitude of topics including function templates , exceptions , mak...
[3 replies] Last: You could also try a functor class something like this if you wanted t... (by doug4)
openGL MATRIX transformation question
Hey Everyone, When we move around our Scene using Matrix transformations such as glTranslatef and...
[2 replies] Last: Thanks for the answer. What i'm trying to figure out is, if I'm using... (by Cydriic)
Please, help me with the following two errors, I cant't understand what happens: 1st) Error 2...
[8 replies] Last: No, 'frasecifrada' is pointing to 'frase' that was not dynamic allocat... (by ne555)
How do I create member function to represent embedded task in C++
The following code is an example of how task are created with micro cos III in c. I am trying to fig...
[2 replies] Last: What I would like to know is how do I create member functions to repre... (by glennpl)
Merging two int text files
I have come up with code for this, but am currently having issues finalizing it. It seems that it on...
[9 replies] Last: What is the point of passing empty streams? For a homework, nothing,... (by Duoas)
Problem with sorting using rand()
Hello,i'm sorry to bother you with simple question like this but i'm learning c++ and i can't seem ...
[3 replies] Last: Thanks! (by herman13)
Using array initialisation list for my own class
Hi geeks, i'm currently working on a research project and i've been given some specifications, one o...
[3 replies] Last: Thanks guys! This place rocks! Though the solutions aren't what i real... (by Olyboy16)
Checking if a program is running
I have a question, how can I check if a program is running using c++? For example if (notepad....
[3 replies] Last: You use that function that kbw showed you. This unfortunately requires... (by NoXzema)
Help please on basic error
cout<<"************************************************************************"<<endl; cout<<"|\t...
[3 replies] Last: On line 6, remove the ; at the end of the line. Same thing on line 11... (by Stewbond)
How to extract and modify a "sub-vector"
I have a std::vector<int> and I want to modify subset of the elements. I thought I might be able to ...
[3 replies] Last: I mean something like std::for_each(a.begin() + 3, a.begin() + 7, (... (by Cubbi)
C++ Program Bug need Help
Hey, I've got a problem in the following program: (actually it's a little simulation of another ...
[4 replies] Last: thanks man. it's working now :) (by Sleicreider)
need help for typecasting
How can you convert int type to const char*
[2 replies] Last: const char * text = "Some words."; cout << text << endl; ... (by Chervil)
Just starting C++ Curious on what to learn for basic projects
This is what I need to learn by next may, plenty of time, but no idea where to start on these, I hav...
[3 replies] Last: Write a program that takes in a division, and instead of outputting t... (by kbw)
Tag Mobility Code
Hello experts, I really need help with this problem. I divided my question into three sections, Init...
[6 replies] Last: So does that mean you're simulating a vehicle that moves around with a... (by coder777)
by bonho
real time processing
I'm developing a platform that is expecting to receive signals, process them, and react by sending i...
[5 replies] Last: My in-signals are generally network messages or internal messages with... (by bonho)
Given a parameter pack, create any new one from it
First basic kind: template <int OMIT, int TAKE, typename TUPLE> struct partial_tuple_concrete {...
[10 replies] Last: Ok, I think we are done then. And I thought of a very general applica... (by prestokeys)
by JJ1972
Change length of an array using gdb
I have a program with the following code, and I need to be able to either change the value of any or...
[1 reply] : To store values into arbitrary places in memory, use the `{...}' cons... (by kbw)
Pointer data members!
From many literature sources(online and print), one is instructed that if a class has a pointer data...
[2 replies] Last: The compiler-generated copy constructor and assignment operator will c... (by helios)
How to retain fraction form, not decimal of division
I need to set something up whereby the result of 10/4 = 10/4, not 2.5. Basically if the result isn'...
[6 replies] Last: boost::rational<int> r( 44, 14 ) ; // 22/7 int numerator = r.numerat... (by JLBorges)
While loop
I have a question, how could I use c++ to try and figure out a password. If you are wandering, yes I...
[1 reply] : You would launch the batch file with CreateProcess from the WinAPI and... (by Computergeek01)
Pages: 1... 2829303132... 41
  Archived months: [may2014]

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