General C++ Programming - July 2009 (Page 10)

Forward declaration of boost class
 
Hi everyone! I need to use boost.Random in some places of my program and I need to do a froward d...
[4 replies] Last: But it does not compile on my Xcode 3.1.3 :( (by THRESHE)
functor won't change internal data
 
When called in adjacent_find , the p pred variable's data member decide does not change. Why? I...
[6 replies] Last: Rather than making it static, you should make it a reference, then wri... (by jsmith)
program efficiency timer problem
 
I just want a simple function that I can call twice per run of my program that will return the time ...
[5 replies] Last: Arg, I use a laptop... I havent heard of most of those functions, so I... (by Geinbits)
by Dken2k
Having a hard time with functions
 
OK I'm a beginner and I have no idea what the parameters are for and I have no idea how to call the ...
[12 replies] Last: Thank you Geinbits and Duoas, and the rest of you who replied to my po... (by Dken2k)
plotting points in a graph
 
i need help graphing a (x,y) axis and plotting 5 points to make a parabola point1 should be (0,0)...
[no replies]
OOP in c++
 
I am learning Object oriented programming using C++ , i wonder if there is any site or book that hav...
[1 reply] : This site: http://www.cplusplus.com/doc/tutorial/classes/ (by firedraco)
Allocating Template Objects Dynamically
 
Alright, I need to write a data structure which may possibly need to contain very large objects, ...
[3 replies] Last: Generally / Simply: yes Technically: No. There are ways to work ... (by Disch)
Writing Device Drivers
 
Hey everyone, I have become really interested in writing device drivers as of late, unfortunately...
[4 replies] Last: Hey, Thanks for responding. The target systems I am looking at are ... (by datta016)
maps
 
Hello, recently I stumbled upon the <map> library. With its possibility to make associative array...
[3 replies] Last: Binary tree search, usually (but not necessarily) on a red-black tree.... (by helios)
recursion assignment
 
1. Write an iterative and a recursive version of the Fibonacci series algorithm. You need to ensure ...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by helios)
Recursion issues with quicksort
 
Hi guys, I have a problem I'm trying to solve for a long time. I am supposed to write a quicksort fu...
[2 replies] Last: Thank you for your help! I didn't know that increments and decrements ... (by kusunoki)
I keep playing with this program, and I can't compile anymore
 
#include <iostream> using namespace std; //include protype functions enum AccountType {unkno...
[6 replies] Last: Thank you everybody, I'm still trying to get used the array structs an... (by steinzfan)
dll files and redistributable package
 
Hi I have a version of vs 2008 pro edition. I'll start with redistributable package... How do I ...
[8 replies] Last: I see. I hope it will work. I'll try to send it to someone to see if i... (by Cojones)
returning a function pointer
 
hello i'm having some troble with returning a function pointer; here's the problem le's say i h...
[1 reply] : Pointer to method have a complex syntax, if I understand what you want... (by Bazzy)
reading in a file from the C drive
 
I want to write a program that allows me to read a file from my computer's C drive and manipulate th...
[2 replies] Last: Also, manipulate how? (by helios)
How to start a C++ matrix class like this?
 
Hi, I want to design a two dimensional matrix C++ class of myself. In prospect this class shou...
[1 reply] : From a design standpoint, the first requirement is a poor one. Why no... (by PanGalactic)
lexical analyzer (Tokens)???
 
im having a problem solving the 6 errors i have will someone help me with this im stuck???! lexi...
[1 reply] : The messages are telling you everything that you need to know. Hint: ... (by kempofighter)
by vijkrr
how to parse a string in C++
 
Hi all, I want to parse a std::string, the delimitor is '\n'. For example, string s = "hi all...
[2 replies] Last: Use a stringstring hmm didn't you mean stringstream ?... (by R0mai)
how to cause interrupts using c++
 
Hi guys .. Here is my scenario, I am getting data out of say an interface or a port for example say ...
[3 replies] Last: He thanks a lot guys. Was helpful. (by ishaanthereddevil)
Problems with File Input
 
#include <fstream> #include <iostream> using namespace std; int main() { //Variables fs...
[3 replies] Last: That did it, thanks! (by Wr3ckinCr3w)
July 2009 Pages: 1... 89101112... 14
  Archived months: [jun2009] [aug2009]

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