General C++ Programming - May 2011 (Page 19)

problem with arrays
 
Hi, I wrote this simple program and I am trying to add up all the elements of one array into one ...
[5 replies] Last: Thank you sahzz and CreativeMFS....that worked... (by sanehatter)
by fafner
"class has no member named"
 
I'm getting a well-known error that should be pretty easy to solve: ‘class GeometricObject’ ...
[7 replies] Last: Rewrite appeared to be the only option, fixed now:) (by fafner)
cleanest stl algorithm?
 
ok, here is some pseudo-code for my requirements - it's not hard to do with nested loops and multipl...
[3 replies] Last: Since m_cur and m_tgt are sets (which means they are sorted) and you ... (by m4ster r0shi)
c++/cli enabled
 
Can anyone tell me how to enable CLI is VS2010. I cannot use the directive #using without doing that...
[4 replies] Last: Project -> General -> Common Language Runtime Support and set to enabl... (by modoran)
<operator
 
Hello! Doing a old exam atm,one of the tasks is to create a template function that does compare two...
[1 reply] : You overload operator<, yet you attempt to use operator== in the funct... (by webJose)
by Adidas
Expert 1...
 
I'm having terrible time trying to make a while inside a while sequence I have a list of Departme...
[no replies]
Memory addresses signed - unsigned
 
I just have fun with pointers a bit and found that i can actually hold some variable address as valu...
[2 replies] Last: Thanks. (by savavampir)
I need some kowledge
 
Okay, so... I need to know a few C++ terms, errors, vocabulary and what they mean. An example might ...
[2 replies] Last: So... Do you expect us to start randomly posting definitions of C++ te... (by cnoeval)
comparison functor for std::map
 
Hey... I like to use a map which key is of type std::tm. Since there is no <-operator predefined...
[3 replies] Last: kooth, he/she will be using std::map<std::tm, SomeType, CCompareTM>, s... (by webJose)
reading from a file
 
hello guys i am having trouble reading this file even with ios::binary can someone help me?   E ...
[8 replies] Last: this is hopeless... no one's replying (by tejashs)
conversion error (I'm rusty please help)
 
Hi all, It has been 6 years since I have done any real programming at all, and I have lost most o...
[no replies]
by chaman
how i will find type of variable from void *
 
how i will find type of variable from void *. cout return Pv on gcc-4.4.5 but i get original type on...
[2 replies] Last: I don't see why you would want to do it, either. Use templates instead... (by chrisname)
need some help with this code input.
 
hi i tried cin and scanf but i didn't get it. How i can get input in this code? thanks for guidance...
[5 replies] Last: ok i got your meaning. i need to input from output file, these list n... (by iamuser2007)
Clearing Bad Input Produces Odd Behavior
 
I created a program to calculate a cumulative grade by entering points earned out of points total. M...
[no replies]
Seekg()
 
Hello everyone, I have a problem when working with file. I use seekg() function to go to the beginn...
[no replies]
Problem with adding Symbols
 
Hey guys , i would like to ask a question regarding some ways on how i can include certain character...
[1 reply] : Those caracters should need a \ before them : http://msdn.microsoft.co... (by bartoli)
by chaman
Is it possible to make data type array which act as java Class Object.
 
Is it possible to make data type array which act as java Class Object. My problem I do not kno...
[1 reply] : It can't be just anything, surely it's one of a family of types. (by kbw)
Performance: Virtual Function vs Function Pointer call
 
Dear All, let me have a testing question as Iam not sure how to measure it correctly. The questi...
[10 replies] Last: I got some insight now, and this article is truly the crown on such to... (by Avithohol)
Help in storing data into a file.
 
I made a quiz program. Now I wanted to keep score of the previous user. I made a string asking th...
[6 replies] Last: I changed that after your first post. Now the code is fstream user... (by Nisheeth)
2D Dynamic array - help
 
The below memory allocation for a and a1 are correct?. I am getting incorrect values while printin...
[no replies]
May 2011 Pages: 1... 1718192021... 32
  Archived months: [apr2011] [jun2011]

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