General C++ Programming - November 2009 (Page 11)

Is there a better way of searching enums???
 
I have an enumeration (below) to search. I would do a very simple switch; but I want to have the opt...
[8 replies] Last: Agreed. The problem with the example is that it is mixing two types of... (by Duthomhas)
Sine and Cosine Calculations in C++???
 
Im trying to generat sample values of x(t), y(t), and z(t) at a sample rate of 0.01 for "0 less tha...
[6 replies] Last: just want to state the problem again: Write a C++ program to genera... (by sl02ggp)
Overloading functions
 
Hi, I have a base class A. Another class B derived from base class A. Class A does not have a de...
[3 replies] Last: You have to define a constructor within class B that calls one of the ... (by kempofighter)
Problem Viewing Strings in Debugger (VS 2008)
 
Hello all, I've been having some problems lately where I cannot view the value of a std::string w...
[6 replies] Last: @helios Ok thanks for all your help. I'll try that :) (by bgarisn)
Record Monitor Event
 
I have an interesting task I'm attempting to accomplish. Basically I want to record when a person h...
[11 replies] Last: You can't send signals to your monitor via a monitor cable. It's not p... (by closed account S6k9GNh0)
generic stack with a static array (1,2)
 
Im trying to get a stack with a static array. Most of it works except for when im trying to output. ...
[36 replies] Last: dev (by kakashi316)
Receiving wrong output results
 
I am trying to determine if a word is a palindrome or not using queues, but I am receiving the wrong...
[no replies]
by fares
how to bulid
 
hi i wanna ask i have a single linked list i bulid it how can enter a name and id and sallary how ...
[5 replies] Last: i think it will looks like this: ... struct linked_list{ int i... (by akmal4ik)
parallel programming(part 2)
 
hi, i need help with parallel programming in C++. first time i asked, i get answer about boost.thre...
[1 reply] : AfxBeginThread - you need to learn mfc for that but looks you dont kno... (by writetonsharma)
mixing virtual functions and template functions - how?
 
while syntactically templates cannot be virtual functions, I wonder what approach to use when semant...
[3 replies] Last: There is no easy solution. Just off the top of my head, and knowing... (by jsmith)
Defining a Nested const static variable?
 
alright, so I have a class defined similar to: template <class T> class Class<T> { public: ...
[10 replies] Last: Ok, this at least compiles for me: template< typename T > class... (by jsmith)
SOAP client using c++ - How to do.
 
Hi, Anyone here has any experience in SOAP using c++. I am building a SOAP client and want to se...
[4 replies] Last: Solved :) for someone who wants to implement SOAP using c++: SOAP ... (by writetonsharma)
Converting string to char* or using different file opening method
 
Hi All, I am using ifstream to open a file and then storing the contents line by line into a stri...
[10 replies] Last: but is there a simpler way ? Yes. strcmp(buff,"APPLE") == 0 (Co... (by helios)
by gdsimz
trying to figure out how to display all record entries of a struct!
 
Hi all, I have an assigned program to retrieve values from the user adding them to a record struc...
[1 reply] : Hi! If you write all record to the display then you should modify y... (by screw)
Palindrome incorrect output
 
What I am trying to accomplish here is determining whether a word is a palindrome using queues. My p...
[3 replies] Last: This is what I have now...however, it is still giving me the wrong out... (by NinjaLink)
by meesa
[C++] Asigning value to weird place?
 
Okay, this is something that is just perplexing me. The concerning code struct global{ c...
[2 replies] Last: Thanks! That did it! Nice big reminder on that arrays start at 0 as w... (by meesa)
a simple error..cant figure it out
 
Hello I am trying to determine whether a word is a palindrome or not using queues in my program b...
[3 replies] Last: Thank you. I got my output to come up however, I have another problem.... (by NinjaLink)
Heap Sort
 
I am recieving an error that states "HEAP CORRUPTION DETECTED" the app wrote to memory after end of ...
[6 replies] Last: Yeah its a very long program kempo.. i understand for sure. Thanks guy... (by vexiked)
by mrkhtn
Modifying a stack to a set
 
Hi all, got a stack example here that I've been modifying in Visual studio, Can anyone explain how I...
[3 replies] Last: I need to develop a template class implementing a set abstract data ty... (by mrkhtn)
no matching function for
 
I need help and badly. I know ive posted this program before.but im having trouble printing the o...
[7 replies] Last: almost http://www.cplusplus.com/forum/articles/14272/ (by Bazzy)
November 2009 Pages: 1... 910111213... 16
  Archived months: [oct2009] [dec2009]

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