Beginners - June 2011 (Page 39)

h0-quadraticfunction-helper.cpp(3): error C2061: syntax error : identifier 'cmplxNumber'
 
Trying to learn C++ Cannot seem to figure out what i am doing wrong. Code is in the files 1 .h and 2 .cpp files H0-QuadraticFunction.h struct cmplxNumber...
[1 reply] : Include the complex number structure's header file in H0-QuadraticFunc... (by Zhuge)
Error using boost normal random generator
 
Hello, I am getting the error: error C2440: 'initializing' : cannot convert from 'boost::variate_generator<Engine,Distribution>' to 'double' 1> with 1> ...
[1 reply] : var_nor() (by kev82)
by bacpp
patsubst in makefile
 
hi, I have .cpp files in 2 subdirectories within my ../src directory, so the file structure is: ../src/subdir1/file1.cpp ../src/subdir2/file2.cpp I am trying t...
[no replies]
OpenCV - Writing an AVI File
 
Hi all, I am new to c++ and opencv. I have this code below which tries to take an AVI file, transforms it to grey scale frame by frame and creates a new AVI ...
[1 reply] : I made a modification to the code: I commented out the cvLogPolar part... (by designer303)
Help for ToDoList Coding
 
Hi guys, I'm trying to make a To Do List. Which will ask the user about the number of tasks he wants to enter. Then he will be asked to enter the description. A...
[3 replies] Last: Avoid gets(). It uses C-style arrays when you could use the much simpl... (by Zhuge)
Stuck on getting strings from a .dat file
 
Hello, Im rather new to programming and have been working on a program that reads a .dat file and changes the only one part of the line, then saves the informa...
[4 replies] Last: [quote=lodixcblue]However I need to replace the "D0" from each line wi... (by closed account zb0S216C)
by bbcc
pointers
 
Could any one help me with the meaning of this: TAxis *xaxis = h->GetXaxis(); Many thanks in advance
[14 replies] Last: [quote=bbcc]in this case stack_ptr is a pointer to the class Quad (poi... (by closed account zb0S216C)
Logic Error
 
I am trying to work my way through this series of exercises: http://www.cplusplus.com/forum/articles/12974/ I'm stuck on the first one. (Stop laughing.) The...
[2 replies] Last: Thank you. <face palm> EDIT: Quick change fron || to && and it's work... (by killingthemonkey)
access data from the library
 
hi@all, i am new here and desperate >_< - i have to make a little modification to existing project and i a have to use eclipse (can only be compiled on linu...
[2 replies] Last: thank you for reply as for "other ways" - i am really interested. ad... (by bleicher)
by bbcc
Inheritance
 
Hello programmers, I have a question regarding Inheritance, Is it possible to have a derived class of a private base class ? Thanks in advance...
[4 replies] Last: You may also use the access modifier protected: to hide members outs... (by johnnystarr)
Read to multiple textbox
 
I want to be able to open a txt file which will contain something like.. 123, Cat, 098, Dog 876, Cat, 436, Dog so two lines and four columns separated by a c...
[no replies]
error LNK2019: How to locate the error
 
I wrote this code and I am getting the linker error. Searched online and found some documentation on msdn.microsoft.com. However, I could not locate where e...
[5 replies] Last: Thanks a lot for explaining. Also, could you please explain: how did ... (by dkumar3)
Having trouble with closing the program...
 
This is my code, #include <iostream> #include <time.h> #include <conio.h> using namespace std; int opselect; int main () { cout << "\nMAIN MENU" <<...
[16 replies] Last: It is far, far easier to understand a small number of actually quite e... (by Moschops)
by tonnot
Can I create a 'global' exception control ?
 
Hello everybody : Is it posible to write a try catch block to catch every possible error ? I dont want to throw nothing, I want that program itself tells me...
[4 replies] Last: But you can still catch exceptions and display a message box. Use the ... (by anonymous23323124)
error: Ambiguous call to overloaded function
 
So I write this program #include <iostream> #include <cmath> using namespace std; int main() { int n; int i=2; int prime = true; cout << "Pi...
[1 reply] : There is no sqrt overloaded for an integer argument there are only for... (by hamsterman)
by tonnot
Cant access to a struct member on a vector of a class.
 
I hope do you understand my question. I have open another question with this code but this one is slightly different : namespace W_geo { struct Point3...
[4 replies] Last: Ok, thanks. I'm going to review the pointers concept- (by tonnot)
factory class
 
what's a factory class and factory method?
[1 reply] : You didn't google, did you? (by hamsterman)
My main().cpp won't recongnize other .cpp files
 
This may be an IDE problem(code blocks) and not a coding problem, but hopefully someone can give me a hand. I'm writing a game (with a lot of help from a tutor...
[7 replies] Last: Thanks agan Athar. Sry for not reading closely enought the first time ... (by Fistanantilu)
by tonnot
Unable to get the class stored into a vector of a class inside class ...
 
I have: struct Point {} class_A my_vector<Point>; class B class_A * my_classA I want to 'extract' the Point information of the vector of classA i...
[6 replies] Last: MMM . I see, all the problem are pointers I'm going to review my work ... (by tonnot)
by Bog
lemonade stand inventory function
 
Hello, I need help with this one assignment. I'm not sure how to go any further with it. Pleas help, thank you. assignment: A lemonade stand needs t...
[1 reply] : Ask the user to enter 1, 2, 3 or 4. The switch the entered variable ... (by hamsterman)
June 2011 Pages: 1... 3738394041
  Archived months: [may2011] [jul2011]

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