Beginners - February 2010 (Page 16)

by ALB
outputs
 
how do u get a output to display on the screen in c++?
[2 replies] Last: You're probably looking for cout << "Output"; where "Output" can be an... (by adikid89)
by Roeek9
Problem with a constructor that gets a pointer as a parameter
 
Hi, I have a constructor that gets a pointer as a parameter, and I want the constructor to copy one of the pointer's members. Here is an example of the cod...
[2 replies] Last: Yeah, 0xcccccccc is standard microsoft for "uninitialized". (by jsmith)
by pete81
Moving pointer
 
I'm quite new to programming and wondering if anyone can help. I'm looking for a basic c++ program to run and display the co-ordinates of the cursor (I presume...
[1 reply] : If you're using windows, you need GetCursorPos and SetCursorPos functi... (by hamsterman)
by enrui
Working with class data
 
I'm dynamically creating class information but I for some reason, can't figure out how to change the data through the system. I've tried... potential->pri...
[3 replies] Last: Add a little polish and shine and I gather your looking for a little s... (by Mythios)
by ha101
how to change from iterative function to recursive function?
 
Hi i have a problem. I am having a difficultly to change a function to recursive function. This is my iterative function char swap(char charArray , int c...
[4 replies] Last: lines 7 - 18 seem to be all right. the others should be if(n >= 0) ra... (by hamsterman)
by ALB
how to rewrite an output to get average
 
oooooooooo i got it
[3 replies] Last: yes just the output function (by ALB)
by bph427
Can't get my loop to work
 
I'm working on an program that requires an input of both an initial and final value of x. It then creates creates a table with 4 rows and 3 columns. The first ...
[7 replies] Last: how do you want to create your table? (by Maimaje Bello Abdullahi)
by orbit
Trouble with summation loop.
 
First of all my program needs to be able to calculate the sum of 1/1 + 1/2 + 1/3 + 1/4 + 1/5 + etc. all the way up to 1/100000000. Later on we have to r...
[17 replies] Last: Does anyone know why I'm getting the result of four different numbers.... (by orbit)
by ALB
finding average
 
can anyone tell me what am doing wrong i get 1 error average = find_average(input_numbers) only take 1 argument.And it have to find the highest and lowest numbe...
[6 replies] Last: still not working like it should any know how to rewrite the output to... (by ALB)
Insertion Queue
 
The program is required to read from queue.txt output to the screen giving female as priority. The program works like a Priority queue where the female will ...
[no replies]
Quick question about '&'
 
I'm a bit confused about the ampersand (&) symbol. Let me start with an example: int i = 1; int * x = &i; int & y = i; It is to my understanding that...
[3 replies] Last: You have the right idea. your first example illustrates the "addres... (by Disch)
C++ Homework
 
I have been working on my homework assignment this weekend and have gotten about half way through it...very slowing of course. I have a very confusing teacher a...
[5 replies] Last: Thank you again for clearing up the confusion. I am down the last part... (by lessarlin)
converting to a class
 
I've made a program to find the both roots using the quadratic equation, but I'm now told I have to use classes in the header file and get functions. I'm a bit...
[7 replies] Last: Ok thanks Disch, I will look forward to your article and hope you will... (by olredixsis)
question about for loops
 
Hi all! I was just trying out some C++ practice exercises at <a href="http://en.wikibooks.org/wiki/C++_Programming/Exercises/Iterations">Wikibooks</a> and on...
[2 replies] Last: Cool. Thanks! -Clay (by torgosaves)
by cmccmc
program is always using the first if
 
I am trying to make a simple program that can do some basic algebra equations in a command prompt. The problem is no matter what I type into the command prompt ...
[3 replies] Last: thanks Osor77 you were right. Somehow I forgot about that. @Fallen ... (by cmccmc)
get total width of all controls
 
I am trying to get an array of all the controls on a toolstrip then test all of the controls to see if it is a toolstripbutton. if it is then I will add the wid...
[no replies]
by hax
Obtain text from EDITTEXT
 
Hello, I am a bit new to GUI programming...I am currently using code::blocks to build everything manually here. I have two dialogs, one in which I need to get ...
[no replies]
by cppbeg
return function
 
scscsacsc
[2 replies] Last: can we not create function of that has the return type bool and takes ... (by bluecoder)
I Don't Understand This...Can Someone Please Explain It To Me?
 
I have found a website that explains RAS better than the MSDN library does. http://bcbjournal.org/articles/vol3/9903/Using_RAS__part_1.htm?PHPSESSID=0fc891c...
[no replies]
variables=confusing
 
I don't understand about variables so can you please tell me the lesson 2 things variables and data types its confusing to me. Thx in advance!
[4 replies] Last: oh! ok so its basicly holding info that can be changed but it always r... (by C plus plus begginer)
February 2010 Pages: 1... 1415161718... 32
  Archived months: [jan2010] [mar2010]

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