Beginners - August 2008 (Page 6)

by gAaRa
How to increase font size? (Borland 5.5)
 
Can anyone tell me how can i increase the font size of the text appearing on the screen ? Is the same possible to be done in Turbo c++ ? Thanks !
[3 replies] Last: You can't. You can draw on the console window though, and accomplis... (by Duthomhas)
How do I put a delay in my coding?
 
Lets say I'm writing a program that only shows texts to the user, and requires no user input whatsoever. How would I delay it so that I can make certain text (a...
[8 replies] Last: There's no such function in the standard library. (by helios)
Can't figure out how to detect zero when using command prompt inputs.
 
Hello, I am a student who has just begun to learn how to use C++. For our first lab, we are required to write a program that adds two numbers using inputs fr...
[2 replies] Last: Thanks jsmith, that helped a lot. Is there a function similar to strt... (by L Plate)
reading input ?
 
#include <iostream> #include <conio> #include <fstream> #include <iomanip> int main() { int choice; const int SIZE =41; char name ,address ,hpnum ,o...
[2 replies] Last: Simply using input >> name seems to use a space as a delimiter. T... (by ShadowTek)
TicTacToe not determining winner
 
the program seems to take input till the max moves are done it does not check to see if a person has won the game. Any idea what I am missing? #include ...
[11 replies] Last: You don't necessarily have to check every possible placement. Once you... (by Duthomhas)
Using getline() doesn't return the entire line from a text file
 
I am trying to use getline() to simply read each line from a text file, but getline() isn't returning the full contents of the line. I did read through the t...
[13 replies] Last: Yeah, I used Watcom for about a day. I was trying to do the simple Hel... (by ShadowTek)
by man156
Rounding Numbers in c++
 
For example I have happening apportionment numbers 12.456789 How can we make a product that appears after the interval only two of any 12.45 Is it possibl...
[14 replies] Last: std::cout << ceil( 12.5 - 0.5 ) << std::endl; displays 12, instead of... (by Mitsakos)
cin.getline does not return value
 
#include <iostream> #include <conio> int main() { int choice; const int SIZE = 81; char name ; cout <<" \n\n\n\n ---------------1. Save the...
[10 replies] Last: Thanks it works like a charm!But i found another alternate way ,i add ... (by low1988)
by idono
expected input Errors!?!
 
this code keeps giving me input errors i tired every thing that i know of to fix it but the problem remains what im i doing wrong at the end of the code? ...
[5 replies] Last: You are missing some brackets and semicolons - you need to align your ... (by mahlerfive)
by lain
CountNmbrsBigger – provide a count of the number of data
 
CountNmbrsBigger – provide a count of the number of data elements in the array that are larger than a given integer. Ok I almost have this one done, but im...
[14 replies] Last: I am certainly no expert at all, and neither are most people that pos... (by exception)
SOLVED: Problem with bitset
 
Hi all, (yet another) problem saw it fit to grace me with its presence... I'm trying to use the bitset container, but somehow I must be using the wrong libra...
[12 replies] Last: I'm sorry, I still can't get it to run, even though I tried for quite ... (by toshiro)
Pointers
 
When i compile this this is the error msg i get error: cannot convert 'double' to 'double' for arguement '2' to 'void findStatsAddr(double*, double*, doulbe*, ...
[3 replies] Last: I was puzzled by that at first too. You have to look closely as its ea... (by mikeb570)
by mrprog
decimal
 
how to turn off decimal point??
[2 replies] Last: You could do something like setprecision() or whatever to say 2 decima... (by mikeb570)
How do I allow for user input while a for loop is running?
 
Compiled with no errors (2 warnings) in Visual C++ 2008 Express Edition I am designing a program that puts a lot of numbers on the screen for a long peri...
[4 replies] Last: You forgot to #include <windows.h> I'll edit my post on the other... (by Duthomhas)
by kacko
Thinking the right way
 
I was looking down in the lounge, and reading diffrent ideas for beginner programs I could write. When I came across the Tic Tac Toe idea. I have been trying ...
[11 replies] Last: I don't know. The url code for the forum still has some bugs in it. It... (by Duthomhas)
Sort fails for a struct I create
 
Hi, I'm trying to learn to use the built-in sorting algorithm to sort vectors. I've successfully used sort for vectors of ints, floats, and so on. Now I'm tr...
[2 replies] Last: It works perfectly now. Thank you, Duoas. (by Blackavar)
by kaisin
e2316 ...is not a member of 'Tform1'
 
have the folllowing code and error shows up when i run it. it says that e2316 '__fastcall TForm1::Selectd(float a , int i,int j,int k)' is not a member of Tform...
[4 replies] Last: It is declared in that "Unit1.h" include. He needs to post its code to... (by Duthomhas)
Must always use clear() after reaching eof?
 
I was having problems trying to get a filestream to continue working after I had already reached the end of the file from a previous operation. I tried to set t...
[2 replies] Last: Yeah, thanks. I'll use "while (myfile.good())" from now on. I'll se... (by ShadowTek)
alphabetical & pixel graphics
 
Can somebody give a link or an article how to create those graphics , I'm not asking for a code , I'm looking for a tutorial , can anybody help?
[no replies]
Linear Program
 
How to create a program that would simulate the operations of linear data Structure? ARRAY STACKS QUEUES LIST
[no replies]
August 2008 Pages: 1... 45678... 14
  Archived months: [jul2008] [sep2008]

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