Beginners - April 2010 (Page 31)

by vlad61
that grading program.
 
#include <iostream> using namespace std; int main() { int score; char choice; do{...
[4 replies] Last: ooohh i see what you mean so it works like a chain.... each if code s... (by vlad61)
is there any way to find the methods in header file?
 
In perl through "symbol table" we can find all Methods in a package/module. Likewise is there any w...
[12 replies] Last: SGI has a list of that stuff. http://www.sgi.com/tech/stl/ It's proba... (by tummychow)
inheritance
 
class
[5 replies] Last: A bit more specific? That's a very vague question. (by tummychow)
define String to number
 
Hi I want to Define when user enter a character. the character return a number . for example w...
[12 replies] Last: ok Thank you (by ehsangha)
Program Modification
 
Hey guys, I need some help with a program Im writing for class. The program below calculates the a...
[2 replies] Last: Why are you mixing stdio and iostream like that? Is there any specific... (by closed account jwC5fSEw)
Converting string to number, stringstream
 
Hi, first of all excuse my English, please. This is a part of a code (http://www.cplusplus.com/f...
[3 replies] Last: to: hamsterman, maikel thank you, now it is quite clear to me... (by stepan89)
don't understand what compiler has said
 
hi, Just completed the following code - a personal variation on the 'don't press 5' exercise, any...
[3 replies] Last: Much appreciated, matter settled, thanx. (by dan1973)
I remember when...
 
...I first setup my C++ environment. All the time, you hear about new programmers struggling to unde...
[2 replies] Last: Problem is, speaking as an absolute novice, the IDE takes away a porti... (by dan1973)
Visual Studio C++ first use
 
I have a trouble using my visual studio C++ that I've just downloaded. I couldn't debug the program...
[7 replies] Last: check whether the file exists....if it doesnt make sure u save it next... (by abhi201090)
how many return values can a function have in c++?
 
can i return more than one value from a function in c++? i've tried it myself and it does not work b...
[7 replies] Last: Similar to C , in c++ also u can return only one value (by abhi201090)
struct vs class
 
can anyone tell me the difference between a struct and a class? they seem very similar to me. also w...
[6 replies] Last: Seriously, in the definition of the C++ language, that is exactly what... (by closed account S6k9GNh0)
by beaudy
File Input & Output
 
This is the code I have so far for this question... Write a C++ program to read information of ei...
[11 replies] Last: just looks like you needed a space catcher , and move your write data ... (by DrakeMagi)
by vlad61
practice programs
 
#include <iostream> using namespace std; int main() { int score; cout<<" *** Gradi...
[4 replies] Last: It reads as: if score is greater than or equal to 90, and score is les... (by tummychow)
by MWH
Passing variables to 2D arrays
 
I don't know how to pass variables to an 2D array, I have included my code underneath. Obviously its...
[4 replies] Last: You may also want to read this: http://www.cplusplus.com/forum/article... (by hamsterman)
by Cn00b
sort issues
 
Hey all I am new here and have been dealing with this issue for the entire weekend. This is an assi...
[1 reply] : #include <iostream> #include <cstdlib> #include <algorithm> #inclu... (by m4ster r0shi)
by broot
question about encapsulation
 
so far I've been taught to always put member data/functions in either public: protected: or private:...
[3 replies] Last: Why do people do this and not just declare it under public? my quic... (by blackcoder41)
sizeof(string)
 
The execution of: sizeof(string); returns 32 on my machine. What do these 32 bytes contain? ...
[3 replies] Last: A std :: string is a class , so it is (as Disch said) implementat... (by Duthomhas)
Converting char* to char
 
Hi, I am trying to convert a char pointer to a normal char(somehow copy the strings from the pointe...
[13 replies] Last: Sorry, i deleted the post...i somehow did the mistake of strcmp(Volume... (by martje12)
Errors when compiling
 
Hey everyone, I just started learning C++ and everything was going fine for a while but now when eve...
[2 replies] Last: I just noticed that if #include <iostream> is used it gets these error... (by shaqywacky)
double to int error
 
i think there is something wrong with my compiler. i was trying to configure codeblocks to use mingw...
[5 replies] Last: oh ok, nice to know (by m4ster r0shi)
April 2010 Pages: 1... 2930313233... 35
  Archived months: [mar2010] [may2010]

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