Beginners - November 2010 (Page 34)

My first code. You need SVN. Or just go to the link.
 
My first calculator! https://gmodpack.svn.sourceforge.net/svnroot/gmodpack/branches/C++ or Do t...
[4 replies] Last: I thought what I meant was pretty clear, but I can be more explicit, i... (by helios)
Functions.
 
Right now in school I am learning about UML class diagrams and how to put them together into Visual ...
[2 replies] Last: Great Video Tutorial : http://www.youtube.com/watch?v=gzsLVPf8P2U E... (by OHGxLeetGamerxOHG)
Function Program
 
How do I work on such program? int f1(int x, const int& y, int& z); int main() { int a=1...
[4 replies] Last: y = f1(a, b, c); is setting y to the output of the function f1 ... (by jamesmk)
Flipping?
 
system("cls"); cout<< "Display Sting backwards"<<endl<<endl; cout << "string:...
[3 replies] Last: I said compilation time. In your example, you will know userinput.leng... (by ne555)
Leap Years using while
 
while ((dd == 29 && mm == 2) && ((yr%4 = 0 && yr%100 !=0) || yr%400 == 0)) { cout << "Inva...
[3 replies] Last: In order to make this sane, you should put that complicated mess of co... (by Disch)
Small Question
 
Hey CPlusPlus! Quick question here: I'm using the MS Visual Studio C++ Express IDE, and I want...
[5 replies] Last: Ah. Sounds to me like that was C++/CLI, then. Not quite C++ (by Disch)
linked list nodes
 
I'm trying to create a linked list; so far my code is: node *newnode=new node; newnode->item=dat...
[no replies]
[ ]-----Networking----->[ ]
 
This is my first post on this forum, so if it's not in the correct place please move it or let me ...
[2 replies] Last: To download the threads and post replies, you can use libcurl. SDL is... (by Athar)
static const member variable link error.
 
Hello. I'm trying to compile some code that is giving me an unresolved external symbol link error...
[no replies]
ofstream problem
 
Hello everyone,i have this following code where i read from a txt file and i pass each of the 3 fir...
[2 replies] Last: Thanks re patriwti :) (by kikirikou)
Overloaded "-" operator with references and pointers?
 
I had made an overloaded "-" operator and it had worked perfectly fine, but since I modified it usin...
[2 replies] Last: Yeah I figured that out a couple minutes ago xD Thanks. (by Chris818)
by timgj
typedef and constructors
 
Hi there. I am in the process of attempting to learn C++ and have what I presume is an elementary pr...
[6 replies] Last: The problem is that typedefs are not first class types. What I mean by... (by Galik)
*(long*)0 = 0
 
*(long*)0 = 0; What does this line of code do?
[4 replies] Last: the program has crashed.If you do not, of course you something differe... (by firix)
by wtf
error initializing console window to maximum size
 
I'm getting this error message: error al iniciar de disp. de video para el modo de pantalla comple...
[no replies]
by pika
Trouble with Templates
 
Hi guys, I'm trying to write a simple class using templates, but it's not really working out so well...
[15 replies] Last: I'm glad you noticed those memory leaks. The assignment operator fu... (by guestgulkan)
Inputing Strings
 
I have a program that I've been given as homework and I have all the logic down but I'm getting one ...
[4 replies] Last: I've realized my error and fixed the program. It works perfectly now h... (by DRevenX)
strcpy problem
 
Hello everyone, i am trying to copy the elements of a const char array to a char array using strcpy...
[9 replies] Last: Instead of copying the assignment (by firix)
Inheritance error
 
hi ive been trying to do some inheritance in 2008 express edition and this is the error i get. 1...
[1 reply] : Baseball.h includes Person.h which includes Baseball.h which includes ... (by jsmith)
problems linking when inheriting from template specialization
 
i ran into a problem implementing a hash table, and distilled the problem down to some small classes...
[1 reply] : Create a file base.cpp and move your definition of Base<char>::hash in... (by sreque)
by wtf
Not couting from within a member function
 
I guess a better way to phrase this is the cout stream is not flushing from within a member function...
[no replies]
November 2010 Pages: 1... 3233343536... 42
  Archived months: [oct2010] [dec2010]

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