Beginners - October 2011 (Page 39)

[help]combination function/array.
 
hi firstly i newbie in c/c++ i have some problem in function and array :( i donno where i start fir...
[no replies]
A very very quick question
 
If I delete a pointer (it can be a pointer to any kinds of data type, intrinsic or user-defined clas...
[6 replies] Last: There are tons of memory tools available for debugging memory issues. ... (by moorecm)
by mj1709
sin x
 
float k,j,p=1,s=0;int i; void evaluate(float); main() { int n,j;float b; clrscr(); printf("...
[4 replies] Last: Ah ha, thought of another improvement. for (int i = 1;i<100000;i++... (by Stewbond)
by mj1709
pascal triangle
 
#include<stdio.h> #include<conio.h> main() { int i,j,z,k;float h=1; printf("enter the level upto wh...
[5 replies] Last: I had a for loop for the rows, and a for loop for the columns. I had i... (by novablows)
by Kase
no matching function for call to 'std::vector<double, std::allocator<double> >::push_back(double [2])
 
When I try to compile the following code I got the above error message. My code is as follows: ...
[3 replies] Last: Ne555, I don't quite understand your answer yet. If I have the vector ... (by Kase)
Will not build, i have no idea why
 
I'm using Xcode4, and when i try to run the following: #include <iostream> int add(int x,int y...
[4 replies] Last: @ThangDo: That is only necessary if the implentation of the function i... (by Stupebrett)
Ampersand Sign
 
Hi... I'm new in C++ programming... Actually, I want to ask so many things, but, firstly, I wan...
[3 replies] Last: Oops. I'll correct it now. Wazzak (by closed account zb0S216C)
dynamic allocation help. char and int
 
hello i need an output screen like this: Enter the number of students: 2 Enter the number o...
[5 replies] Last: Is this straight C or C++? [quote=whocares21] x = (int *) malloc(0 * ... (by closed account zb0S216C)
Hello
 
Hello
[1 reply] : Hello to you too. What's your question? This sort of thing happens all... (by closed account zb0S216C)
by Leon
Deleting the last one
 
Hey, I would like to is there any way for deleting last item in output? For example; for(i=0;i<10;...
[9 replies] Last: Moschops's code works, you know. It's got my vote. +1 to Moschops. ... (by closed account zb0S216C)
by mj1709
dynamic initialization
 
can sumone give me tell me how can we initialize an array, wherin the size of the array is specified...
[2 replies] Last: In addition to Athar's suggestion, you could use DMA'd arrays if the l... (by closed account zb0S216C)
by Floeps
implementing templated parentclass method
 
I'm trying to implement a method from one of my super classes but I seem to make some kind of mistak...
[5 replies] Last: I see, this is somewhat different from what I expected, as I had found... (by Floeps)
by basel
changes in a binary file
 
Hey i am programming with c language i want to write a function that takes a binary file and remo...
[2 replies] Last: man first of all thanks for replying what you said about making the m... (by basel)
new-delete & struct & arrays. HELP
 
hello i have an struct like this: struct Student { string name,lettergrade; int stdnumber,*...
[1 reply] : Hello, From what I see, what would need to be allocated are the struc... (by sbonnalc)
function trouble!
 
I am trying to call values from other functions to go into another function and add sales tax to it....
[7 replies] Last: I switched it to this, If i put CostWithoutTax=GetFlight(); inside of... (by ThangDo)
by gh24
Stupid Question....
 
Why can't I end an IF statement with return 1? It is saying 1 does not match my function type?
[3 replies] Last: Just to clarify, return 1 would be ending the entire function, not jus... (by TheMeerkat)
by Ch1156
Seperate files?
 
I want to put my functions in seperate files but i dont know what it goes in, do i put it in a blank...
[1 reply] : Hello, file A.cpp (where you use the function). #include "MyFunction... (by sbonnalc)
Creating a Rogue-Like Game
 
Hey, I'm fairly new to C++, although not a complete newbie which I took a basic class for C++, but I...
[17 replies] Last: Yes the numpad keys typically have different keycodes than the numbers... (by Disch)
by JBabyJ
Functions: Pls help...passing an address instead of a value
 
Hi everybody, me again. I finally got the concept of a function, but now we're learning how to pass ...
[5 replies] Last: If you understand the first 5 why not the second? What did you expect... (by TheMeerkat)
What do you do when it says..?
 
When it says "A-1-3-65) DISPLAY tab e...
[11 replies] Last: displayTotalSales(totalSalesAllProducts); ... (by andywassup)
October 2011 Pages: 1... 3738394041... 59
  Archived months: [sep2011] [nov2011]

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