General C++ Programming - November 2011 (Page 6)

Would really appreciate help with a project
 
In this project, i need to define a struct (correctly done in here i believe), and pass in at least the functions getData, getMenu, and printCheck for a diner s...
[1 reply] : These three function has to be complety written . ... (by bluecoder)
Kindly Help on Functions
 
Dear gurus, I am trying to combine two functions in one program. I have them in separate and have no idea how to combine them into one. Your help would be mo...
[3 replies] Last: #include <iostream> #include <string> #include <sstream> using names... (by bluecoder)
Displaying a List using an iterator.
 
#include<list> #include <iostream> using namespace std; int main() { list<double> numList; //add the values 12.7, 9.65, 8.72 and 4.69 to numL...
[1 reply] : list<double>::iterator dbl; for(dbl=numList.begin(); dbl!=numList.... (by bluecoder)
help me plz
 
hi all i have a problem and i hope someone will help me. i have this program and i want to find the absolute maximum difference between y1 and y2 ??!! i have...
[1 reply] : I mean the maximum difference for all the numbers for example, if we ... (by squ2009)
Large Integer Arithmetic Assignment
 
I have an assignment wherein I am supposed to use dynamic arrays to store two integers of any size and add those two integers together. The goal of this assignm...
[1 reply] : Before you get into programming logic, I want you to think about your ... (by Gaminic)
Need help with Deques
 
#include<iostream> #include<deque> using namespace std; int main() { //declare a deque named deq to hold characters deque<char> deq ; ...
[3 replies] Last: Staring builds character :P pun intended. (by rollie)
cout problems
 
I have some code: int main() { bool success = true; nodePtr head = NULL; int skipNum; char file ; cout << "Enter the skip number: "; cin >> skipNum; ...
[5 replies] Last: int main() { bool success = true; nodePtr head = NULL; int skipNu... (by bluecoder)
Need help with finding sum of an array.
 
I need help finding the sum of the expense in this array. Please tell me whats wrong with this and help me fix it. Will appreciate it thank you #include <io...
[4 replies] Last: it looks like it lol. I tried many things but didn't work and I forget... (by MglMogul)
Need help
 
I am having trouble outputting the months and day and I can't seem to find a way to display them on output as I continually getting 1,2,3,4 and so on under "wee...
[no replies]
Need Help with Daemon Proxy Server
 
TLDR: Teacher wants me to build Daemon Proxy Server, don't know how. Help. Hello, I am having trouble with an assignment my teacher gave for an end of seme...
[no replies]
getline help
 
How do you use getline(cin, input); cin.ignore(); without the double space. also as a side note how do you prototype a function?
[3 replies] Last: Then remove the line cin.ignore(); . (by Galik)
Help please
 
I have a file filled with game ideas and codes and i was wondering my compiler is code blocks how would i go about making it to were when you click the file it ...
[4 replies] Last: Thankyou very much. (by joshrocks)
advanced
 
Whats a good place for me to learn advanced c++ such as graphics,sounds,videos,picture,camera,Vectors etc.
[no replies]
can someone help me with classes
 
I'm trying to write my homework without a lot of help from the internet, but I"m having a bit of a hangup on getting my head around a bit of information. I h...
[1 reply] : Example: class MyPrivateIntValue { private: //Nobody outside the... (by webJose)
C++ Object oriented program help
 
Hi, so i'm completely lost in object oriented programming, and i thought that i could get some help on here. For my project i have to ask the user to first ente...
[no replies]
how to convert c to c++ code
 
i having a problem to convert this c coding to c++ coding...can anyone help me to convert it...i need to use it this tuesday.. #include <stdio.h> #include...
[13 replies] Last: thank you very much. all the answer is improve me (by ralgrado)
by LB
Should there be short circuit compound assignment for booleans?
 
Consider the following code: bool b = somefunca(); //...code...cannot do bool b = somefunca() && somefuncb(); b &= somefuncb(); In this case, even if somefunc...
[1 reply] : I don't think they're needed. That would be a very exotic case, becaus... (by Athar)
by vlc25
need help with output
 
Hi
[13 replies] Last: Haha well that was a fail, I should look at who the OP is before posti... (by ultifinitus)
srand help
 
Hi. I want to write a program that, for example, picks a number and keeps that value until I guess it and then asks if I want to play again at which point (if i...
[8 replies] Last: thank you based on your help I got it working (by Aramil of Elixia)
by jackie
Need help with this Counter
 
I am trying to search through all the records from start to finish and each time a record with onward connections is found the total count should be increased b...
[no replies]
November 2011 Pages: 1... 45678... 47
  Archived months: [oct2011] [dec2011]

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