Beginners - November 2009 (Page 16)

Calling Recursive program
 
Can't get 30. How this program works? #include <iostream> using namespace std; int mystery (...
[1 reply] : 2 x 4 +(2 x 3 +( 2 x 2 + (2 x 1 + (10)))) becomes: 2 x 4 +(2 x 3 ... (by guestgulkan)
filename argument
 
My program needs to accept a filename as a command line argument. If the user enters myprog.e...
[1 reply] : If you don't specify the path when opening a file, it will be relative... (by Bazzy)
What is the result of this code ?
 
Can somebody help me about the result of this part of code? if we have a pointer ptr as integer (...
[2 replies] Last: That's the decimal representation of the address ptr is located in. It... (by closed account S6k9GNh0)
What software is for writing programs in C++....
 
Hello i am total beginner at C++ programing,and i have no experience in any other programing languag...
[2 replies] Last: thanks :) (by Branko0611)
by Tardiz
Reducing fractions
 
So I have the following implementation file and I just cannot figure how to introduce a fraction red...
[4 replies] Last: Wikipedia even gives you C/C++ code that implements it. (by jsmith)
by zero0
about string
 
Will somebody help me coding this problem Write a program that reads in a line of text and replac...
[3 replies] Last: If you really don't have any idea read some of the tutorials http://ww... (by Bazzy)
by zero0
two dimensional array
 
Will somebody help me coding this program Based on given table, write a program using two-dimensi...
[2 replies] Last: #include <iostream> using namespace std; //function declaration i... (by zero0)
I am so frustrated with this...
 
After the program calculates the triangle from the first line of the file, I need it to calculate, t...
[2 replies] Last: Yes, opening the file in main fixed the problem. Thank you very much. (by thehumm09)
Learning the basics
 
This is a little program that tells you how many levels in World of Warcraft you have left until you...
[15 replies] Last: Thanks every After alot of trial and error and a ton of reading I fina... (by scrivener07)
Can't figure out where I'm going wrong here.
 
I am getting [Linker error] undefined reference to `printResults(std::ostream&, double, double, do...
[2 replies] Last: Got it figured out. Thanks. (by thehumm09)
UserName Files
 
Hi All, I've created a game that can save someone's game and then re-open that saved game for the...
[2 replies] Last: Nice I was going to tell him to use: string username; OutDa... (by ljrobison)
Random Triangle
 
deleted
[2 replies] Last: use nested if, hope it can help you #include <stdio.h> void cle... (by lewi)
by Akyrun
Debugging Issues
 
Need help with debugging this program, it is resembling a car inventory. You can add cars, remove th...
[3 replies] Last: My bad... First it won't compile, then once it does compile, it won't ... (by Akyrun)
Modulus
 
rand() % 10 --> 0 to 9 How about, rand() % 10 + 2? And what is the meaning of this line? Tks.
[2 replies] Last: That would be 2 to 11. The highest possible value of rand() % 10 is... (by mcleano)
by hyrkas
Trouble with input/output operator overloading
 
Hello there, I'm working on an assignment for my C++ class at my university. One part of the assi...
[3 replies] Last: Ha, shoot, never mind. I was just compiling main.cpp and not Complex.c... (by hyrkas)
by btripp
Going from UML to Header file
 
Hey guys. I have a test today at 5:30 est. And I have a couple questions The test is over inhe...
[9 replies] Last: Spot on exactly what I was looking for. I understand the composition a... (by btripp)
beginner pointer trouble using Visual C++ 2008
 
Hi, Am learning C++ from "Sams Teach Yourself C++" and I ran into a problem wihle trying to learn...
[3 replies] Last: C/C++ can be a pain regarding char* . Most C/C++ function in the sta... (by guestgulkan)
how to make cheat code for socom 2 (1,2)
 
hello pleople i am new to c++ and i play video games a lot and what to go to collage for tech. and...
[22 replies] Last: Though I don't believe in commercial software, I can easily see where... (by chrisname)
by enz54
Simple programme
 
Hi Guys, can you please look at this code. I'm wondering if it's something to do with how many bits ...
[12 replies] Last: Thank you very much guys for your help and thoughts. There's more to ... (by enz54)
Question
 
#include <stdio.h> #include <stdlib.h> #include <conio.h> void main(void){ int x ,n,i,j,min,...
[3 replies] Last: #include <stdio.h> #include <stdlib.h> #include <conio.h> void m... (by closed account S6k9GNh0)
November 2009 Pages: 1... 1415161718... 25
  Archived months: [oct2009] [dec2009]

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