Beginners - June 2016 (Page 6)

Personal Coding Project
 
Hello everyone, I am currently creating an Arduino circuit that heavily involves programming. I don't have much background in coding except for a C++ class I...
[2 replies] Last: What is a BST in relation to an Arduino? If you mean a binary search t... (by closed account 48T7M4Gy)
by Jiw0on
Vector String Input Not showing up as an output
 
Greetings, I am currently learning C++ using Addison Wesley's /'programming principles and practice using c++". Here, there is an example that goes: int m...
[6 replies] Last: Thank you so much! I just figured it out. It turned out I had skipped ... (by Jiw0on)
Help in understanding C++ statements
 
When reading the problems to convert to C++ how do I know which statement to use? ex. when the problem asks to got the Square root of Numbers 4 to 9, ---I k...
[1 reply] : Please don't double-post. http://www.cplusplus.com/forum/general/1932... (by helios)
Expresion must have class type
 
Hi, im creating a simple class, that opens a text file, copies the text to a string and then prints it, i used a default argument, so it will opens pre-created...
[2 replies] Last: yea... i see it now, thanks! (by jjohn333)
by FBHSIE
Do you guys get errors when you compile
 
I had a friend of mine check this for logic errors, and he says he keeps getting errors with the code. I've compiled it on a few different sites now including a...
[6 replies] Last: You may be right. The question wasn't quite what I expected. Neverthel... (by Chervil)
unity
 
Hello I want to learn unity and I think start it with 2d games. I dont know nothing for unity and I want a website with videos or youtube videos to learn it. T...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/193035/ Two heads are better ... (by closed account 48T7M4Gy)
Trouble returning a value from a vector(prime number generation)
 
I am trying to make a c++ library for prime numbers; the first function I want to create is a prime number generator. I decided to use the sieve of atkin becaus...
[9 replies] Last: I think that replacing each n in the function with n+1 (except for the... (by MZH)
Simple Vector Problem
 
I made a program that BLEEPS disliked words. The output of this vector seems to read the sentence one word at a time and after each word it starts at the first ...
[3 replies] Last: Thank you for your help everyone, you were right, it was looping throu... (by pillowPOP)
Setting conditions to a line count (input data file)
 
Hi everyone, this is my first time posting here so i apologize in advance if i am posting something wrong. I am creating a simple program for class that takes ...
[6 replies] Last: yeah i posted before I read mate...you learn something new every day..... (by closed account 37oyvCM9)
by yiddo
Array of symbolic pointers, cannot compile
 
Hey guys. I wanted to try the exercise Array of symbolic pointers. It seems i am missing something for my array. I need second opinion. #include <iostream> #...
[8 replies] Last: > "const" wasn't a must With a conforming compiler, const is a must... (by JLBorges)
Calling a stored value
 
Hi everyone. I am new to C++ programming. I am facing a problem in calling last stored values. Equation calculates a value which is between 0 and 1 and that val...
[4 replies] Last: Thank you so much Necip :) (by Aisha1234)
To check if a statement is 'Boolean true or boolean false'
 
The below statement is a boolean statement. I want to type this program below in Borland and see if the statement below statement is boolean false or boolean tr...
[9 replies] Last: THANK YOU ALL FOR YOUR SUPPORT !!!!!!!!!!!!!!! GOD BLESS! (by stealthkillercod)
by FBHSIE
Does everything look alright?
 
Is everything here correct logically and conventionally? //Ashton Dreiling //BMI Exercise #include <iostream> #include <stdlib.h> using namespace std;...
[7 replies] Last: Thank you. <3 (by FBHSIE)
Constructor with arguments of class
 
Hi you guys. i had a class, in there, the constructor are using some input arguments, however in main program i can not declare the pointer of above class, mabe...
[14 replies] Last: @TheIdeasMan class MyClass{ private: std::vector<double> x; //x = ... (by ne555)
Need help for my program
 
how can I save the answer in my question in answer.txt(void studentAnswer) #include <iostream> #include <fstream> #include <string> #include <cstdlib> ...
[2 replies] Last: //Comments are a great thing in any programming language! (by closed account 37oyvCM9)
Need Help With ptr** Because Im Going Crazy!!
 
Hi Everyone, newbie here, right I am trying to make a poker game....and I have a deck class and I want to transfer my array of community and hole cards over ...
[10 replies] Last: Cheers :) ...I wrote that down for plagiarism purposes lol....taken it... (by closed account 37oyvCM9)
Why does using const with class declaration generate error C2662?
 
This is from Ivor Horton's C++ book (2013) chapter 7. Here is the code: #include <iostream> using std::cout; using std::endl; class CBox // ...
[2 replies] Last: Hi, I ran your code using cpp.sh (the gear icon top right of the code... (by TheIdeasMan)
by FBHSIE
Logic operators (super confused here)
 
I wrote my instructor a message, and this is what he sent back. I'm simply going to breakdown what he said, and hopefully, with some time, you guys can help me ...
[13 replies] Last: #include <iostream> int main() { std::cout << "OR - only one prop... (by closed account 48T7M4Gy)
Array of pointers to strings
 
How to create an array of pointers to strings representing days of the week provide functions to sort strings in alphabetical order.
[1 reply] : What? "create an array of pointers" -- seems easy. "provide function... (by keskiverto)
Function returning array
 
How to write a function that passes an array of n pointers to floats and returns a newly created array that contains those n float values.
[1 reply] : "newly created array" implies that you have to allocate memory dynamic... (by keskiverto)
June 2016 Pages: 1... 45678... 25
  Archived months: [may2016] [jul2016]

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