Beginners - April 2009 (Page 2)

Why dont my exe's run on other computers?
 
I compiled a fractal program (by building a release version), and my exe will only run on my compute...
[15 replies] Last: Well then... that's good that it's not using manifests. Mostly becaus... (by tkurowski)
Asterisk pyramid?
 
for (i = 11; i >= 1; i--) { for (j = 1; j <= i; j++) cout << "*"; cout << endl; } ...
[3 replies] Last: for(i=1;i<11;i++) { for(n=0;n<i;n++) c... (by mcleano)
by Bv202
Variable type for both int and char
 
Hey, I'm making a small program to practice Binary Search that let the user input a number to sea...
[17 replies] Last: Ok, thanks again =) (by Bv202)
by Laeion
Multiple Return();
 
s0ftware: Visual C++ 2008 Express inf0: Console Project c0de: int Process(int a, int...
[6 replies] Last: For that job, the best you can do is to use void function and call... (by jasmin m)
Quick question regarding array pointers
 
Ok, I have a function in which two arrays of unsigned short ints are passed. void CheckForMatc...
[1 reply] : As far as I can tell, arrayC = numB; does what you expect. The pro... (by Disch)
by Joe101
Object Scope
 
Hi I wrote a program to find the largest palindrome that is product of two three digit numbers. The ...
[5 replies] Last: thanks kbw... i see that you are obviously correct! (by Joe101)
segmentation problem
 
Hello i wrote this program, it works perfect, however at the end i have a segmentation fault problem...
[4 replies] Last: char* is not a string, it's a pointer. If you want to use it, you hav... (by Disch)
Fail reading a file. Maybe EOF?
 
Hi I have some kind of problem with reading from a file. The file looks like this: gas molecul...
[no replies]
by Claymz
for loop problem with compiler
 
hi, ive written string reverse program, which looks like this - just an example for my problem: ...
[3 replies] Last: well then, i guess the book was wrong xD tyvm! (by Claymz)
by sasha
hi....
 
cud sum1 pls correct da code or suggest ways such dat dis prog calculates da bill even if da items r...
[10 replies] Last: oook...i'll try correcting my grammar....and i'm totally a beginner i... (by sasha)
a simple question
 
how to output a number with a format of 01, 02, 03, etc.? thanks in advance. cplusplusnew
[1 reply] : cout << setfill('0') << setw(2); cout << your_number; ... (by Disch)
Problems with event handler
 
Hello everyone, i am having problems in passing arguments to the event handler which i a...
[2 replies] Last: yes. it is ..have i posted at the wrong place? i dont think so (by nightscorpion)
Unrequired input? Is this possible?
 
This sounds a lot more elementary than it is, but due to the cin function requiring input before the...
[10 replies] Last: Thanks! (by chrisname)
best way to use if statement?
 
Hey, i'm pretty new to C++, i know exactly what i need to do, but i'm having trouble in figuring out...
[2 replies] Last: yes, that works awesomely thank you :) (by firewolf7789)
by kingis
array problem...
 
int main () { double g = 8.3631; double h = 17.2794; double j = 52; linspace(g,h,j); } ...
[3 replies] Last: assuming that you assingned new double temp to type INT with a value (by anythingworks1)
Program Problem
 
I have a program that I cant figure out what is wrong with it. I get certain errors when I try to co...
[13 replies] Last: Ahahah oh god - I didn't pick that up I didn't realize i actually did ... (by Mythios)
find the highest scorer and name?
 
Can somebody help me find the highest scorer and the name of the person that scored the highest? Thi...
[3 replies] Last: that's the problem, I changed it but I messed it up...please help t... (by lolaabbydawn128)
I have a problem whith file o/i
 
I wrote program that input string to a file and I want the user to enter the file name and I u...
[4 replies] Last: Well, that was a truly worthless post. And so is this one. (by helios)
Constructors
 
Hi, I need some help understanding the basics of constructors, however, I cannot find any materia...
[12 replies] Last: right --- don't have count and m_count in your class. Just have one... (by Disch)
xml changer
 
i was board yesterday so i wrote the following program. it finds the xml file "example.xml". it find...
[2 replies] Last: like how? i haven't messed with using memory yet... (by kyle11778)
April 2009 Pages: 1234... 28
  Archived months: [mar2009] [may2009]

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