by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
How would I find the sum/average of an array of numbers
I have been writing a program that prints an array of random numbers and then its reverse. It then p...
[7 replies] Last: @Kemort Thanks, that fixed it! (by Austinomical)
Magic Square
Hi, I created a magic square program to allow for a variable input of an odd value. However, I am ge...
[no replies]
by MAhmed
User defined function error
please check the code i am using this code for: when user give 2 inputs for example user gave 1 and...
[6 replies] Last: int user (int a, int b) { int total = 0; for (int c = a; c <= b... (by Thomas1965)
by MAhmed
Can someone tell me atleast 10 functions of string and a little method on how to use them? and what...
[3 replies] Last: Google c++ string (by TheIdeasMan)
IF command help
Hello, this is my first consultation ever on c++. :p I'm self learner so it's very hard to figure my...
[4 replies] Last: Thank you for answers! But I have few questions more. When I input al... (by GEvaldas)
LNK1120 and LNK 2019 errors BMI program
I keep getting LNK2019 and LNK1120 errors...not sure whats going on. heres the assignment... Yo...
[1 reply] : You seem to have a lot of extra semicolons in your code. You may want ... (by jlb)
C++ and math
Hey guys! I'm currently learing c++ and i really like it and i would like to make a software for Win...
[6 replies] Last: Thank you so much for your answer! Really appreciate that :) (by Welp12451)
manipulating the cursor position.
i am making a part of a game that requires a function to control the cursor, in theory what i wrote ...
[3 replies] Last: Ditch the variables CoordX and CoordY. Use the Windows API to query th... (by Duoas)
What's wrong with my code?
The following is a function that tests whether the user entered the right input. In this case, I am ...
[4 replies] Last: but maybe too advanced for a beginner. Possibly, depending on how ... (by jlb)
Integer o word
Hi, I am stuck of thinking how to convert integers to words using arrays. I cannot figure it out. An...
[11 replies] Last: All you do is expand what I have given you so that the number is broke... (by kemort)
Clean Text
Hello such : I am trying to create child windows to write texts in other windows with a class, th...
[1 reply] : Try setting the WM_CLIPCHILDREN style of the parent window. See: http... (by coder777)
Load variables from file and work with them
I read some threads about importing and displaying data from files, but didnt find a case of actuall...
[3 replies] Last: I am sorry, but i need to go afk for some time. I will read as soon as... (by AterVulpes)
Inserting objects into BST
I have a class called Shows: Show(const Date& date, const Time& time, int showNumber, string tit...
[1 reply] : Line 3 of your snippet implies that Show has overloaded the < operator... (by AbstractionAnon)
Why am i getting -nan(ind)
How can i fix that error? float returnFallenDistance (float gravity, float height, float thr...
[8 replies] Last: Using the input you provided I get the following output: ------------... (by jlb)
Unable to statically link to GLFW lib, but no problems dynamically, why?
I'm using GLFW for creating a gl context in C++. Would anybody know why when using GCC and mingw-w64...
[4 replies] Last: There are advantages and disadvantages to both dynamic and static link... (by LB)
How can I return to Main from a constructor?
I've got a constructor: // renderer.h Renderer(); // renderer.cpp Renderer::Renderer() { /...
[4 replies] Last: more details about constructors: (by Necip)
by xymon
I can't paste the header file into the microsoft visual 2013 file
Hey, in the book: programming principles and practice using c++ of Bjarne Stoustroup he uses the st...
[7 replies] Last: You do not need to copy the header file to the compiler headers. Just ... (by coder777)
Special Tree Problem
I am creating a combination of trinary and binary trees. At level=0, you have the root of course. T...
[8 replies] Last: @Necip Yes, that looks good. The 'forward declaration' is not needed. ... (by coder777)
Pages: 123... 52
  Archived months: [may2016]