Beginners - June 2010 (Page 12)

Reading Infile to Struct
 
Hi. I am pretty new to C++ and have gotten pretty stuck. I have searched in some books and forum a...
[4 replies] Last: Thank you. I appreciate your help. (by KarlCat)
word list from cin?
 
How to read in a list of words from cin (using whitespace as separator is ok)? list<string> rea...
[1 reply] : My misunderstanding, sorry. (by KarlisRepsons)
by Rosie
"Conversion from 'Person*' to non-scalar type 'Person' requested in OMNet++
 
I got this error when I tried to instantiate a class in my constructor. I'm not sure what the non-sc...
[3 replies] Last: Thank you, the * did fix that problem. I looked at the Singleton metho... (by Rosie)
by Leppie
How do I get around big "If else's?
 
So the code works! (Big deal), I'm still not happy with the big "If else statement and desperately n...
[14 replies] Last: Somebody actually saw the movie "Cube" besides me??? Wow. (by jsmith)
Couple Questions about a Quadratic Equation Program
 
Sorry about the length, but spoiler tags are apparently a no-go on this forum. I've included a pr...
[4 replies] Last: You named your function sqroot(), but alg() uses sqrt() instead. sqrt... (by jsmith)
Save a bitmap without GetDiBits
 
I am making a program that will allow me to capture screenshots on my device, and as yet I found thi...
[no replies]
by ptz
friend function definition - type issues
 
Why doesn't the following compile and give a type error for the friend function? What would be a way...
[4 replies] Last: Ah, here we go, wherein bla actually does something: class A; ... (by ptz)
by michy
array works with constructor with arguments
 
hi experts, today i meet a new problem, if i have a class and constructor with arguments, example...
[4 replies] Last: thank you very good (by abu Alhassan)
Linker Error: Automatic data segments exceeds 64k
 
Hi everyone. I'm getting the above error, "Linker Error: Automatic data segments exceeds 64k", and ...
[1 reply] : It sounds like the amount of addressable memory to store your variable... (by Galik)
by Leppie
Back to the beginning with do while & bool
 
it's nearly 4am and I'm trying to implement a bool do while loop so that it can only accept certain ...
[2 replies] Last: Another suggestion Leppie, read the first 4 chapters before reading th... (by mgupta)
by fafner
vector of ifstreams
 
Im trying to create a vector containing ifstreams. The code that declares the vector is: std::ve...
[10 replies] Last: Thank you all ;) (by fafner)
by zyky
simple (?) pointer problem. pointer value lost when returning from a function
 
Hello, I'm using a function to make a pointer point to some dinamically allocated memory (allocate...
[5 replies] Last: Thanx Galic, that's a better solution than returning a pointer everyti... (by zyky)
problem with dynamic memory
 
hi to all ok this is my problem. Im`m learning to program by my own so i have a little issue woth me...
[2 replies] Last: thx the () was a stupid mistake that fix all the program but if i put ... (by shadowuy)
Problem in SDL
 
Hey i'm trying to use SDL, but it doesn't work.Can you tell me if the mistake is in the code. thanks...
[1 reply] : Define "doesn't work". (by helios)
by Nams
Return value of created process by using 'create process'
 
HI All, I am facing a problem in capturing the return value of the process that is created by cre...
[6 replies] Last: Remember to close the process and thread handles in pi. cmd.exe in Da... (by kbw)
File I/O - directory problem on WinCe
 
I wonder if there are many people who program for winCE with C++, but I'm going to ask ahead anyway,...
[6 replies] Last: @computergeek01: I was running a WindowsMobile 6 Device, which is... (by Maltadav)
by Nirf
Problems with member function reference
 
Hello, I am doing numerical work and am using the GSL (GNU scientific library) to help me with my...
[1 reply] : This is how you make a pointer to a member function: double (LensSol... (by hamsterman)
I can't figure out a way to solve it~
 
class gyt { public: gyt() { int x, y; ...
[5 replies] Last: Sorry it took me so long to get back to you. When you're looking at... (by sammy34)
Can't Use Inherited Member Function
 
Hello, I have a base class which has a couple of overloaded versions of a member function. Howeve...
[16 replies] Last: Probably it's just a thing to speed up compile time. I don't thin... (by allfreightoncanals)
saving extra letters
 
i wrote this program and what i want it to do is copy all the data from the Memblock and put it in...
[3 replies] Last: Do you need to keep the file updated at all times? Reading and writing... (by helios)
June 2010 Pages: 1... 1011121314... 26
  Archived months: [may2010] [jul2010]

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