Beginners - July 2011 (Page 51)

Vector pointer
 
I'm looking for some assistance in understanding a pointer to a vector. Suppose I have the follow...
[4 replies] Last: Man, you guys are awesome. By far, the best resource I've found on th... (by thephysicsguru)
by eidge
cin.getline() "saving unused input"
 
Hello, I've started C++ just a week ago, and I'm having the following problem: void write_r...
[4 replies] Last: No worries problem solved now. Thank's, Hugo Ribeira (by eidge)
by acorn
what are your favorite c++ resources
 
I was just wondering what everyones favorite c++ resource was. The c++ FAQ from Marshall Cline seems...
[8 replies] Last: Microsoft's MSDN documentation is really good as well. Just be careful... (by anonymous23323124)
by Phiru
How to convert *char into int??
 
here is a source that i am working on. class A { public : char * m_pbuff; KcFile(){m_...
[5 replies] Last: see http://www.cplusplus.com/articles/D9j2Nwbp/ (by hamsterman)
by toexii
Operator overloading <<, how to print vector
 
Hi all, I'm asked to define the operator << to print the data that is stored in two vectors of an...
[2 replies] Last: One of the previous assignments was to output the vector using a membe... (by toexii)
Some Doubts
 
1.What is the use of this ? 2.Why is the main function of type int?
[8 replies] Last: Template are a part of the core language. No header is required to wri... (by anonymous23323124)
template function
 
what is template function and how it is overloaded .. with syntax ..please reply soon... thank you ....
[1 reply] : http://cplusplus.com/doc/tutorial/templates/ how it is overloaded D... (by anonymous23323124)
Problems atrunnign the program.
 
I made everything according to the instructions, but it doesent read my file. Iwe tryed to figure o...
[10 replies] Last: No one?? (by vastrolorde)
by asrat
PROGRAMMING PROJECTS
 
Hi I purchased used book Absolute c++. At the end of each chapter there are PROGRAMMING PROJEC...
[1 reply] : Well even if you haven't come up with the most elegant solution, you'l... (by anonymous23323124)
What is the meaning of this semantics(::new)?
 
template<typename T> void copy_init(T src, void* dst) { ::new(dst) T(src); //what is this li...
[1 reply] : It is calling the global operator new . ::new(dst) T(src); That is ... (by ne555)
best book for major projects in c
 
which is the best book for major projects in c? By projects i mean that can strengthen my cv and wha...
[no replies]
How to create a matrix using array 3 by 3.
 
Hi! Everyone i'm mark a student taking (I.T). I was given an assignment to create a matrix that is 3...
[9 replies] Last: http://www.cplusplus.com/forum/beginner/45960/ (by marklycris05)
Need C++ help,
 
I am learning C++ from an online resource. I tried to test part of there code and it isn't working. ...
[9 replies] Last: It's better to use cin.ignore() than cin.get() because then if they ty... (by LB)
by lcam2
Euclid's Algortithm
 
Using Euclid's algorithm write a program with a function that determines and returns the GCD of two ...
[3 replies] Last: Well, with the first code you posted, within the if statement if ( a ... (by shacktar)
by Itu
Strange result with pow() function
 
Hello, I was recently making a convertor from number in base 10 to a binary number, and I ran into t...
[3 replies] Last: The pow function is a template in <complex>, so you can hand it ints, ... (by closed account 3hM2Nwbp)
by Drue
System Equivilants
 
I can't find a topic on this, though one must exist. I was wondering if someone knew the equivilant...
[3 replies] Last: http://www.cplusplus.com/reference/iostream/istream/sync/ This effect... (by LB)
Need Help on a program.
 
Im using an online resource to learn C++. This was a program that they had for loops. I am trying to...
[3 replies] Last: cout lives in namespace std Your options are to do one of the foll... (by Moschops)
Output for calculation is -1.#IND
 
I was wondering what -1.#IND means. At first I thought the number was just too big for the data type...
[3 replies] Last: Nevermind that last question. I just googled what INF means and its in... (by cmaypara)
cannot convert parameter 1
 
I am having a bit of trouble. I dont understand what the compiler is trying to say. I have conduct...
[2 replies] Last: I figured it out. I was not using quotations for my strings. . M... (by twentfiveu)
Help saving contents of text file to a string
 
Hi, I'm having some trouble with an encryption program I'm writing. I'm trying to write a function t...
[3 replies] Last: Got it! Just read the file char by char instead of line by line. Here'... (by deeburt)
July 2011 Pages: 1... 495051525354
  Archived months: [jun2011] [aug2011]

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