Beginners (Page 79)

log table
Hello everyone, I am working on an assignment to print out a table of log values. I am very close t...
[1 reply] : 1. It is enough to set precision on stream once. 2. http://www.cpluspl... (by keskiverto)
by HG319
Accessing queue within a vector
Hi I have this linked queue which I placed into a vector (something I needed to do to for my project...
[3 replies] Last: Simpler example: std::vector<int *> foo; int * bar; // where does the... (by keskiverto)
Confussion over output
Why is k equal to 17? I understand that i is 5, but how is 0+5=17? #include<iostream> using ...
[2 replies] Last: I understand that i is 5, No, it is not. It is 5 only after the l... (by keskiverto)
using crypt
Hi am attempting to use crypt to generate SHA512 hashes. copied code from
[4 replies] Last: not to worry, figured it out eventually (-_-) gcc -std=c99 file.c... (by bluefrog)
Tic-Tac-Toe program
Hey, I'm trying to make a Tic-Tac-Toe program, but I want to keep it as short and as simple as pos...
[5 replies] Last: You may use std::system("CLS"); before showing the box. http://www.... (by coder777)
by alx119
Exercises suggestion
Hi, I started to learn c++ from a website.So far, I've learned about structures, arrays, a little...
[2 replies] Last: Thank you very much! Next time I should search better :D (by alx119)
hello everyone i have 3 questions that i did it as code in program but that is with a lot...
[no replies]
by Areey
I have trouble with this, a program to enter 15 numbers and calculate the summation and average of n...
[5 replies] Last: it works :)))) thank you both. int main() { int i, n; float sum = ... (by Areey)
Can someone please help?
Construct a class definition to represent a types of food. A type of food is classified as basic or ...
[1 reply] : How far have you got? (by Moschops)
by Bopaki
The implementation file does not see the header file
Write your question here. I have a header file( employee.h) and an Implementation file (employee.cp...
[5 replies] Last: I have resolved my problem. Thank you all. (by Bopaki)
Write your question here. Write a C++ code to implement the following tasks: 1. The company ABC want...
[1 reply] : Why is totalSales Amount an integer instead of a float? You're suppos... (by dhayden)
max and min word in string
How me find max and min word in the string? #include <iostream> #include<cstring> #include...
[4 replies] Last: this function couted words in the string No it didn't. It counted t... (by dhayden)
i have done that code ..problem is that when i have set value of dim1,dim2 through main function ....
[3 replies] Last: The object s and t are two completely different objects. The share... (by coder777)
by Gector
COM port not sending any information
Why doesn't this return the the information that my arduino is sending on COM3? No errors are throw...
[2 replies] Last: Try this code to see the error: #include <windows.h> #include <stdio... (by Thomas1965)
Madlib program help
this is a madlib program for some reason when it runs it works as expected except the first cin.get ...
[1 reply] : Very likely that you have a mix of the operator>> and getline(). See t... (by coder777)
Creating multiple occurences of the same struct
Hey guys! So, here goes the code at first. char.h #ifndef CHAR_H #define CHAR_H struct Ch...
[7 replies] Last: Hey JLBorges! That seems to be great! Infact it went over my head till... (by TheLoneWolf)
How do I get the code to stop running if a certain condition is true?
Hey everyone! I am curious how I get a program to stop executing once a particular condition has bee...
[4 replies] Last: Excuse me, I meant while ( weight > 0 || weight < 0) (by Nick Schuck)
My C++ program stops half way
I am new to the programming. I have an assignment that required me to write a program that sells ite...
[5 replies] Last: Glad to hear you got it working. Good luck. (by McNo)
Setting "positions" to an array of object[6][6]
Hi, im currently making a match 3 type of game and I'm stuck at this point. I can randomly fill in m...
[1 reply] : Thinking about it, do I really need a position, as the index of the ob... (by Viiarge)
by kflo98
***Pointer notation
I had a question about certain kind of pointers. If you had say int **Ptr; How does that exactly wor...
[1 reply] : If you are asking what it means, it is a pointer to a pointer. If you ... (by Nick Schuck)
Pages: 1... 7778798081... 91
  Archived months: [feb2016]

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