Beginners - June 2014 (Page 42)

by yepMe
Difference between template and vector
 
Hi Everybody, I just got introduced to vector, what I understood is it is a structure like templa...
[5 replies] Last: A vector is implemented using templates, because a vector must be able... (by xismn)
Double Hashing
 
Can you plz happens when 47 and 55 is inserted ( how and why is it inserted in that location of the ...
[2 replies] Last: http://www.cplusplus.com/forum/general/134132/#msg717608 This is call... (by Smac89)
Is the temporary object be a rvalue?
 
As mentioned in this tutorial(http://msdn.microsoft.com/en-us/library/f90831hc.aspx), a temporary ob...
[2 replies] Last: thank you for your kindly reply. :) (by zaumreit)
by BLANKE
Need Help Understanding How To Input A FullName
 
I was beginning to make a text based game when I couldn't even make a user input a full name. It has...
[3 replies] Last: Thanks for all the help! (by BLANKE)
Need Help writting code for telling time!!
 
I need write a code with a function that returns the number of seconds since the last time the clock...
[2 replies] Last: Maybe also this time there might be bugs, I am tired, it's 3.42 here (... (by closed account jvqpDjzh)
by zagzag
Strings decimal to binary
 
okay lets say i have the following String and inside it there is a decimal number. How do I transla...
[4 replies] Last: The second block of code I gave converts a string to an integer (unsig... (by Chervil)
by CDavis
Damn Array's
 
So I've been having issues with array's and this last problem really has me. Basicly I need to prov...
[3 replies] Last: diceRoll = rand() % (6 + 1); Do you want a number between 1 and 6? If... (by closed account jvqpDjzh)
error: endif was not declared in this scope
 
#include <iostream> #include <cstdlib> using namespace std; int main( ) { int numberToGu...
[4 replies] Last: ure the BESTTT!!! I could kiss u right now:) Have a great evening! (by liatleder)
by CDavis
More Arrays
 
I am just having a round time wrapping my head around these arrays. The problem I am having is I ca...
[2 replies] Last: I made the changes that you recommended but the only thing bothering m... (by CDavis)
reading file and counting word appearances in it
 
Hello, Getting on problem, where i'm trying to read input.txt which contains the following: ...
[5 replies] Last: Best of Luck etcfantus. Keep the hard work going (by fahadmunir34)
Goto a other function
 
Title says it all but heres some sample code int main() { /**Randome code**/ } ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ void printHi() { ... (by long double main)
If statment crashing.
 
Why is this "if " statment crashing. I get Konsole.exe has stoped working #include <stdlib.h> ...
[4 replies] Last: Change line 27 to std::getline(std::cin, mystr); (and don't worry a... (by long double main)
Binomial Queue
 
I want to write a code for binomial queues. I wanted to know if its possible in a binomial queue ...
[no replies]
Having trouble storing a class pointer in std::map
 
Hello, I am currently attempting to teach myself C++. I am using Windows 7 64 bit, and Codeblocks wi...
[4 replies] Last: Thank you Helios. I forgot to correct line 12 (I code on a different c... (by HavingPhun)
binary tree of the word "whiteboard"
 
hey all . can someone plz explain to me how we can draw the binary tree of the word "whiteborad"? I ...
[no replies]
by BLANKE
Fixed Pathagorean Theorm Thanks!
 
#include <iostream> #include <math.h> #include <string> using namespace std; int main() { cout ...
[3 replies] Last: Thanks for all the help! I knew i just needed something simple to add,... (by BLANKE)
Variable Conversions (1,2)
 
So I did a bit of searching only to find I couldn't make heads or tails of the parse stuff. I'm tryi...
[32 replies] Last: I notice you are bringing in information into a lot of functions but y... (by CodeGoggles)
Need help with CIN
 
I started programming since 2 days and im still a little noob at C++ When I debugged my code I got ...
[1 reply] : That's because dolar is a function prototype and not a variable. Li... (by AbstractionAnon)
See if the user inputed cls.
 
Title is the same as Q: lol and my code that I have is: and im trying to make a console! #in...
[3 replies] Last: @Abs yes I changed it to while (true) { } guest i thougth of batch (by wtfsamcrap)
"Is this correct" ? "What do you prefer?" : It doesn't matter.
 
Talk about the possible leaks and wrongs things to do. You can also say, if 2 things are equivalent,...
[19 replies] Last: but including trailing 0 is not the behavior people expects from leng... (by closed account jvqpDjzh)
June 2014 Pages: 1... 4041424344... 48
  Archived months: [may2014] [jul2014]

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