Beginners - September 2009 (Page 14)

Text doesnt wrap round
 
Well basically when I cout << to the terminal (mac equivelant of cmd), the text doesnt wrap around a...
[5 replies] Last: Ah ok thanks everyone. (by arcadiu)
by audit
I do not understand inheritence
 
...
[5 replies] Last: Duoas, thank you, this is what I expected and what I wanted. (by audit)
Arithmetic
 
How come the answer is 0 3 2? #include <iostream> #include <cstring> using namespace std; ...
[3 replies] Last: Now I know that order of precedence is impt. Tks. (by makan007)
pattern number with looping
 
hey... could anyone tell me how to make some pattern like this 1 22 333 4444 55555 thx befor...
[3 replies] Last: wow... ok... thz for the help....^^ (by devaeron)
Better way to combine strings than "+="?
 
I've been writing a lot of programs lately that have to put together a lot of strings, an it's kind ...
[7 replies] Last: If all you want is to concatenate strings, stick with Chewbob 's exam... (by Duthomhas)
by mar11
macro
 
Hi all, i have the following example #include <iostream> #define ADD(a,b) for(int i=0;i<...
[2 replies] Last: Why is there suddenly a slew of people posting silly macro questions? ... (by Duthomhas)
How do you do it?
 
My program asks a user to input any number of gallons to be converted into liters. Now how do you...
[6 replies] Last: Got it. Thanks (by metalheadrenzo)
brute force algorithm
 
I'd recently made an text encryption program. i need a brute force program that attempts all possibl...
[7 replies] Last: You can help people do it; I just mean don't do it for them. (by chrisname)
by Bv202
List problem
 
Hi, I'm now learning the principes of a list, but it doesn't work :( A tutorial tells me to us...
[2 replies] Last: Thank you, that seems to work :) (by Bv202)
print a particular part of string
 
i want print a particular part of string for eg: char ss ="i am the only bosss"; i want to prin...
[1 reply] : for (int i = 3; i <= 7; ++i) std::cout << ss ; There may... (by Chewbob)
Problem with comparing
 
Hey everyone! For learning purposes, im trying to imitate Dharma's computer terminal from "lost" ...
[5 replies] Last: Thanks guys for your help ! i feel so stupid now :D i mean i have no l... (by award982)
by Claymz
Line count directory input problem
 
hi, this code works fine, it counts lines as it should, but here i have the path already specifie...
[5 replies] Last: ...maybe this helps char z; int linecount = 0; ifstream inData... (by loveless)
im confused...
 
ive been programming in the command prompt, but i was wondering how do you program with graphics and...
[7 replies] Last: Alright, then. (by helios)
classes and objects
 
hi- I will be using wxWidgets soon. I'd like to write an accounting application. In Java I could ...
[1 reply] : hi- I don't think with the database layer in wxWidgets I need user ... (by mtdew3q)
req modification to my pog
 
// progtam to input some integer values and get their sum. // I want the program to exit and show r...
[3 replies] Last: This is just laziness though. He is asking someone to do modify some c... (by chrisname)
Volume of Cone
 
Note - This IS a homework question, so just hints. Problem - Write a C++ program that computes an...
[10 replies] Last: Alright, thank you both. : ) I put this as solved. (by SeeSayLeki)
by mar11
macro function
 
Hi all, look at this function... #include <string> #include <iostream> string TEST1(st...
[3 replies] Last: A macro is just a text-replacement. Given the source code: ... (by Duthomhas)
If statement not working
 
Right so I am doing one of the programs which test your C++ skills on the forum and I have to have 5...
[3 replies] Last: heres an example of what you want it too look like. You need to get... (by MYST)
Newb - Intro - Bloodshed
 
HELLO FORUM!! So every couple years I get an itch to take up programming again. I did some BASIC...
[4 replies] Last: Yep! I'm about halfway thru. (by Triryche)
by MYST
Counting calculation program (sort of )
 
Hiya, I'm basically wanting to write a prog, that calculates the number of combinations of a numb...
[5 replies] Last: See wikipedia: http://en.wikipedia.org/wiki/Combination (by Bazzy)
September 2009 Pages: 1... 1213141516... 23
  Archived months: [aug2009] [oct2009]

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