Beginners - December 2010 (Page 4)

by ARWA
couldnt connect 2 algorithms...
 
hi,i jot 2 ideas about constructing atree (inorder) with out using recursion now this is the first:...
[2 replies] Last: i did the constructer as u said,so i have missed smth very important .... (by ARWA)
Outputting end element of a vector
 
Hi everyone I have used the stable_sort algorithm to place a vector into ascending order. However...
[2 replies] Last: Thank you so much! :-) (by assemblyman)
by ogward
[alphabetical order]Insertion Sort
 
Hi there! I'm studying for my exam and I've came across a problem... How do I use insertion sort...
[2 replies] Last: Ok, thanks a lot (by ogward)
File separation w/ templates & structs
 
Hello, I'm using Mac OS X version 10.6.5 Xcode version 3.2.5 I've been using c++ independent...
[1 reply] : template functions/classes have to be defined in the headers. unless ... (by hamsterman)
Searching through text files
 
I had a program installed when I was younger that would save my old AIM conversations. I want to wri...
[1 reply] : string search; ifstream inFile; string line; inFile.open(test.ht... (by Null)
having private copy constructor and assignment operator
 
what are the implications of having private copy constructor and assignment operator?
[1 reply] : It helps prevents objects from being copied and assigned to each other... (by guestgulkan)
by ARWA
trouble while constructing a tree....
 
hi every one,im having some difficulties in constructing a tree linked list i didnt yet study data ...
[5 replies] Last: after some search i found that using stack will help me ...thanks gays... (by ARWA)
by linoch
How to program inputs for these?
 
Enter person's name (last,first): Smith,John Enter January income: 3560.39 Enter February inco...
[9 replies] Last: Actually, firedraco, technically, he didn't post the solution. That's ... (by Albatross)
Binary to Decimal
 
hey, what is the problem with it? #include<stdio.h> #include<conio.h> #include<math.h> #defin...
[1 reply] : what is the problem indeed. I don't see any just by looking at it. w... (by hamsterman)
What Compiler for Windows and Mac
 
Hello, I am new to C++ and this forum. I want to write some C++ programs. I have an Intel based i...
[1 reply] : If you transfer the code as text files and just compile it at each mac... (by Computergeek01)
by gilit2
print the line number in the source code
 
How do I print the line number of a specific line in the source code ? It is needed to find the loc...
[1 reply] : there's a macro __LINE__ that gets the current line, thats two undersc... (by quirkyusername)
arrays and pointers
 
i use this code void arrive(int **Mem_in) { .... } int main() { int Mem_in ; for(int...
[6 replies] Last: Hi You can eliminate the size of only ONE dimension. There a possi... (by gilit2)
getch() alternative - NOT getchar()
 
Hey hey C++ forum, I'm finally back! Exams are done and I finally have time to code again :D So ...
[6 replies] Last: Sigh. http://www.cplusplus.com/forum/articles/7312/#msg33734 Also:... (by Duthomhas)
can int operator is overloadable?
 
Hi, I have saw the small snippets of code where they overload the "int" operator ... #includ...
[5 replies] Last: ...which drives me nuts, because the compiler should be smart enough t... (by Duthomhas)
A reference
 
Hello Is there something that I can use as a reference. For example I type "cout" or "cin" and it s...
[8 replies] Last: Thank you SOOO much!!! (by headbuster)
reciprocal in cmath
 
what is the reciprocal in the cmath library. isn't (1.0/(tan (59.0))* 1.0/7.0) the same as ...
[3 replies] Last: Another possibility... 59.0 looks like an angle in degrees. The cmath ... (by closed account D80DSL3A)
Problem with deallocating vector of pointers
 
Hi guys, I don't know what's wrong with the following code! I am deleting all pointers, but when I ...
[4 replies] Last: Hi! On Windows the memory usage is deallocated after delete section... (by screw)
graphs in xy - axis
 
i have to write a code to display the graph for function y=x*x in xy - axis any ideas? :P ...
[1 reply] : get a graphics library. sfml for example. then for(float x = graph_le... (by hamsterman)
Linking LIB Files
 
Hi, I have a programme that uses code contained in a LIB file. At the moment I can only get the ...
[4 replies] Last: Brilliant Luc; many thanks... (by freakalien)
Rate calculation
 
I got the entire program to work. However, for some reason, I can not get the program to calculate ...
[1 reply] : dude, occupied and room are integers. int during the division, th... (by Blessman11)
December 2010 Pages: 123456... 35
  Archived months: [nov2010] [jan2011]

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