Beginners - July 2008 (Page 11)

I want to display more text in my console
 
When I run my program, I would like more text to be able to fit on the console. I need 5000 or so lines, when I am only getting around 1000. I am using double f...
[3 replies] Last: Thanks arrrgh, but yours didn't help. Thank you Grey Wolf for your ans... (by porkshoulder)
class in class
 
hi. I have a problem with that code. #include <iostream> using namespace std; class A{public: int i; class C{public: void ctest() { cout<...
[6 replies] Last: something like that: #include <iostream> using namespace std; ... (by lovelyHanibal)
class dependcies
 
I want to create two classes, Node and Link. Node can contain Link Link can contain Node how to achieve this ?? For example: This won't compile #inc...
[2 replies] Last: Got it, thanks! (by anilpanicker)
A Simple Problem
 
I am extremely new to programming... like working on my first program. I cannot seem to get this right: #include <iostream> #include <iomanip> #inclu...
[5 replies] Last: Wow. I am sorry everyone. Like I said this is my first program ever. M... (by OleFowdie)
Average function gone wrong.
 
/* **************************************************** */ //aver.h /* **************************************************** */ #ifndef AVER_H_ #define AVER...
[1 reply] : You've got to fix three things: #include "aver.h" // unless this ... (by Duthomhas)
Payroll Program with inheritance (1,2)
 
I am writing a payroll program with inheritance that has the following requirments: Expand the Employee Payroll program to include hourly based and salary ...
[20 replies] Last: I have been working on my code. I have been able to execute the file ... (by LostStudent)
variable 'error' being used without being initalized?
 
#include <iostream> using namespace std; int addition (int x, int y) { int r; r=x+y; return (r); } int main() { int z; z = addition (5, 3...
[2 replies] Last: Fantastic. Now I just have a few problems within the code to fix (bugs... (by Warrior2089)
A problem with files in C++
 
http://lengejoorab.persiangig.ir/c++problem.JPG This is simple program. theres a class whit a string and an integer. it gets data as objects of this class an...
[2 replies] Last: thank you for your note (by soroush)
by coja
Finding similar OpenGL function in DirectX
 
I noticed that someone had asked questions about DirectX, so I decided to ask my question here, sorry if it is not the right place to ask about dx. I'm conve...
[1 reply] : Try the DirectX SDK. Or a DirectX Forum. (by Zaita)
command prompt opens and closes
 
No matter what examples i put into the compiler i'm using (i'm doing the tutorials on the site and i tried the hello world and the variable examples), the .exe ...
[3 replies] Last: cout << "Hello, world!\n"; //\n is an escape character for a newlin... (by QWERTYman)
Where to put a txt-file?
 
hello, I am trying to do read and write with a textfile. But my compiler does not seem to find it. char* Text; fstream MyFile; MyFile.op...
[3 replies] Last: I believe I have managed to open the file for MyFile.is_open() and MyF... (by int main)
Simple while loop
 
I'm trying to learn how a while loop works but for some reason it still doesn't work here's my code: #include <iostream> int main () { int iCout = 0; ...
[1 reply] : What does it do (i.e. Any errors? Doesn't do the intended thing?)? ... (by QWERTYman)
Prompting the user for a filename.
 
I guess I'm not even sure if you can do this, but I have no idea why you couldn't. I am trying to use a string variable as the name of a file, but to no avail. ...
[2 replies] Last: Gosh, thank you so much. Now I feel pretty forgetful. I really appreci... (by tarealex)
Cout << string; = memory error?
 
Hi i have been coding in C for a couple of months and recently moved to c++ here is where the fun starts if i code something like: #include <iostrea...
[5 replies] Last: Ok i reseted the compiler settings (i froggot how mutch i messed with ... (by NamelessOne88)
problem with code "Playpen"
 
Found this code in a c++ for dummies book in the "www" Its supose to make a empty window that pops up when u run it. But i just get several error msg about p...
[2 replies] Last: For line 1, LacViet, an easier thing would be to do #ifndef .... (by QWERTYman)
[solved]"Too many arguments" error
 
#include <iostream> #include <cstdlib> #include <ctime> #include <cctype> using namespace std; int redo(); int main(){ int cardone, cardtwo, cardthr...
[4 replies] Last: Hmmm.... Fixed it! Enjoy...now! (by QWERTYman)
how is visual basics different from c++ ??
 
Im use to drawing the program then writing the code in VB. I was wondering: How I would go about using what Ive taught myself in VB and duplicating it in to...
[3 replies] Last: yes I do mean the GUI when I say drawing the program sorry, I found a ... (by GeekRockerGal)
how to display true type fonts
 
How should i display the true type fonts (in turboc++) and how can be the graphical output screen resolution can be increased and also the colors, so that the o...
[1 reply] : Both can be done, but only through an awful lot of effort you probably... (by Duthomhas)
Function declaration
 
here is my code, im still getting an error and had no idea what to do! # include <iostream.h> void company_name(void); int no_emp(int emp); main (); { c...
[3 replies] Last: OK, It looks like you need a function int payRate() which would han... (by Faldrax)
List Iterator
 
Thanks a lot.
[1 reply] : The * and postfix inc/dec operators should be Type& operator * (... (by Duthomhas)
July 2008 Pages: 1... 910111213... 15
  Archived months: [jun2008] [aug2008]

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