Beginners - January 2011 (Page 19)

Problem with Pointer to Char Array
 
I cannot get my whole char array to print out by calling the cout function on the pointer to the arr...
[3 replies] Last: Thanks for your help. I decided to use the string class. (by kevin21388)
outputting decimal values less than 1
 
Hello community. I've got a question about outputting decimal values less than 1 and greater than 0...
[3 replies] Last: +1 Zhuge (by jsmith)
What is a Magic Number
 
please can someone tell me what a magic nuber is and its uses in C++...thanks in advance
[5 replies] Last: i tried every search engine i know, but everything is really complicat... (by temityao)
Whats wrong with my class?
 
im making this class(im following a tutorial) and it wont work, i cant se whats wrong x_x.. source ...
[3 replies] Last: lol thanks :P (by TheBreadCat)
Use string as filepath for reading file on a different computer
 
I have my application to copy a file from a different persons computer. It just uses the normal netw...
[17 replies] Last: Good sir, I am insulted and as such you will from now on see a callous... (by closed account 4Gb4jE8b)
Break statement not in loop...
 
I cannot get the below code to compile (using eclipse) due to two errors. This is my first assignme...
[1 reply] : DAMN! Solved it myself. I needed to paste the computePercentages fun... (by OldNewProgrammer)
File write-read problem and some questions
 
Hi, I am trying to write a simple c++ script to learn more about file manipulation. First script is...
[no replies]
QTextStream
 
Hello, ewerybody! I`ve got little problem. In my programm I want to send formatted data to a st...
[no replies]
by Crutoy
Diamond shape
 
Hello , i was doing an exercise in book which asked to draw a diamond shape by displaying '*' using ...
[no replies]
by Tanax
Again there's something wrong with addresses..
 
Heya again, sorry for the bombardment of threads I'm creating. Once again I'm in need of your assis...
[17 replies] Last: Why inline instead of separate declaration and definition? Becaus... (by Disch)
Is it bad if I don't remember all the...
 
Is it bad if I don't remember all the functions in the cstring (and other) headers, such as strcat()...
[4 replies] Last: Exactly. (by pwnedu46)
" Ans " for cmd calculator
 
Sup peps ! I made my first calculator two day's ago " in fact its my first program " yet i still ...
[5 replies] Last: Lol. I remember making the same mistake not too long ago. :P (by pwnedu46)
Organization of a program
 
Is it better to have multiple thousand lines of code directly in int main() on a console program, or...
[6 replies] Last: Splitting cause slowness? Only if your header doesn't have inlines for... (by rocketboy9000)
by cppnb
separate cin values with : colon
 
HI,i am beginner in c++,i got stuck trying to separate values entered with :. for eg: cout << "P...
[4 replies] Last: Well,i am trying to store cin data entered into a text file..each data... (by cppnb)
by acorn
is overloading operators syntext just a matter of experience
 
i know there is little chance i will need to use overloaded operators but im trying to remember how ...
[8 replies] Last: Here is another reference that includes some code examples that you ma... (by Alrededor)
sfml tutorials
 
im relatively new to programming and i want to start using sfml, the tutorials on the website and wi...
[no replies]
Recursive function seems to be looping
 
Hi I'm currently creating a program for an assignment that uses recursive functions to calculate ...
[3 replies] Last: p = pow(a, 1)? why not just p = a? Edit: Actually, even better wou... (by Browni3141)
Sorting Array.... Without using Sort ???
 
Sorry if this is a really silly question, is there a way of sorting an array, or to be more precise ...
[5 replies] Last: post your code and a test case (input/output) (by ne555)
by acorn
Const
 
I think i got my constants straightened out. there is so many ways you can use it that it was confus...
[2 replies] Last: thanks jsmith. it made sense to me as a reference or like you said a p... (by acorn)
Finding a different way to clear screen
 
in one of my very first projects i used a function that i learned later on wasnt good to use ever. ...
[3 replies] Last: To answer the OP's question: http://www.cplusplus.com/forum/articles/... (by Duthomhas)
January 2011 Pages: 1... 1718192021... 42
  Archived months: [dec2010] [feb2011]

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