Beginners - November 2011 (Page 47)

error LNK2019
 
Hi, I am new to C++.I am doing a project which contains camera. So I am using OpenCV 2.3 to open ca...
[no replies]
Variable names. Scope question.
 
Can a variable be declared within a function with the same name if it's within the brackets of an if...
[1 reply] : Yes, however it is not a wise thing to do, you will soon get confused ... (by closed account 1vRz3TCk)
Function program! Please help!!
 
Does anyone know what are my mistakes made? I am writing this program to calculate the total distan...
[9 replies] Last: No Problem. Glad to help. (by hbjgd)
map with object
 
Hi all, Please help me on this i have a class struct object that contains a few variables ...
[no replies]
random number Question
 
srand(time(0); cout << (rand()%19)+1; how come this isn't producing random numbers between 1-20?...
[6 replies] Last: very true, lol. Thanks for pointing that out :). (by InterFiction)
Pointer based lists ????????
 
Again its me being new to c++. I get segmentation errors and i just plane dont understand pointer l...
[6 replies] Last: Thanks to everyone who helped me it works now if anyone wants the sour... (by LiverEatnJohnson)
Big Numbers and Classes
 
Ok I am a bit new to c++, I started as a java and using classes is a bit diffrent, and some help...
[4 replies] Last: Thanks for the help it works now but the source code is too big so if ... (by LiverEatnJohnson)
Copy constructor and assignment
 
I have a problem with using the copy constructor and assignment operator in main() How do you us...
[4 replies] Last: How come the breed is not passed along, only the Pet data types are? ... (by shacktar)
Functions
 
Does anyone know what is these codes trying to do? And what are the mistakes in it? #include<s...
[8 replies] Last: Thank you for taking your time to explain! Yup i guess this program ... (by cozyhozy)
Linked lists problem
 
I am getting a Signal received: SIGSEGV (?) with sigcode ? (?) From process: ? For program grocery...
[3 replies] Last: Too much source code to share but if you want it let me know it works ... (by LiverEatnJohnson)
map with class as values
 
Hi all, I'm wondering if i could create something like map<key,class> kind of template. if it's e...
[2 replies] Last: hi sir, could you provide me an example of access that particular cl... (by Cosmosgaia)
by nebula
Random numbers between a specific set.
 
Hello guys. I was wondering if there is a function or a way to generate random numbers from a specif...
[6 replies] Last: also if you come back to check something you might want to seed random... (by InterFiction)
C++ book
 
What book titles where I can learn a little more in c++. Practical C++ is not meeting with my vocabu...
[2 replies] Last: I'll try my best and ay problems or situations will be reported here f... (by Mesmaroth)
trouble with keeping count of input
 
Hey all I have a program that I have been working on and am having some trouble with keeping count ...
[no replies]
Struct Arrays whats next help me plz
 
The next step Im supposed to be able to assign a random number of quiz scores to each student and ac...
[no replies]
Merging columns from two different text files
 
Hi guys, I am trying to merge two txt files with the same exact name from two different folders. ...
[1 reply] : Do you have any code at all so far? Or do you need a skeleton to start... (by hbjgd)
need help giving 2D array an initial value
 
the tutorial shows that something like this int billy = {16, 2, 77, 40, 12071}; is possible. ...
[6 replies] Last: damn it. thanks Ron. Didn't notice that missing comma. Also codekiddy,... (by agevkired)
Help with functions
 
Hey all I'm having trouble solving the last part of my code. I want to determine letter grade from t...
[1 reply] : double calcLetterGrade() { double percentage = 0; if (percentage ... (by Branflakes91093)
Threading Help
 
Hello all I am having a bit of trouble learning pthreads. I normally do not post unless I have no ot...
[3 replies] Last: That is brilliant!!! Thanks so much. I like the struct idea it seems s... (by TheMassiveChipmunk)
stopwatch problem
 
I have to create a stopwatch program and I think I have it all finished and it runs without any erro...
[no replies]
November 2011 Pages: 1... 4546474849... 65
  Archived months: [oct2011] [dec2011]

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