Beginners - June 2012 (Page 36)

by leeto
Define Attribute
 
Now I read some lecture and in lecture on slade with title Disadvantage of DADefine Attribute (Define Attribute ) View there is a statement : Category membe...
[1 reply] : Hi there, Could you please be more specific on the actual lecture and... (by closed account o3hC5Di1)
Find the distance between the two closest elements in an array of numbers.
 
Hi cplusplus.com forum, I'm trying to compile this algorithm below in C++. Any ideas please? // Find the distance between the two closest elements in an a...
[1 reply] : Hi there, As said in another one of your posts, please try this first... (by closed account o3hC5Di1)
Comparison Counting Sort
 
Hi cplusplus forum, could someone help me build this into a compliling C++ code please? I would then like to build some pretty graphics for ...
[1 reply] : Hi there, How about you give this your best shot and get back to us w... (by closed account o3hC5Di1)
by leeto
Exception handling object
 
I'm out of track how to realize one point in exercise condition wording : Give the OutOfBoundsException class a constructor with an int as argument that in...
[3 replies] Last: Hi there, Sorry, I still seems to me like the same issue? //this s... (by closed account o3hC5Di1)
by LilKB
CANNOT fix error C2660: function does not take 0 arguments. (1,2)
 
Hi, I am a beginner with C++, been programming for a month or so now. I am trying to write a simple program for my CSCI class using arrays and functions, but I ...
[20 replies] Last: Well, not sure what happened... I copied and pasted your code into a n... (by LilKB)
by takzee
stringstream error
 
void addition() { string file1,file2; string line,word; istringstream get; int **matrix; int m ,n ; //m= rows , n=columns cout<<"You are using addit...
[5 replies] Last: It's not clear what you're asking. However, this thread might help. h... (by kbw)
Inheritance - no default constructor exists for class "CloudGenerator"
 
Hello, It's first time I'm trying inheritance, let me show you guys part of the code :p thanks so much for help! :D this is Weather.h file: #include "Cloud...
[3 replies] Last: I know that. But since I had no idea where the problem was lying and s... (by Kondziu)
by leeto
UML to c++ code
 
There is any soft that can generate code from UML diagram like simulink in Matlab ???
[2 replies] Last: Years ago there was Together C++ (I think), that did that. Doxygen pr... (by kbw)
What is application programming interface(api)?
 
What is application programming interface(api)? please explain
[1 reply] : It is the set of functions provided by a library, framework, operating... (by Moschops)
Call-by-value example (1,2)
 
Hi cplusplus forum, could you help clarify why this code is not changing the value of the 5 to a 6? Line 11 calls the function changeValue which has the value ...
[21 replies] Last: [quote=Peter87]@EssGeEich - You are wrong. Da0omph was right. Woah, i... (by S G H)
Finding Prime numbers (1,2)
 
Write a program that asks the user for a non-negative integer and then displays a message indicating if it is prime or not. A prime number is an integer that ha...
[21 replies] Last: Now I want to make a new code to find prime numbers in a range: int... (by Tej Samra)
by mekki
Q
 
need to explain that line: std::cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n' ); thx mekki
[4 replies] Last: thx 2 all - mekki (by mekki)
Figuring out a primenumber program.
 
Good day! I started learning to program with C++ for about a month ago. I'm following the book C++: A beginner's guide second edition, and use it about half an...
[3 replies] Last: Not specifically, no. I'll try to go through it, and see where I fall... (by Quantonium)
by Onions
Taking one line at a time from a text file
 
Hello everyone, I decided to find out how many words in the english language contain no vowels, so I downloaded a list of almost all the words in the english l...
[5 replies] Last: That works, thankyou! What I need to remember for next time is to set ... (by Onions)
by myoni
why I'm getting error C2440
 
I'm trying to create an inner iterator to class that has an inner class. this is my code: main: #include <iostream> #include "DoubleEndedList.h" using namesp...
[3 replies] Last: Some adjustments I made to get it to compile. I have marked the lines ... (by guestgulkan)
Help with overloading
 
HI guys, Working a problem from a rather old C++ book. Everything in the program works, except the overloaded functions (which were provided as part of the p...
[7 replies] Last: You can create as many temporaries as you want, it just doesn't make m... (by naraku9333)
Can't Program Simple Thing
 
I am not a good programmer and I have no idea how to do this. I am busy and can't do it myself. Is there anyone that could program a c++ program that does this:...
[4 replies] Last: Ok here is my code. I spent a good hour working on while loops so you ... (by toomanystars)
by takzee
Read file to decide size of array?
 
Hello guys , I'm having an assignment that needs me to code a program that reads a file that contains matrix and do operations between the matrix and cout it...
[6 replies] Last: bumping the thread (by takzee)
by mj1709
linked list, help needed
 
well this really needs counselling....... i wish to create a linked list and then print the items of the list; struct hind {int data; struct hind * next;}...
[6 replies] Last: @mj1709 this article will explain it to you in c/c++ http://www.codep... (by georgewashere)
Class problems; probably with overloading.
 
I've written a program. It doesn't work. I am hoping for just overloading errors and maybe passing arguments by value when it should be by reference, but I'm ...
[1 reply] : I see a few potential problems: 1. Shouldn't operator+ and operator... (by chrisname)
June 2012 Pages: 1... 3435363738... 51
  Archived months: [may2012] [jul2012]

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