Beginners - August 2014 (Page 13)

Adding 4 numbers
 
Create a program that will accept 4 numbers. Get sum1 (sum of 1st and 2nd number) and sum2 (sum of 3...
[2 replies] Last: hi i think this program will help #include "iostream" #include "conio... (by cpm14)
txt Files as a beginner
 
Solved
[10 replies] Last: The C++ part of you issue seems to be working fine now, there's someth... (by Ganado)
by Ch1156
SFML How to draw sprites to a grid(Non SFML Question)
 
In SFML I'm trying to draw sprites to a grid, but I want to draw them to the position I choose on th...
[14 replies] Last: I got it working!!! No I just need to figure out how to replace the te... (by Ch1156)
Quadratic formula code
 
Can someone explain to me what the top of this code does? It says if a==0 and if b==0 answer is -1, ...
[2 replies] Last: This is somewhat wrong: if (a > 0) answer... (by helios)
question deMorgan's laws
 
One of states the following: not(A) and not(B) is equivalent to not(A or B). Write a program t...
[2 replies] Last: i am going to try (by passw0rd)
Why won't this compile?
 
I'm trying to write a basic code but I can't get it to compile, it's giving me "cout" errors. The co...
[5 replies] Last: Thank you I got it working. (by hellworld136)
Algorithm Library
 
I'm including the algorithm library in my program but am getting this crazy error when I try and com...
[2 replies] Last: Methinks you are missing some semicolons (;) somewhere in your code. (by Duthomhas)
First time trying to make 10x10 Grid
 
I'm trying to make a 10x10 grid of 0's. I haven't gotten very far and already I've encountered a pro...
[11 replies] Last: I had a hard time with arrays at first until one day they just stopped... (by admkrk)
by zazola
Subclass instanciate problems
 
I'm having some troubles to instanciate a subclass. The linker is giving me some errors of instancia...
[2 replies] Last: Where do I have to use it?? (by zazola)
Learn C++ code English? + Using void variables in main
 
Hello I have two questions and though it'd be unnecessary to make two threads. :) So, here they ...
[9 replies] Last: ^Thanks worked! :) Thanks a lot. ;) Now searching answer for questi... (by Nielyboyken)
CAN SOMEBODY HELP WITH THISSS
 
Im using an online executor. compileonline.com to run my codes. Here is the problem. i put #include...
[4 replies] Last: The extra braces in your case don't really do anything. But if you onl... (by giblit)
by vxk
Significance of nullptr
 
can anybody please tell me the significance of the origin of the name nullptr in c++11 because the s...
[8 replies] Last: @vxk, to make sense of your compiler's output, pipe it throgh c++filt ... (by Cubbi)
by thor36
Error when using _M_fill_initialize(static_cast<size_type>(__n), __value); in stl_vector.h
 
Greetings everyone. I am a beginner in C++ and I hope I am posting my question on the right board. ...
[2 replies] Last: Problem solved. my initializations of std::vector< std::vector<doub... (by thor36)
Any error in my coding?
 
Hello. I wanted to know whether there is any fault in the coding below. It is a simple and basic pro...
[14 replies] Last: Yippeeeee!!!! I've got my program to work even when I enter '0' for an... (by Deepak Kadam)
Modifying element of info of a node in linked list
 
Hello everyone, How can i modify the info of a node in linked list? Example: A node contains s...
[4 replies] Last: Traverse through the nodes with the linking pointer, whiles checking... (by comebackkid)
string::nsop when using namespace std?
 
Hello I'm trying to find a string into a string (ABCDEF, if A exists in string do something). ...
[2 replies] Last: Thanks! :) (by Nielyboyken)
Error while using member fucntion of class
 
So I'm trying to make an array of objects with the following codes class Student { pub...
[1 reply] : http://www.eelis.net/iso-c++/testcase.xhtml A testcase is said to repr... (by ne555)
Tic-Tac-Toe game.
 
Hi, I just need a little help. I am trying to make a Tic-Tac-Toe game, as you can see I am using a t...
[3 replies] Last: Thanks, I'll include it now! (by JackMorrill)
by vxk
Question regarding polynomial class
 
I have several questions regarding the defined polynomial class: http://coliru.stacked-crooked.co...
[3 replies] Last: No. If you want a reference, do auto &x = y; See here for a good expl... (by dhayden)
by lays
double type I got 0.199999999 when I supposed it to be 0.2, how to resolve it?
 
when I am doing some calculation, the floating point become 0.19999999 which I need it to be 0.2. Ho...
[3 replies] Last: If you really need that .0000000000000000000000000000001 then you migh... (by giblit)
August 2014 Pages: 1... 1112131415... 40
  Archived months: [jul2014] [sep2014]

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