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

calling function from classes
 
Im trying to call a function from a class called report but i cannot call i have tried calling it li...
[3 replies] Last: http://cplusplus.com/forum/articles/40071/#msg218019 There is no prob... (by ne555)
cout second smallest and largest number
 
Hello, How can i print second smallest and largest numbers entered without using array. (IF, Switc...
[6 replies] Last: double max = 0; // largest # seen so far double max2 ... (by xlswitch)
Website and Payment
 
Hello Everybody :D I think i came to the wrong place to ask this question because it is about web...
[1 reply] : You need to put a "if condition" in the payment routine function to ch... (by crosslink)
Class Help (Errors Acessing Data)
 
I have over 50 classes of information. I want each to have a name, description, and cost inside thei...
[8 replies] Last: Thank you! (by dfurball)
Help me plizz
 
What this code is gona do a show after compile. Class ex{ int x; Public: Ex(int x) {this-...
[1 reply] : Why don't you compile it and see? This sounds rather like a homework p... (by anonymous23323124)
Multithreading problem.
 
I have problems with multithreading. When I do like this: boost::thread thread ( boost::bind ( _...
[3 replies] Last: Up (by Scottas)
by jrybar
Rewriting old program using functions!
 
Hey guys, my assignment is to rewrite this old program that I wrote by using various types of functi...
[no replies]
Search string in a file & then copy the next 5 lines t 2nd file
 
Hi I wrote the below code to search a string in a file (in file1.log) & once it find the line,...
[no replies]
String
 
I have to enter two words into this program and everytime i hit the spacebar, and another letter the...
[2 replies] Last: if you are doing it like: int initCount = 1; string initWord; char ... (by Azagaros)
Does Anyone Understand Semaphores?
 
I have a project in my C++ class that I've been having some trouble with. I don't fully understand s...
[4 replies] Last: It's C++/CLI --- not generally accepted on this forum. Not many peopl... (by closed account 1yR4jE8b)
C++ to BCD conversion help
 
Hey everyone im working on programming an attiny2313 with AVR studios, im looking to convert this co...
[no replies]
would you please help with my program calculation?
 
I can get my program to run and everything looks right except i cannot seem to get the parking fee t...
[10 replies] Last: Thanks Programming Noob. Your Awesome, You did solve my programing pr... (by Psych)
problem looping and array
 
hello, i done this program and try to execute it. but it still have error at the third looping. can ...
[4 replies] Last: No, they are ALMOST the same. Arrays start at zeroes, so when your lo... (by whitenite1)
by CSD00d
Problem detecting enter key with Cin and Template
 
I'm currently working on a bit of code which takes in a value of a template of type "item." After th...
[no replies]
template compiler complication still exist ?
 
COMPILER COMPLICATIONS Many compilers do not allow separate compilation of templates, so you may n...
[1 reply] : It looks like Comeau would be your best bet if you want to use the ex... (by shacktar)
Determining whether to concatenate CSV values or not
 
I am writing a program that needs to read in a CSV file of customers. However, some customers are p...
[1 reply] : ¿could you? Change the delimiter, quote your fields, parse from righ... (by ne555)
How to complete the user define function; I did 3 functions
 
#include<iostream> #include <iomanip> using namespace std; void convertFtoC(in...
[no replies]
by Thamir
I need some help
 
hello . how can I halt infinte loop (EX:this loop is to capture network packet) by pressing any bu...
[3 replies] Last: void StartSniffing(SOCKET sniffer) { unsigned char *Buffer = (char ... (by Thamir)
delete and destructor
 
I am dumb today and confused. It is bible to me that each new should be paired with one delete. Also...
[10 replies] Last: I think I got it now. This isn't like just making variables, this conc... (by cheawick)
pointer addresses--help.
 
hello, I'm exercising on to how manipulate with pointer addresses, this piece of code work's fine ...
[9 replies] Last: char* a = new char ; //a point to the memory that allocated by new. ... (by youtubezou)
November 2011 Pages: 1... 3940414243... 47
  Archived months: [oct2011] [dec2011]

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