Beginners - August 2014 (Page 5)

by EvE12
Calculator
 
Hi there, I made this code up but I don't know why the result didn't come up with decimal its just an integer number even I made the data type float / double? ...
[3 replies] Last: okay solved.. thank you, Sir (by EvE12)
error
 
Hello, Getting error when trying to compile a C program: g++ Documents/firstchess.c Documents/firstchess.c:18:19: fatal error: conio.h: No such fil...
[12 replies] Last: if you want to look at the code just download firstchess.c from the l... (by AbstractionAnon)
by Bugx17
Getting best c++ compiler
 
There are different compilers in the internet and each compiler uses a different set of keywords and headers. I just want to know the best c++ compiler which i...
[4 replies] Last: It was more a note for the OP. Places still teach "C++" with it. (by closed account z05DSL3A)
by it058
struct code
 
Whats the problem in this ? #include<iostream.h> #include<conio.h> struct node{ char info; node * next; } ; node *abc=new node; abc->i...
[2 replies] Last: Moved my response to that other thread. (by Disch)
by verith
for loop problem
 
First, I would like to say hi to all members! I just recently started my adventure with programming in C++ (and programming in general to be precise), and ther...
[5 replies] Last: And one more thing. The condition which u gave is mentioning that the ... (by closed account LbXjz8AR)
by odin39
Writing containers for abstract types
 
Abstract types (those with pure virtual methods) generally cannot be stored in standard STL containers because they cannot be copy-constructed (or constructed a...
[2 replies] Last: Thanks for the information. std::vector<std::unique_ptr> sounds like... (by odin39)
Question on inheritance, virtual destructors, and the heap
 
My question is if you have a pointer in a class that is pointing to heap memory that is automatically deleted once the class's destructor is called, like b...
[3 replies] Last: Thanks for the quick reply. I was unsure how a virtual destructor woul... (by AxDragonxg)
Reading the rest of a string after a certain character
 
So what I am trying to do is have the program read a txt file, and have it spit out the list of strings after the @ sign in a new file. So for example if I h...
[5 replies] Last: Nvm I fixed it (by Keri4141)
typedef
 
what is the use of typedef if i can actually just use a type?
[11 replies] Last: http://www.gotw.ca/gotw/046.htm (by keskiverto)
Version info in cout.
 
Hello, I'm new to C++ I started it like a week ago in this class I'm taking. So i'm making some little fun adventure thing and at the beginning I want to dis...
[5 replies] Last: What platform? Windows (.NET) has the Version class. http://msdn.... (by AbstractionAnon)
Storing and reading vast sums of numbers..
 
Hello there, I have been doing some exploring over ways of dealing with large sums of information, hopefully leading to a fun project for myself, but at the min...
[15 replies] Last: "Taking it on faith" was a figure of speech. Hopefully, the diagram s... (by AbstractionAnon)
Display 3 numbers from highest to lowest, vice versa
 
So I need to write a program that can display three numbers from highest to lowest, and then from lowest to highest. My professor told us we could find out how ...
[1 reply] : Since there are three variables, you'll have to do the check with all ... (by Aceix)
by Nanyo
Volume increasing
 
how to increase volume of the computer with C++, Is there any command to do so. Thank you in advance!!!
[2 replies] Last: Windows??? http://msdn.microsoft.com/en-us/library/windows/desktop/dd7... (by Aceix)
Hello im new!
 
what are the things that can be made in c++ like what are the examples please?
[3 replies] Last: c++ is the most language that can make OS (by xenovia12)
Having trouble with else if codes
 
So my professor gave me a basic assignment, to make a program that will display a student's year level depending on if they enter 1, 2, 3, or 4. But the problem...
[3 replies] Last: the "=" (assignment operator) should be "==" (comparison operator) (by xenovia12)
by anup30
C++ Programming eBooks for Beginners
 
>> I have few months experience in C++. i started with this site's tutorials book by Juan SouliƩ(2007) pages144, which i think is of standard quality. but many...
[no replies]
Explain
 
How do you explain this line below? found = winner(board) == computer;
[2 replies] Last: Thank you very much! (by jakvrh1)
File I/O - stream fail state
 
So far as I know, this is a beginner question. Upfront disclosure: it is a homework assignment. I am only asking for help with a very specific part. In the f...
[1 reply] : What's the content of BILLDATA.TXT? Maybe it fails already at line 76-... (by Peter87)
by akif13
Even and Odd numbers
 
When user input odd numbers it will count. How to make sure it does not count? User need to input 5 even numbers. Enter mark: 27 Please enter even numbers! ...
[3 replies] Last: Thanks bro you gave me a new way to think ..... realy grateful to you.... (by MRKSalman0349)
Simplify
 
Nice easy one for you guys I'm sure.. My brain has just had enough. how do I simplify this so that the loop will exit upon entry -1? while(donations != ...
[10 replies] Last: ah yeh this is what ive been playing around with for an hour now. tha... (by MrBeavis)
August 2014 Pages: 1... 34567... 40
  Archived months: [jul2014] [sep2014]

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