General C++ Programming (Page 3)

which header file contains mmap and munmap?
 
i am using visual studio 2010 for my work. Which header file contains the mmap and munmap functions?...
[1 reply] : None. Those are POSIX functions. If you want to use shared memory, y... (by kbw)
Subtracting value from 2 integers in 2 classes
 
The title is confusing i know, i couldn't think of the right name. Anyway, i have 2 integers, both i...
[2 replies] Last: I figured it out with inspiration from iHutch105 (thank you). I made a... (by Texedova)
.csv with searching
 
My .csv file is like: Bone,origin,deep/superficial,location, action. with list of 38 bones. This is...
[11 replies] Last: I don't know what function you mean. If you want to use csvData wit... (by coder777)
no operator matches this operand
 
#include <iostream> #include <string> using namespace std; class Account{ private: stri...
[4 replies] Last: tq very much its solved now (by raaj5671)
Communication between QThread and boost threads
 
The Gui is in Qt and Api is in boost. The Gui is meant to sit on top of Api. One of the functions of...
[no replies]
what is this?
 
What is the member this in visual c++? ex.. QueryInterface(IExample *this, REFIID vTableGuid, void...
[1 reply] : What is the member this in visual c++? It doesn't hold any special ... (by cire)
Some syntax errors etc
 
I am new to this forum so please excuse any errors i make! I have recently started programming in c+...
[13 replies] Last: the program is complete with no errors (thanks to the help of you guys... (by Jamal Petrelli)
Help with starting this program so confused?
 
The classic toy the Magic 8 Ball make predictions about the future if you asked it a yes/no questio...
[1 reply] : Any line. You just trow it away anyway: 8Ball doesn't care what are yo... (by MiiNiPaa)
Wierd Answers
 
I have been getting weird answers when decimal numbers are input into a, b, or c variables in my qua...
[1 reply] : The one of the problems is with your globals and their supposed "initi... (by MiiNiPaa)
please help with my homework
 
B. Circle in a Square Write a C++ program that will ask the user to enter the area of a square. The...
[1 reply] : Using math.h library is not allowed. Can you use <cmath> then? :)... (by MiiNiPaa)
Do While and Repetition
 
Hello everyone! I need some help and hopefully I can find a few answers... I have this program wr...
[4 replies] Last: Thank you! (by squegles)
access data outside a function
 
I was wondering what the best way was to access data outside the function it was created in. I have ...
[2 replies] Last: Tried that global variable thing, namespace functions { //my .h ... (by Aerion4)
by bardia
Time and Date as Text File Name
 
Hello, I'm new to this forum, but I have been using it's advice and it's been great. Anyways, I've b...
[1 reply] : NVM, I'm sorry. Just solved it, with *cough cough* another forum. Her... (by bardia)
need help drawing a rectangle
 
hello i'm trying to create a rectangle in c++ using vectors that have a menu to select the size and ...
[2 replies] Last: it's telling me for needs a { and shapeSize isn't defined? i don't get... (by purplebud)
Need help with my beginners restaurant program.(mainly the tax)
 
Hello everyone I am working on my first C++ program ahead of schedule and I think I almost have it d...
[6 replies] Last: ^^ done thanks forgot about that =) (by Nonstickrudy)
by Jgwman
String to multidimensional char vector
 
Hello, today I was working on a program which compares sequences of characters, counts the differen...
[7 replies] Last: Sorry for taking so long, that's what it was supposed to do, but would... (by Jgwman)
Templates Mangling my Mind
 
For my data-structures class, I am attempting to create a binary search tree template to be used to ...
[4 replies] Last: (this is getting ridiculous common, ¿where is the FAQ?) http://ww... (by cire)
Help With Binary Tree Template
 
When I compile the program, I get errors I've never seen before. Any help to resolve this will be ap...
[2 replies] Last: Thanks ne555 (by BinaryGeek)
by virk
passing array as argument to function?
 
how can i pass an array as an argument to the function? in getCoin() fcn, I am supposed to pass co...
[4 replies] Last: THANKS a lot Smac89 and vlad from moscow. I appreciate your time guys.... (by virk)
by Bound
Pointer to an array of pointers
 
Hey guys, I'm just trying to get a handle on the uses of pointers here. Though clearly from my error...
[4 replies] Last: That was it, thanks a ton! (by Bound)
Pages: 12345... 53
  Archived months: [dec2012]

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