General C++ Programming - June 2011 (Page 14)

Linker problems with class template and member function specialization
 
Hi, I am new to template programming and the problem I am having, might really be trivial! In any c...
[4 replies] Last: The idea wasn't to make it inline but to define it in a source file (a... (by ne555)
name search not functioning in filestream
 
ok, here is the new code i made there is a problem here, i cant seem to display a particular informa...
[no replies]
filestream not working here
 
i have this code and everything works except for my void remove function here is the code: can some...
[1 reply] : Any chance of formatting your code? There's quite a lot of it and it'... (by kbw)
Friendship and inheritance
 
Hi! I could use some help with inheritance and friendship. I have the following classes: cl...
[7 replies] Last: I took the public methods route you suggested, thank you! (by Bobruisk)
by timmy
constructors
 
#include<iostream> #include<conio.h> using namespace std ; class time { public: ...
[3 replies] Last: How about this? I suspect you're including the time function, either v... (by Moschops)
boost
 
hello all.. recently i joined a s/w firm for summer training.project is on c++ with boost library....
[3 replies] Last: Assuming you're on Windows, google for boostpro computing. They have i... (by kev82)
by timmy
major problem in file handling
 
#include<iostream> #include<conio.h> #include<fstream> #include<string> using namespace std; in...
[1 reply] : You could use a stringstream: #include <sstream> //... for(i=0; i<... (by m4ster r0shi)
boost::regex example runs error throwing an instance of 'std::bad_alloc'
 
Here is the example - #include <cstdlib> #include <stdlib.h> #include <boost/regex.hpp> #include...
[no replies]
by timmy
object serialization
 
may i get a simple example of object serialization and deserialization?for eg-i want to write data o...
[no replies]
Passing an LAPACK (Fortran linear algebra library) function a pointer to double rather than an array of doubles
 
Hey guys, I'm hoping one of you can help me out with this. F.Y.I. The problem might be sol...
[no replies]
Casting Issue
 
This is for some avr code and I'm not sure if this is a normal error (this is C code). These are all...
[1 reply] : You need multiple lines to perform the cast. String* s = (String*)(... (by jsmith)
Future value question
 
I am new to C++ and worked hours on this today. I need to calculate the future value. Can anyone che...
[9 replies] Last: I think one thread is plenty: http://www.cplusplus.com/forum/beginner... (by shacktar)
by timmy
recursive functions
 
may i plz get some new good problems on recursive functions?
[11 replies] Last: [quote=moorecm][A good example of recursion] is any kind of hierarchic... (by Mathhead200)
by timmy
time
 
plz tell me how can i add a clock in my c++ program?i want it to tick at the top of my output..
[2 replies] Last: A header as the other poster said would be a good place to start. To ... (by jrozkov)
by kayman
pointer question
 
I'm having a problem understanding the difference between these two pointers: ndpt->gConcentratio...
[1 reply] : If you have a double asterisk, it means you have a pointer to a pointe... (by Disch)
Storage binding and deallocation
 
I'm doing a study guide for my programming class and here is one of the questions. I don't really kn...
[1 reply] : "storage" refers to using memory. a. How do you create a variable tha... (by Duthomhas)
string to array of numbers
 
hi. i'm sure this has been asked before, but i haven't been able to find this, so i'll just ask. ...
[5 replies] Last: It depends on how many lines the user may input before terminating. I ... (by Duthomhas)
static Create function
 
class Base{ private: Base(int arg){ GlobalVariable.BaseVector.append(thi...
[13 replies] Last: [quote=L B]So, by using a #define statement instead of doing it in the... (by m4ster r0shi)
Any good summer camps for beginner C++?
 
Hey I was trying to look around online but I was having trouble finding any good summer classes for ...
[2 replies] Last: thanks im looking for that too :) (by zaqwerty)
by timmy
file handling
 
i am making a program which takes care of all the details of a student using file handling.is it adv...
[1 reply] : Both methods have been employed. However, I recommend you to using a s... (by Duthomhas)
June 2011 Pages: 1... 1213141516... 28
  Archived months: [may2011] [jul2011]

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