Beginners (Page 107)

String over Character data type when validating
How can I use a character in input validation and make it so that it doesn't accept anything other t...
[4 replies] Last: the example you provided still uses strings if i'm not mistaken.. (by cyprusforever)
Printing Array
Hello everyone, I'd like to ask, how should I print an array? I'm not sure which part is wrong...
[1 reply] : If you want to print each element of the array you will probably need ... (by jlb)
by St4be
Temperature Conversion
Hi. I am trying to program a temperature conversion program for a school project. It needs to accept...
[7 replies] Last: What loops are you talking about, I don't see any in your code? I do ... (by jlb)
Value Returning Factorial Functions
My program won't run b/c I'm getting an error that "function 'int factorial(int)' already has a body...
[6 replies] Last: Great, thanks I will implement these fixes over the weekend! (by JoJodoggy1)
How do we know that a compiler will use const_iterator?
Say for example i have this code class SceneNode { public: typedef std::unique_ptr<SceneNode> Pt...
[11 replies] Last: > Const is sometimes confusing Does this alleviate the confusion? #... (by JLBorges)
by kg1
how to start programme
Write your question here. Hello world, I'd like to study programme in C++. But really don't kn...
[1 reply] : Get cracking! Yo... (by megatron 0)
by Jocke
Problem with my code [Help Requested]
Hello! I'm experiencing an issue with my code below. What happens, is that after the user enter a...
[3 replies] Last: You're very welcome I'm happy to help :) (by megatron 0)
Dynamic Array
Hello, I'm trying to create a dynamic array of random numbers from 1 to c. I input b&c into main, bu...
[6 replies] Last: Yeah, I might be missing something but I can't see the point of creati... (by kemort)
Error C4430 Missing Type Specifier
testbed.h(10): error C2143: syntax error : missing ';' before '*' testbed.h(10): error C4430: miss...
[4 replies] Last: Hi, If SelectionAlgorithm is a class, then it should have its decl... (by TheIdeasMan)
How to write a better specification for a class?
Hey guys, I don't see people do it so much on here, but I'm sure many of you have done it at leas...
[1 reply] : It is fine, but I suggest to look up Doxygen. It is useful tool for au... (by MiiNiPaa)
Help with re-running a simple programme
Hi, could someone tell me what is wrong here? Everything works, except each answer has the last answ...
[3 replies] Last: EDIT: sorry, I forgot to put the last line in the function. Thanks kin... (by johnsmith111)
Java Forum
Hello everyone. I'm a huge fan of I have learned alot from here. But now a days I'm...
[1 reply] : First link I could find: Good l... (by megatron 0)
by skkwan
Please help to correct my mistake !
Please help me to correct my mistake! i don't really know to use class, but i tried, appreciate that...
[6 replies] Last: Hi guys, i made some change on my code, but it's still have problem. F... (by skkwan)
Creating a frequency distribution
Hello, my homework assignment has me create a program that finds all numbers in an array that show...
[6 replies] Last: Plus a little formatting #include <iostream> using namespace std; ... (by Duoas)
Array and parameters
hello everyone... i'm trying to call my cumputation in PRELIM ,MIDTERM , FINAL in my code but I don...
[2 replies] Last: thank you so much.... my code is better now... (by Abenoja)
Why cannot I find a number by regular expression?
Hello Why cannot I find a number by regular expression? #include <regex> #include <strin...
[2 replies] Last: Thank you very much! It works now! #include <regex> #include <stri... (by Observer)
scanf is not storing inputed numbers
Hello! I wrote a looping program that will calculate resistance based on color input. Lets say I ...
[7 replies] Last: Hi, Just some small matters of style: When using scanf, always check... (by TheIdeasMan)
Lowest and Highest value
Hi guys, in the program that I have, the user has entered 4 different numbers. I am looking for some...
[2 replies] Last: You can store the input into an array, and sort the array. (by liuyang)
by Myna
Create a lottery program
Write a program that will produce 5 unique random numbers between 1 and 50, inclusive. You must p...
[19 replies] Last: The idea is to make an array of all possible choices [1, 2, 3, 4, ...... (by liuyang)
New to the boards and to C++
currently working on a problem that I just do not understand. so far C++ has been smooth, until I...
[3 replies] Last: this worked when I added the line "using namespace std;" the cout fu... (by closed account 1CfG1hU5)
Pages: 1... 105106107108109... 128
  Archived months: [sep2014]

Cannot post in this page. To post a new message, go to the first page.