Beginners - November 2016 (Page 26)

by mgala
Using functions to compute and respond to a time protocol
 
Hello we are learning to use functions in my class, but despite my lectures and reading, I still am ...
[1 reply] : #include <iostream> #include <cmath> #include<string.h> using names... (by Sajeel)
by Chamat
Removing duplicate values in an array
 
I need to make a function that removes duplicate values in an array. What I'm having trouble with r...
[2 replies] Last: Thank you! (by Chamat)
by Sajeel
if conditon (1,2)
 
Write your question here. #include<iostream> using namespace std; int main() { int a=1,b=1...
[20 replies] Last: i made the structure of the board and positioned the blocks on their i... (by Sajeel)
Error in cin input to a class?
 
I am a newbie. I just want to write a class that accept input from cin command. i don't know what...
[3 replies] Last: #include<iostream> using namespace std; class A { private: char a ; pu... (by Sajeel)
by nu123
c++ to c
 
hi there, I'm looking for a bit of help hear. I'm trying to write a program for a school project. I ...
[5 replies] Last: how would I go about changing it so instead of entering a number it c... (by Chervil)
Can't return to int main()
 
Hi, my function ( float WriteResults() ) is unable to return to main and i'm not sure how to refer t...
[6 replies] Last: @furryguy OH SO I'M SUPPOSED TO ADD ALL MY VARIABLES IN MAIN AGAIN AND... (by Jacketto)
Pattern with loops
 
Hi, can anybody help me with this pattern using While, dowhile and For loop please cout << "...
[5 replies] Last: Ok, thanks a lot. (by zhaoyun99)
Loops
 
Hello everyone, I am working on a class project and need help figuring out an issue. I am new to pro...
[2 replies] Last: oh I see. Thank you!!!!!! :) (by Ibra ovic)
Help needed for Server/Client Battleship game C++
 
Hi, new here to C++ socket programming. Thus, in need for some help. 1) How do I let my program kno...
[2 replies] Last: Need some assistance, please... (by mrmartin93)
Removing specific letters and numbers out of a string
 
I am having a hard time figuring out how to remove specific things out of a string file I am working...
[5 replies] Last: Also, how would I get rid of apostrophe's in the whole string? (by salomonthesav)
Pig latin help
 
If i enter "ask" twice, it will print out 'ask askyay' instead of 'askyay askyay'. Im not sure what...
[14 replies] Last: Steal your code? I literally posted my own code and wanted ideas on ho... (by fivestar)
Pythagorean theorem
 
I'm writing a program that calculates the number of Pythagorean triangles in which no sida is larger...
[5 replies] Last: #include <iostream> int main() { std::cout << "a\tb\tc\n"; ... (by closed account 48T7M4Gy)
Splitting Strings
 
How can i take a string input that is a sentence and seperate the words by white spaces. If someone ...
[no replies]
by userco
Output not working correctly
 
I am creating a program where I convert all lower case to upper case and Second option is to capital...
[2 replies] Last: Thank you!!!! (by userco)
Sorting out duplicates from 2 different char arrays.
 
I'm struggling with an assignment for my class where we have to take input from the user into a char...
[2 replies] Last: I'm not familiar with the find algorithm personally, but it would be a... (by Dtrain327)
SDL Game Programming Organization!
 
I have the hardest time trying to separate code into classes. If I could separate it out I think I ...
[no replies]
Compiling for others use
 
So this is a super super easy question isn't it but still i have an issue with it so i am trying to...
[4 replies] Last: it is really not a super easy question. My mistake sorry ... (by ExSanity)
Simple problem with vectors
 
I'm a CS1 student and we just started using vectors. I'm doing some practice problems from my book t...
[5 replies] Last: Oh nevermind. I went back to check my settings and my compiler wasn't ... (by TheEurekaMan)
What is wrong?
 
What is wrong with the program? #include <iostream> ...
[1 reply] : Return 0; It should be : return 0; (by Brigavo)
Difference between two dates C++
 
I am trying to solve a problem that asks me to give the total days between two dates. I have to take...
[1 reply] : Your date class doesn't overload operator- , so it won't know how t... (by xismn)
November 2016 Pages: 1... 2425262728... 44
  Archived months: [oct2016] [dec2016]

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