Forum: C++ Jan 14th, 2004 |
| Replies: 4 Views: 4,702 If you have enough time in your hands , that is , 6 months , start with c.There's this book by Dennic Ritchie called " The C programming language."That is the Bible of C.But if you are willing to... |
Forum: C++ Jan 8th, 2004 |
| Replies: 37 Views: 12,927 |
Forum: C++ Nov 28th, 2003 |
| Replies: 30 Views: 916,194 I hate to be forced to pm you so many times Bob but In my internet explorer browser the font of your webpage is as small as ants and I don't know how to make them look bigger.
About this tutorial ,... |
Forum: C++ Nov 27th, 2003 |
| Replies: 4 Views: 143,065 There are 7 c++ data types:
1.Fundamental types
2.Boolean types
3.Character types
4.Integer types
5.Floating-point types
6.Enumeration types
7.Class types |
Forum: C++ Nov 24th, 2003 |
| Replies: 1 Views: 5,938 Hello.I am having some problems with my vc++6 compiler.Here is the code:
#include <iostream.h>
class SimpleCat
{
public:
SimpleCat() { itsAge = 2; } // if I put the definition of the... |
Forum: C++ Nov 6th, 2003 |
| Replies: 2 Views: 5,782 Hi.I'm posting a little part of my code here and the errors...
[CODE]#include <iostream.h>
intintboolfalsetrue
enum CHOICE { DrawRect = 1 ,GetArea,GetPerim,ChangeDimensions,Quit};
// rectangle... |
Forum: C++ Oct 28th, 2003 |
| Replies: 7 Views: 17,987 How to access the Private data members of a class in C++
(from a non-friend function)
All the information listed below is in context of Turbo C++ 3.0. It may or may not work with later versions.... |
Forum: C++ Oct 27th, 2003 |
| Replies: 7 Views: 17,987 Somebody told me that he could access c++ private data members without using the " Friend" type or public functions.He gave a source code and that was compiled in Turbo c++3.0 :-(
May I post that... |
Forum: C++ Oct 14th, 2003 |
| Replies: 37 Views: 12,927 Well,I'm interested in making a game.These are my targets:
1.The game will be an RPG one.
2.There will be maximum 5 characters-no mules.
3.There will not be an option for muiltiplayer gaming.
4.I... |
Forum: C++ Oct 9th, 2003 |
| Replies: 1 Views: 3,188 Hello.I have been using Microsoft Visual Studio 2000 enterprise edition and I'm having a problem with linking files.I have saved a file named as "class declaration.h" by default and another named as... |
Forum: C++ Oct 7th, 2003 |
| Replies: 10 Views: 30,116 I'm ashamed I don't know who is Richard Stallman? Btw, who is Stroustrup-the inventor of c++? is it a super comp or just a person. |
Forum: C++ Oct 7th, 2003 |
| Replies: 10 Views: 30,116 That means you're using Linux ? Ok..then.I don't know the diff between vc++6 and vc++.net . I bought the 2000 enterprise edition recently I don't wanna buy that 7 cd .net edition right now ... |
Forum: C++ Oct 7th, 2003 |
| Replies: 10 Views: 30,116 Will your code execute allright in vc++6,B? |
Forum: C++ Oct 6th, 2003 |
| Replies: 10 Views: 5,834 Thankx for the post Bob - forwards as backwards :)
I got my problem sorted out it was what Valmian pointed out , basically .
I was multiplying the length and the width twice , nothing else. The... |
Forum: C++ Oct 3rd, 2003 |
| Replies: 10 Views: 5,834 Hello.Valmian.I guess you have'nt compiled your code.You don't need to.Could this be the problem with my compiler? I installed the visual studio enterprise edition in d drive but it also got... |
Forum: C++ Oct 2nd, 2003 |
| Replies: 10 Views: 5,834 yeah line 20 is : Perimeter = Perimeter ( length, width ) ;
I tried this way,exactly:
#include <iostream.h>
// function prototype
unsigned long int Perimeter (unsigned short int, unsigned... |
Forum: C++ Oct 2nd, 2003 |
| Replies: 10 Views: 5,834 Oh my god..How stupid of me I kept thinking of what should it return so I put return keyword in the definition and kept compiling again and again..anyway...now this is the error report:
ompiling...... |
Forum: C++ Oct 2nd, 2003 |
| Replies: 10 Views: 5,834 // This program asks the user to enter the length of a rectangle
// then for the width of a rectangle , to find the perimeter by
// this 2 * length + 2 * width
#include <iostream.h>
return... |
Forum: C++ Sep 28th, 2003 |
| Replies: 4 Views: 23,175 Compiling...
a1.cpp
C:\Documents and Settings\Jinu\My Documents\Stuff\C++\Development\a1.cpp(46) : error C2146: syntax error : missing ';' before identifier 'bSq'
C:\Documents and Settings\Jinu\My... |
Forum: C++ Sep 17th, 2003 |
| Replies: 7 Views: 163,707 When I installed the c++ in my hard disk it said "c/c++7".If you have not noticed yet,this compiler couldn't execute the static_cast statement,for casting integers to floats.But It succeded when I... |
Forum: C++ Sep 16th, 2003 |
| Replies: 4 Views: 3,059 HEy,are you talking about the "windows game programming in 24 hours"?
I think that book's writer was not at all serious about windows programming somehow he became serious after playing nintendo... |
Forum: C++ Sep 14th, 2003 |
| Replies: 7 Views: 163,707 Well I think I have some problems to solve for myself.As csegirl tells that there is nothing wrong with the program.I think I have something wrong with my compiler so that's why i'm posting a message... |
Forum: C++ Sep 14th, 2003 |
| Replies: 1 Views: 3,698 Hi.I have been learning c++ lately and I'm rather interested in learning to produce source codes and applications(games maybe).I need know that whether my choice about learning c++ for game... |
Forum: C++ Sep 13th, 2003 |
| Replies: 5 Views: 3,734 i see.thankx.Does that mean I can write my source codes,following my c++ syntax in .net compilers?great... |
Forum: C++ Sep 13th, 2003 |
| Replies: 4 Views: 3,059 :lol: HI i'm really new to c++ programming.I have learning this language with the help of a book named "Teach yourself c++ in 21 days by Sams."
I am in day 4 learning expressions and statements.How... |
Forum: C++ Sep 13th, 2003 |
| Replies: 5 Views: 3,734 Hi again.Read the source code below please:
// Determining the size of variable types
#include <iostream.h>
int main()
{
cout << " The size of a bool is:\t\t" << sizeof(bool) << "... |
Forum: C++ Sep 12th, 2003 |
| Replies: 1 Views: 2,944 Hi i'm a newbie c++ programmer so I don't know much about compilers.I have a c++7 and a bulit-in text editor but when I try to retrieve the bytes the variable "Bool" takes the error or warning... |