Beginners - October 2013 (Page 71)

Adjacency list using map
 
can we implement Adjacency list using map ?please help me out to implement that! basic doubt is tha...
[4 replies] Last: > for unweighted graph and for learning purpose? Same as above, but ... (by JLBorges)
Iterator
 
i am using iterator over a map and i have found something like ""it->second"" what does it mean? ...
[1 reply] : The value_type of a map is a pair, and the elements of a pair are "fir... (by keskiverto)
Need help making a program
 
well, first of all hello guys This is my first post and i really didn't want to do this but i'm d...
[2 replies] Last: If I were you I'd look up loops, arrays, multidimentional arrays and s... (by Exempt)
overloading operators
 
Hello I have simple question i have base class (Payment) and a derived class ( CreditCardPayment)...
[10 replies] Last: I don't know, I would need to know why the OP thinks they need to use ... (by LB)
by aggsyb
Easy question regarding parameters of functions!
 
I have a ton of int vectors in my main function that I pass to another function. void function(s...
[8 replies] Last: For example if you need to process Students with first and second name... (by MiiNiPaa)
range of int
 
range of int is 0 to 32768 but my function is working for greater value ? i mean if i give value>3...
[3 replies] Last: There is also short int or just short . The table on this page give... (by Chervil)
by Sandz
Getting Values from a baseclass into the method of a derived class
 
Please help thank you. Work is the baseclass Work::Work(void) { } void Work::setWork(int n...
[14 replies] Last: You do not need an operator for that. Operator< should compare two dif... (by MiiNiPaa)
Stuck Finding Hottest & Coldest Temp
 
Hoping someone can help me find the solution to an assignment. Done pretty well up to this point. Co...
[1 reply] : You could define some extra variables, such as double minTemp and d... (by Chervil)
further help with my final project program
 
Further help regarding this code, im trying to make a program that compute radius and the output wil...
[4 replies] Last: tried the suggestions in that specific link, its very informative but ... (by pejahmein)
Need Help Debugging Soon
 
The problem with my program is that it is supposed to not accept negative integers. Though it says i...
[3 replies] Last: Thank you for the help. My program works fine now and I've made it a l... (by playitpro)
help me ..convert char to in
 
how to convert char to int like .. /////////Hrs/mins 00:00 = 0.0 01:00 = 1.0 08:00 = 8.0 08:01 = 8.1...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/111756/ (by Chervil)
by San007
c++programming (functional decomposition)
 
Using functional decomposition, write program in C++ that arranged a list of songs in the order in w...
[2 replies] Last: Thanks! Thats helps alot. (by San007)
by Zexd
Fibonacci
 
Trying to do a problem from http://projecteuler.net/problem=2 All my program does is sitting there....
[2 replies] Last: You misread or misinterpreted the question. This, thanks.... (by Zexd)
static cast
 
How can we use static cast below ? U32 is unsigned integer ClientInfo *clientInfo = new ...
[2 replies] Last: clientInfo->msgId = *(reinterpret_cast<U32*>(&msgBuff )); ... (by irfan2266)
by GCXIII
Loop
 
I've been trying to put a loop inside this code but whenever I try to there seems to be an error. Wh...
[3 replies] Last: Is this what you mean: something like: int main () { string wor... (by nvrmnd)
by Argus
Implementing an interpolation search for a linked list, need help
 
Write your question here. void List::interpolationSearch(int id){ Node* low = head; Nod...
[1 reply] : Write your question here. Perhaps you should start with a question.... (by kbw)
op= thumb rules' question
 
Hello everyone, I was reading my OOP lectures, getting ready for the course test and I came throug...
[2 replies] Last: Or simply class A{ int a ; double b ; }; no need to code destru... (by ne555)
Need help with a small fraction of code!
 
hi i dont know how to make the stars go to the left instead of the right of the 0 line! please help ...
[4 replies] Last: its in the link in the first post. its alrite if you dont want to show... (by luv2program)
Better way to remove random duplicates?
 
I was wondering if my way of removing duplicates is bad in any way.. If there's a better way of doin...
[6 replies] Last: create array of elements 1-10 and apply random_shuffle to it. http://w... (by MiiNiPaa)
pointer vs refrences
 
Q->what is the basic difference between pointer and refrence variable....? if there is any differ...
[3 replies] Last: @Jai A reference must refer to a variable, although this becomes fals... (by TheIdeasMan)
October 2013 Pages: 1... 6970717273... 86
  Archived months: [sep2013] [nov2013]

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