Beginners - September 2014 (Page 3)

Some confusions...
 
Hello all of you.... I'm a beginner to C++, but I've some confusions in the language.. first of al...
[7 replies] Last: Somewhere in Data structures in Time Complexity topics I've read this,... (by ButchCavendish)
by BaneX
How to properly use if , if else statement in a switch?
 
PLEASE CLOSE :)
[3 replies] Last: Thank you Tom56785 & cire for you input. Sadly, my professor informed... (by BaneX)
How to access string of private in class
 
i need access string name in private to sort name. So Can i access string name like this? class...
[3 replies] Last: So, what you have right now would return an array character. If it wa... (by crimsonzero2)
by csharp
help with writing a class
 
Hello, I have updated my question now I am writing class to do a transaction it does what I want b...
[9 replies] Last: Think that is the best way. Thumbs up! (by shadowCODE)
by Ion93
Penny Program
 
Ok so this is a loop that shows how many pennies a person will have everyday for a total of 64 days....
[3 replies] Last: outputFile fixed<< setw(30) << sum; //set width to 30 to make it n... (by shadowCODE)
Making a Table while reading in data
 
Hello, For an assignment i need to make a neat table to organize my data. The data needs to be re...
[2 replies] Last: What do you want to do? i need to make a neat table to organize my ... (by shadowCODE)
im a little lost on this
 
what does this (%) stand for i have 2 different codes with it in there cna u tell me what it means i...
[3 replies] Last: welcome bro (by shadowCODE)
by cm93
Project Help please. C++ beginner.
 
I have this school project I've been working on most of the day. It'll be easier if you read the wh...
[1 reply] : //I want to make rand() be a number with 4 significant digits, with ... (by mobotus)
by Ganado
Include guard definining 1
 
Just wondering what subtle differences could arise, if any, from doing #ifndef _GLIBCXX_QUEUE #de...
[no replies]
Code Review - FileHandler class
 
Hey guys, I've been working on version 2 of my FileHandler class. I haven't implemented the read ...
[6 replies] Last: That's genius. Exactly the kind of advice I'm looking for. I was goi... (by megatron 0)
Add command line switches to console application
 
I have made a small app that is menu driven; so when the program launches it looks like the code sni...
[3 replies] Last: It works just like any other variable. switch(argv ) { case 'A':... (by admkrk)
Best compiler for c++ primer plus?
 
Hi, im learning c++ right now from the book c++ primer plus and I am using dev c++ to practice th...
[1 reply] : Dev C++ is fine if you are using latest Orwell version and not outdate... (by MiiNiPaa)
Corrupted Heap, trying to make custom vector
 
Solved: I did not have a operator= for my customvector, because when I copied the Person (which at t...
[5 replies] Last: Great effort with your custom vector! You may want to check out std:... (by megatron 0)
by Jhub
logical operator problem
 
At the end of my code (ex. 2) I am trying to have the user input scores and then a -1 to end. The o...
[5 replies] Last: Yes (by MiiNiPaa)
What's wrong with this code?
 
This is code for determining the type of a triangle. I need help with it- what's wrong? #include ...
[5 replies] Last: You can do this without the angles by using the Pythagorean Theorem. ... (by booradley60)
Program compiles but does not run
 
I made a program that does basic math operations but will not run. When i hit compile it tells me th...
[9 replies] Last: Thanks everyone I really appreciate it!! (by Gingerbread)
Design a circuit Help??
 
Design a circuit to distinguish all prime numbers that less than 16. Show me your circuit and logica...
[3 replies] Last: I'm with cnoeval on this. Design a circuit? You mean with logic gates... (by megatron 0)
C++ SUM - I can not finish it...
 
Hello, can somebody help me? I need 20(summ)k=0 for 0.1(pow k) / k! in: DEV CPP for faktorial I ha...
[no replies]
by cute
C++ reading from .txt file
 
Hello, I am having trouble with finding the running total in a .txt file. I am asked to add up al...
[4 replies] Last: Where is the file located? Is it inside your project or outside ? (by novellof)
How to add an extra 1 to the first and an extra 0 to the last of bitset?
 
I've written the following code using bitset.I want to add an extra 1 to the first and an extra 0 to...
[no replies]
September 2014 Pages: 12345... 51
  Archived months: [aug2014]

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