Beginners - February 2011 (Page 38)

Opening Webpage
 
Is there a way to open a webpage from a script? if not, add a Clickble link?... Thanks guys.
[no replies]
do { } while (a!="quit"); not working
 
// do while sentinel #include <iostream> #include <string> using namespace std; int n; string a; void acrostic () {do { if (a=="a") cou...
[14 replies] Last: use a map for this http://www.cplusplus.com/reference/stl/map/ (by quirkyusername)
by HMW
Calculating from - to via user input
 
Hi all! First, I am new here, but I have read the forum as a guest from time to time. I am also quite new to C++, but have learnt a little, and solved a c...
[5 replies] Last: What happens, for example, if your start and end value is the same (i... (by HMW)
File path problem
 
I tried using this program to see if the file path was corret, but apparently it's not. I don't know what the problem is. The text file is located in the root o...
[2 replies] Last: If the name of the file is actually text1.txt, it's totally necessar... (by Moschops)
by GulHK
find substring inside a vector
 
Hello all I am trying to find a substring in a string contained in a vector (each element of this vector is whole one line read from file). The code below wo...
[1 reply] : Are the substrings whole words or is there some common way to tokenize... (by PanGalactic)
How do I Sort Nodes to show all of the nodes that are sorted.
 
This is the code I have. It works but it only shows the first node. The other nodes are not displaying. void ShoppingList::sortNode(char Name , double Pri...
[1 reply] : Where do you ever output anything? I think you shouldn't modify head. (by ne555)
by SVXX
Good old Number Patterns
 
Hello all. This is my first post in this forum and I hope I won't sound like a complete idiot. I need a little hint for this number pattern problem I have here...
[2 replies] Last: Thanks for the quick reply, hamsterman. With your help, I've figured i... (by SVXX)
by Ali89
Problems with understanding the following snippet
 
Hello everyone, I am really appreciated if someone explain the meaning of line 10 in the following snippet to me. If operator is a member function of comp...
[5 replies] Last: Thank you very much :-) I've got the meaning by the nice matrix exampl... (by Ali89)
Log in time
 
I'm trying to make a program that counts the amount of time you spend on a computer. I want to see how much time I really spend on a computer. Please help me ou...
[1 reply] : Have the program start when the system boots and log the time of boot.... (by Athar)
warning in "switch,case"
 
Hi In my program I have one warning that I did not find reason of this warning: my code : int next_option; do { next_option = getopt_long(argc,argv,...
[4 replies] Last: Hi Thanks a lot for your attention and good reply :) With your solut... (by nima0102)
how to convert a numeral to roman
 
user should read any numeral like 6931 from keyboard and output should be displayed in romans.
[4 replies] Last: Hint: use somthing like: const string roman = { "M", "CM", "D"... (by closed account z05DSL3A)
Define macros in c++ wid example? (simple definition) :)
 
What are macros in c++ .define using an example? plz explain.i have no idea regardin this topic. Thanks a lot. ^_^
[2 replies] Last: Thanks a lot :) (by dazzling5gal)
by rogvid
Why doesn't it write out the greeting???
 
Hi everyone, I'm trying to teach myself c++, and am currently using the book Accelerated C++ by Andrew Koenig and Barbara E. Moo. This is one of the programs in...
[2 replies] Last: Thanks :) (by rogvid)
Basic chatroom logic error.
 
I apologies in advanced if I use incorrect terms. I have just started teaching myself C++ and my mate offered to help by writing me a simple chat program mad...
[7 replies] Last: Ahh, replacing the first; cin >> strChat; with cin.getline (... (by Umbrafalx)
by amaac
quick question Arrays and pointers!
 
i have an array created in one class and passed as a pointer to another classes function parameter. I am having trouble referencing the length of the array ...
[2 replies] Last: ok thankyou. i have realized that but i was also wondering if i am eve... (by amaac)
alternative for getch() and cls
 
I'm looking for an alternative for getch() and system("cls") since everyone says it's a no-no. I know it's fine for school work but I want to have "good" progra...
[3 replies] Last: Thanks for the articles! that section is full of info. im reluctant... (by asrockw7)
Need advise on looping!
 
I'm new in programming and I've been working on this program for our class but I can get the loop to work. I have been looking for answers but I can find any o...
[1 reply] : Please edit your post and put the source inside code tags. It will mak... (by PanGalactic)
by Nost
Greetings (I need advise/input on a practice exercise)
 
Hello, I'm new to this forum and to c++ and I need help. I'm reading C++ how to program 6ed by P.J and H.M Deitel (love the book, very easy to understand...
[6 replies] Last: stdafx.h is the pre-compiled header stuff that MSVC++ has on by defaul... (by Zhuge)
Random Number
 
is there a simple line that i can do to make a random number? i know in lua, there is the line math.random(-10, 10) which generates a random number with the ...
[3 replies] Last: We will get a nice random number generator in the new C++0x Standard. ... (by wolfgang)
Pulling values from objects.
 
Hello, I've got three objects that I've overloaded an operator(+) to add together. I've got two horses, their scores, and their times in minute and seconds. ...
[8 replies] Last: ahhh it was as simple as newseconds = tempseconds % 60; I also... (by oneSorcerer)
February 2011 Pages: 1... 3637383940... 43
  Archived months: [jan2011] [mar2011]

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