Beginners - May 2010 (Page 27)

flowchart
 
Hi, can anyone help me with the flowchart of one program... here is the source, i'm sorry but the comments are in Bulgarian.:( Here is the source : http://rapi...
[1 reply] : sorry... i figured there are some errors that have to be solved ;(. (by solomeros)
by Nikoru
I have an error Installing SDL!
 
Okay so I followed this tutorial: http://www.lazyfoo.net/SDL_tutorials/lesson01/windows/devcpp/index.php However, it seems to be a bit out of date. I followe...
[6 replies] Last: You should have gotten one when you downloaded it, usually the code is... (by Warnis)
etchasketch
 
/****************************************************************************** * Program: * Programmer: Christina Backlund * Date : * Purpose: * notes: ...
[2 replies] Last: yeah a 2d array that is going to the basis"paper" for the etchasketch... (by tinanewtonart)
error in operator overloading
 
hi i have a problem in this code: #include<iostream.h> class exforsys{ private: int x,y; public: exforsys(int x,int y){x=0; y=0;} void getvalue(){ cout...
[4 replies] Last: tnx man. i resolve it by ur guide. i move the values from body of exfo... (by aliirooni)
Duplicating Output
 
I wanted to try using header files so I made this header: //v1.1 #ifndef MATH_H #define MATH_H int add(int x, int y) { return (x + y); } int ...
[2 replies] Last: Wow I feel stupid... Thanks for that. (by MottMan)
I don't even... please explain the source
 
This has to do with pointers and references. Please explain what does the const do right after int GetAge() ? (line 13) FunctionTwo is a constant point...
[7 replies] Last: Right. I see it now. T h a n k s .... (by neshtak)
Slight IFSTREAM trouble!
 
Simply put; What do I use as the While condition in the () brackets in order for it to loop until every value in the file is read??! I've tried all sorts... ...
[3 replies] Last: stream is not created until you are inside the loop so putting that ge... (by kempofighter)
homework...
 
i am baffled i dont know how this can happen. it wont let me use the << operator. #include <iostream> #include <fstream> #include <string> #include <iom...
[10 replies] Last: i tried this for(index = 0; index <8; index++) inFile >> menuList... (by kybbles)
by Whorse
inFile issue
 
Simple program, compiles properly, yet I can't for the life of me figure out what's going on when I try load. The data doesn't input correctly. //==========...
[4 replies] Last: Thank you very much moorecm, I cannot stress it enough. I followed my ... (by Whorse)
selectionsort and average of students scores
 
I've been trying to do this program which I put it down. it always gives an error: cannot convert `double (*) ' to `int*' for argument `1' to `void sort(int*, d...
[4 replies] Last: ohhh, I also did it , but if I do like that I have an extra warning(er... (by nssasapling59)
How do i prog a simple timer
 
Hi everyone! as the title suggest i need to program a simple timer who counts from zero to 3000 in seconds. I am looking for the most simple way dosent need to ...
[no replies]
Problems with "getline" function
 
I'm taking my first C++ class, and so far the instructor has only taught us to use the "cin <<" method of getting input from the user. We have our first assi...
[1 reply] : A friend helped me figure out what was wrong. getline() always stores... (by Quanzi Z)
Inner if statment not working
 
Ok so I have this inner if statment to get user input but it does not seam to work by doing the statement in the if else block. What is wrong with it? I dont kn...
[4 replies] Last: C++ has very little automation for the programmers, we've got to do mo... (by AngelHoof)
Linked lists, queues, and stacks
 
I am learning the title, linked lists, queues FIFO, and stacks LIFO. I've been looking through the code resources on the site and I can't really find a clear de...
[1 reply] : I've been looking through the code resources on the site and I can't ... (by hamsterman)
Getting Back to C++
 
I used to do some C++ programming in school and wanted to get back to programming as a hobby. In school we wrote programs to solve partial differential equation...
[6 replies] Last: Ummm no.... The "total speed" of a system can only be viewed in the wa... (by Computergeek01)
Array Data
 
I am having a problem with my code. below i have outlined the home work requirement. please take a look at the second part(this is the code that i have written)...
[1 reply] : Exit code 0 generally speaking is not an error. It looks like you have... (by Computergeek01)
Array?
 
What is the size of the character array s1? char s1 = "susan";
[8 replies] Last: what about the null character at the end '\0' ?? (by btripp)
Problem with decimals
 
So I am supposed to write a program that asks the user to input their income and then display their income. I was supposed to create function called getIncome t...
[2 replies] Last: Yeah sorry for the little errors its right in the terminal itself I ju... (by barkley)
Vector won't work
 
I am going through the book Programming principles and practice using C++ by Bjarne Stoustrup. I cannot get this program to build. #include "stdafx.h" #...
[8 replies] Last: Oh just for anyone who may have this problem in the future. This comp... (by workright)
by pixx
boost + shared memory + unordered_map + allocator
 
Hi! I'm nub at c++ and trying to allocate boost::unordered_map in shared memory with string as key. As i understad from boost docs i should allocate memory f...
[1 reply] : Ohh!!! God bless! i solved it! here's the code: #include <boost/inte... (by pixx)
May 2010 Pages: 1... 2526272829... 33
  Archived months: [apr2010] [jun2010]

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