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

linker error for friend function
 
Hi , I have a class CPlant .. this is the header function Plant.h class CPlant { public: ...
[10 replies] Last: Thanks you filipe ... it worked ...thanks all of you gurus .. (by bluecoder)
C++ - Single Linked List - Ideas
 
I want to write a method to remove consecutive items with duplicate data values from a singly linked...
[3 replies] Last: you can use STL instead of structure that will be faster What makes... (by jmc)
coding practices
 
How would you rank the following coding practices in order of most important to achieve in writing a...
[13 replies] Last: The bottom line is that every programmer should strive to write the si... (by jsmith)
Maths C++ project
 
For school I need do a project about maths and I thought I could use my C++ coding to help but I rea...
[6 replies] Last: build the expression into a binary tree that maintained the correct o... (by helios)
Output File Size Issue (Solved!)
 
Hello everyone, I am writing a .dll for a separate project and have run into a problem regarding ...
[2 replies] Last: Thanks a lot for the quick reply! I switched to the C file functions a... (by Tylerzz)
more ifstream questions, vector allocation & getline()
 
I have a text file that reads: vector<Event_Information_Structure> Event_Data {["struct", "inform...
[2 replies] Last: Is this vector going to be used as an event queue? If so, you should u... (by helios)
Defining C functions in .cpp file
 
Hello Experts, My requirement is to call a 'C' function from a .cpp file and I want to define tha...
[2 replies] Last: The function should be declared within an extern "C" block in the head... (by jsmith)
can't write operator<< for std::pair?
 
Take a look at this code. I have seen some threads on this on other forums and the answer seems to ...
[3 replies] Last: The first link you gave mentioned Koenig lookup, aka ADL, so I researc... (by jsmith)
by jhapk
Turn warning off
 
Hi, I am working on a group code and looks like someone has changed something in the makefile and...
[2 replies] Last: +1 jsmith If someone turned the warning on it may be because they d... (by Galik)
How can I alter how a user-defined type/enum is displayed? (facet/locale?)
 
Hi folks For a given user-defined type or enum: eg: enum blah { FOO, BAR }; ...
[10 replies] Last: I think you are confusing the interface to a stream with its implement... (by Duthomhas)
Question about cout
 
hi all, Now my target is to convert 1000 to $1,000 ie, a number to currency format. Yes, it...
[11 replies] Last: The money_put <> facets are designed for this... Unfortunately they r... (by Duthomhas)
atof()
 
What can I do, if I want to convert "0.0" to number and at the same time, check if the function succ...
[3 replies] Last: Here is a way: #include <sstream> // ... stuff const char... (by Galik)
Bit-Shifting trouble
 
Greetings, I'm at a loss here. I was wondering if anyone knows why gcc gives me these warnings. ...
[2 replies] Last: oh wow. Thank you so much for the quick response. That totally solved ... (by BioCrunch3110)
making tic-tac-toe
 
plz help
[2 replies] Last: He doesnt know how to do tic tac toe ofcourse, First of all sir, yo... (by Skillless)
by arren
Strange problem with overloading operators
 
Good time of day! I have a problem, please, help me to solve it. Here is code: types.h: typ...
[8 replies] Last: I agree, memory leak should be, this is because I decide do not overlo... (by arren)
number convert to numerals
 
elow,everyone. pls....help me to creat a program that will read any integer number from 1 to 15...
[1 reply] : Why don't you give it your best shot, post the code here? Then we'll d... (by Galik)
Composition with pointers
 
I created a class that has as members two pointers to other classes I created. I am having problems ...
[6 replies] Last: As a general rule, if you have to free memory in your destructor eithe... (by jsmith)
Eclipse SDK
 
This might be a little off-topic and noobish, but is there a way to automate Eclipse CDT more? Like ...
[3 replies] Last: TO undesratnd...i used the pre-build feature with this command: wind... (by LoLFactor)
Threading with Serial Port read
 
Hi, I am new to this forum. I am using UBUNTU linux 9.10 where i am connecting two devices simulta...
[5 replies] Last: Thanks RedX. I will try your suggestions and soon get back to you here... (by abhimohpra)
CHAR POINTER
 
Hi Guys I have a small doubt on the char pointers. I have a case where the char pointer points ...
[3 replies] Last: If this pointer was dynamically allocated, you may already have its si... (by closed account N85iE3v7)
July 2010 Pages: 1... 1617181920
  Archived months: [jun2010] [aug2010]

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