Beginners - February 2009 (Page 15)

Simple menu, infinite loop
 
Hey guys (and gals). I'm pretty new to programming, and was hoping that somebody could help me figu...
[1 reply] : http://www.cplusplus.com/forum/articles/6046/ (by Zaita)
by MPKMM
How to do run time monitoring?
 
I have a program which has 10.000 loops. But in the run-time, the program gets stuck in a certain lo...
[5 replies] Last: Debugger :) (by Zaita)
tic tac toe Class, printing a 2D Array board issue
 
I'm not sure what I'm doing. Any suggestions will be greatly appreciated. I have to make a tic ta...
[4 replies] Last: http://www.cplusplus.com/forum/articles/7459/ (by Zaita)
Array dimensions
 
Alright this i found interesting.. i was playing with arrays and i tried to do an (x,y,z) array to t...
[4 replies] Last: http://www.cplusplus.com/forum/articles/7459/ (by Zaita)
nested case problem
 
hello guys...i am new in this forum... i just need help coz im kinda confused how to solve our assi...
[2 replies] Last: Err if I may interrupt :P This question has been asked a lot on this ... (by hannad)
Question about this function
 
Can someone tell me what I am doing wrong? #include <iostream> #include <string> using namesp...
[1 reply] : Read: http://www.cplusplus.com/doc/tutorial/functions2.html (by closed account z05DSL3A)
by Marcel
using string::find with a pointer?
 
hey, Is there any way that you can use the string::find command with a pointer? Here's what i've...
[2 replies] Last: Are you looking for a specific value in the array, or a substring? Th... (by seymore15074)
In c++, how to store different strings in an array?
 
for example, storing names in an array like this: string name[ ]={ bob, mary, calvin}; is it ...
[10 replies] Last: hmm.. ok tks a lot. sorry for ur time (by ahgal06)
by turke
Why does this always return same number? (1,2)
 
I've wrote a small function and included random number generator but it always returns the same numb...
[29 replies] Last: Ok sry this could be closed now... I've read that vector tutorial on... (by turke)
Manipulating an output stream
 
Hello everyone, I have a class called entry. For this class I have defined the operator<< to be a...
[2 replies] Last: entry item; filter f(item); std::cout << f Yes, this would... (by ReedWood)
by jjs2
generate random number
 
hi all, i would like to ask a question about how to generate a random number between 0 and 1 using ...
[1 reply] : See: Uniform random number between(0.1] http://www.cplusplus.com/... (by closed account z05DSL3A)
Cant Compile "Hello world"
 
Hello Im using this online book to study C++ http://www.cesis.lv/learn/C++/htm/ch01.htm And whe...
[4 replies] Last: You can also do: #include<iostream> using std::cout; using std::en... (by closed account z05DSL3A)
by emraan
pyramid
 
i dont know how to make a pyramid of stars..... * **...
[1 reply] : It's easy. U jst have to use a nested for-loop structure for this (o... (by harryp)
polynomial: problem with overloading operator =
 
Hey everyone, I'm very new to c++ and need some help with overloading operator= for a polynomial ...
[1 reply] : never mind, I think i figured out (by msalman)
by Jet89
Loop nonstop
 
Hello everyone..im new here and seeking help..hope you guys can help me.. I got this question and...
[16 replies] Last: Sorry i forgot to mention this.. the program not complete yet.. - r... (by Jet89)
by memoc3
Sory.. anyway looking for some hint
 
i would like to ask how to compare a string that similiar to a word from the file. As i know compare...
[8 replies] Last: i quite not understand about 'read your dictionary file into a set'.. ... (by memoc3)
by Sathed
Finding a string inside a string...
 
First, I can't use .find()... I have to create a function and a helper function to find a string ...
[1 reply] : 1) You could use strtok() to split string b. The length of the first r... (by Zaita)
by memoc3
Spelling checker...
 
I got a question to ask. i realy no idea to do this. plz help. write a program for a spell checke...
[3 replies] Last: What do you have so far? (by Sathed)
Trying to use string class member function
 
I have this code to test whether or not the user is inputting bad data. static bool intOK(strin...
[1 reply] : If you want to remove any leading whitespace. Just use the string.find... (by Zaita)
about n!
 
One of my exercise is to calculate a number's factorial; #include<iostream> using namespace std...
[4 replies] Last: http://www.cplusplus.com/forum/general/7630/ This was recently disc... (by Zaita)
February 2009 Pages: 1... 1314151617... 22
  Archived months: [jan2009] [mar2009]

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