Beginners - November 2008 (Page 10)

where is my IDE and complier
 
Hi all, Since C++ codes can be excuted on almost anything, where is my compiler or how do I access my compiler for my windows pc? Or, where do I type my c++ ...
[1 reply] : I think you have been mis-informed. You can develop applications fo... (by Zaita)
resizeable 2-dimen array
 
i'm trying to make a matrix class and i want to use 2 dimensional arrays for them. i know you can use vectors(easy way) but is there a way to re-size the array?...
[19 replies] Last: There are other ways to do it. But they either involve overloading ope... (by Zaita)
Changing the Background Color in a program.
 
I have been working on a simple program that allows the user to either select a text color, a background color, let the text color be random, or let the backgro...
[7 replies] Last: @ Mythios 16 is the numeric base on which the integer is saved to the... (by Bazzy)
Where or what is my complier?
 
Hi all, Since C++ codes can be run or excuted on almost anything, where is my compiler or how do I access my compiler for my windows pc? Or, where do I typ...
[2 replies] Last: You write your code in any editor, that code is called the sourcecode.... (by Scipio)
by tht
Error with string in "Hello World!"
 
Hi, i try to make a simple Hello World program using string variable. I compile with Visual Studio 2008 via command prompt, but get an error. What is wrong here...
[7 replies] Last: Yeah just as if include iostream and thats all and type std:: - in the... (by Mythios)
char referencing
 
I have been working with pointers and using the & operator. But it does not seem to work with char variables. e.g, int telno = 1234567; cout << "...
[4 replies] Last: Yes, it is ostream trying to be smart. Because C-strings were, as B... (by jsmith)
Xcode Extremely Basic Question
 
I took a C++ course in high school and am trying to relearn what I knew with some basic programs, using Xcode as a compiler. So far I've tried Hello World and ...
[10 replies] Last: That topic is a horror - I hate seeing it there :( (by Mythios)
What more to do ...
 
If i want to get the following output 5 25 6 36 7 49 8 64 9 81 10 100 and my code is #include<iostream.h> #include<conio.h> #include<m...
[4 replies] Last: The maths.h header already has a pow method in it. Etc int answer... (by Mythios)
Knight , Chess , Move
 
Hi . I need to write a program to find a way for khingt to start from (0,0) and go to all of the chess cells , while it shouldn't pass any cell twice . ...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
visual C++ and mobile development
 
Dear All: I would like to develop a small mobile application, using visual c++, on windows vista, visual studio 2005 is not really working even after downloa...
[1 reply] : You will more than likely need a the mobile SDK for the environment yo... (by Zaita)
by ziwei
Problem with integer array
 
I have a little problem with integer and array. I want to receive a values from user and split it to array in one line. For example,the value is 7890 (rec...
[7 replies] Last: int number; cin >> number; char array = { 0 }; sprintf(array, "... (by Zaita)
[SOLVED] Is it possible to change this code to stop the flickering?
 
For a game I been working on for someone they need to be able to display a map in a console like this: void DisplayMap(Character *teamOne, Character *teamTw...
[17 replies] Last: Thanks a heap for that man, very nice explanation - cheers :D (by Mythios)
nag_random_normal() fails
 
Hello, everyone. I new to this forum as a fresh C++ user. Here is my problem. I use NAG random number generator to generate numbers with Microsoft Visual C++ 2...
[15 replies] Last: Nice, Problem was fixed then :) (by Mythios)
How to display BST tree?
 
Hello, I have a problem witch dislay BST tree in Windows console. Maybe somone have idea or ready solution how to do this? Thanks for any help. Here is my BS...
[1 reply] : Please: void display(wezel *p_root) { if ( p_root != N... (by Karql)
to develop airline ticket booking Program
 
Hi i am Pala n i am new here i need to make a program on airline ticket booking....... Well what i need is a code. The airline company, has engaged your t...
[3 replies] Last: You can store data in an array with a command like this: myArray =v... (by DarkFire21)
Font Size.
 
Can you change the size of font in vc 6 console application??? I do not mean the size of whole text. If u want to change the size of font of a respective text?...
[1 reply] : SetCurrentConsoleFontEx() from windows API could help you http://ms... (by Bazzy)
time header
 
iam an btech student in IIIT - ALLAHABAD (INDIA);iwant to learn how to use header time.h. please explain with examples.
[1 reply] : Go to the reference part of this site. You'll find good explanations a... (by Scipio)
stack characters
 
Is there a way to stack multiple characters? Example: // stack::top #include <iostream> #include <stack> using namespace std; int main () { stac...
[1 reply] : you could do something like this: string characters = "abc"; fo... (by psault)
User Activated Stop
 
I was wondering if someone could help me with this: I have a countdown that uses Sleep(); for the pause and Do-While for the loop. I was thinking that somew...
[4 replies] Last: have you tried getch() ? That should return a value only if a key wa... (by Bazzy)
overloaded function with reference paramater
 
hi assume that we have two overloaded function but the different between them is the first int function ( int x,int y) { //some code } but th...
[2 replies] Last: Yeah what Bazzy says is right. It's a bit strange though to do what y... (by jsmith)
November 2008 Pages: 1... 89101112... 19
  Archived months: [oct2008] [dec2008]

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