General C++ Programming - July 2010 (Page 13)

Using a Pointer as the String
 
I have a question that I haven't got yet. I want to pass a pointer in a void function. And count the...
[8 replies] Last: You're welcome (by PiMaster)
Selection Sort in a payroll program
 
Hello all, hope someone can help me out with this. Can someone please help me add a selection sort t...
[6 replies] Last: so where you say char employee name 20 in the brace make it MAX2. So i... (by Allenmy)
How to get past a blank line?
 
When my input file reaches a line that only contains a newline character, that same line keeps being...
[3 replies] Last: I was told to replace the body of my loop with infile.getline(moo... (by lnwlfx44)
Write a c++ program that will calculate the total electric bills
 
Im new to this one . i would really appreciate if you could lend me some knowledge about it. im look...
[4 replies] Last: it is too easy mate you are lazy (by gregson)
by elega
Template typedef as function parameter
 
Hi board! I have a situation where my (class') function takes a template class parameter, but I'd...
[11 replies] Last: (kinda kludgy, but maybe it'll get you past this hurdle so you can de... (by elega)
mutable constants
 
I'm getting an error message on each of the getters for a class i'm writting. The error says: erro...
[4 replies] Last: that was all it was. Thank you. (by ischuldt)
Unresolved External Symbol
 
I get these errors when attempting to compile my code: 1>Student.obj : error LNK2019: unresolved ex...
[1 reply] : You've only declared those functions; you haven't provided an implemen... (by jsmith)
y/n interface
 
Hey, I am not new to c++, but still learning. As in I dont get pointers but I understand classes, f...
[9 replies] Last: okay, great. Thanks for all the help (by justinmburrous)
I have a fatal error!
 
I wrote a class and a operator+ for that. in operator+ compiler causes a processor fault when i wan...
[6 replies] Last: You've not answered the questions about the code you've posted an gone... (by kbw)
by moust
Using two cpp file to implement a class
 
Hello, I was wondering if it was allowed by standard C++ to split the implementation of a class i...
[3 replies] Last: Does it also work if one method from one file call a method from the ... (by Athar)
by NGen
Working some Template Magic (1,2)
 
A couple of months ago I wrote a class that allowed me to store any single type of variable, it work...
[21 replies] Last: No, that doesn't work either, because T could be const or volatile, in... (by jsmith)
Friend declarations: nested classes and base-clauses
 
Hi there! I've got two questions about friend declarations. 1) According to the 11.8.1 pa...
[7 replies] Last: Can somebody help me regarding 1# ? (by Quentin)
by jkigen
hey people need assistance
 
some body help me write program on modularized program for computing area of a circle and the other ...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/#msg4406 (by kbw)
FAT file system (1,2)
 
How to implement FAT file system in C++,any helping material, i can't read the partition table also?...
[21 replies] Last: no, i am working in Windows xp (by atifjatt)
Please answer its important to me (1,2)
 
You are an expert on paranormal activity and have been hired to locate a spirit haunting an old reso...
[25 replies] Last: Door A: It’s behind B or C Door B: It’s behind A or D Door C: I... (by m4ster r0shi)
getchar/gets issues
 
I'm making a console chat program, but it requires you to enter the type of connection you want (hos...
[1 reply] : Use std::getline() instead. (by helios)
what is an operator
 
hi all, we all know that c++ has many operators like new , = , << etc but what essentiall...
[9 replies] Last: The only operators that can't be overloaded are . (dot), sizeof, ::, ?... (by helios)
by JohanJ
My first OO design does not work (inheritance and overloading)
 
Hi My first post. I am quite familiar with the C language subset so I do not post this in the new...
[2 replies] Last: Thank you very much for you reply! I will be away for some weeks an... (by JohanJ)
running any file
 
hi everybody i was wondering if i could make a c++ program to run any file extension what i mean i...
[1 reply] : C++ is a programming language, it doesn't "run" any file extension Yo... (by Bazzy)
by Bazzy
Template Member Specialization
 
I was trying to specialize a template method of a template class but I can't get it to work properly...
[9 replies] Last: I'm reading the template part of the ISO document, I wonder how a huma... (by Bazzy)
July 2010 Pages: 1... 1112131415... 20
  Archived months: [jun2010] [aug2010]

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