Beginners - November 2017 (Page 31)

by cash
Calling a Function with arrays
I don't know why my program isn't working. Can anyone help me? Write your question here. Write a...
[5 replies] Last: hello CASH, i can see errors in your code, line 19 - 25, what are they... (by Yolanda)
by ronnin
Program to compute students' grades
I am having some trouble with my program as I need to be able to input an exam score and 7 test scor...
[8 replies] Last: Hello ac829, As knowclue said yes you can use a while loop and his ex... (by Handy Andy)
Hi I need to know why I got these error for the infix to postfix program
So my task is to change from infix to postfix by using stack. However I got these weird problems thr...
[5 replies] Last: Don’t feel lonely, tieuholy :-D Have you noticed that gear-like ic... (by Enoizat)
loading function more efficiency and other minor issues
I created this fake loading function just so my program looks more cool to the examiner but the thin...
[5 replies] Last: Oops, I meant the screen I'll edit and adjust. Meanwhile other answers... (by knowclue)
how to read 'enter key being pressed'
I want my std::getline(std::cin,line,'.') to work in such a way that instead of a dot a si...
[1 reply] : ... simple enter key being pressed ends the user input use the no... (by gunnerfunner)
Pointer saving one element only
I'm trying to make a program that allows the user to display a list of students with a specified gen...
[1 reply] : You have 2 choices. You can create a new list with all the values fou... (by jonnin)
by jvlinh
Simple substitution?
My assignment was to getline from a file then match to an array of chars to replace with another arr...
[3 replies] Last: #include <iostream> #include <string> #include <fstream> #include <ca... (by JLBorges)
need help checking my code; thank:)
I know this is supposed to be a c++ programming website, but i would really appreciate if someone wo...
[5 replies] Last: ok!! Thanks a lot mate! appreciate it! (by Limitless98)
by ericM
set up a const std::vector
I'd like to read some data (the number of elements is not known at compile time) from a file and sto...
[2 replies] Last: Something like this: #include <iostream> #include <vector> #include ... (by JLBorges)
Passing 2D Array to function
I'm trying to pass my 2D array matrix to the function findnorm() but I don't know how to set up th...
[2 replies] Last: Note: These two declarations are technically identical: int findnorm(... (by keskiverto)
Print nth element in linked list using recursion
Actually I was required to only print out every other element in a linked list using recursion but I...
[2 replies] Last: Keep count, if you need to count to n: void foo( N* p, int count ) { ... (by keskiverto)
How to output a string two letters at a time?
I am trying to read from a file that contains sentences and output them two letters at a time. IE:...
[5 replies] Last: #include <iostream> #include <string> #include <cctype> using namespa... (by lastchance)
Account Class C++
Any help is greatly appreciated, thank you Design a class named Account with Account.h (including...
[1 reply] : Just saying, the first object you make,and it's reference and pointer ... (by goldenchicken)
Static Keyword. (Doubt)
I Dont Understand this code. code:- #include<iostream> using namespace std; class sample { ...
[2 replies] Last: 4. It's less "should" and more "must". If you try to access a non-stat... (by helios)
This a general question should we used nullptr with maps?
[11 replies] Last: it would be p = item.second;//FOR EXAMPLE I keep saying, get a... (by TheIdeasMan)
by Ch1156
Is there a better way to write this code?
I really want to start learning how to wield the string class and using it to make games and program...
[10 replies] Last: Sorry for the late reply, thank you for your responses. I thought that... (by Ch1156)
Deleting element from array
My professor mentioned that she wanted it done so the element is removed from the array and the amou...
[3 replies] Last: Pardon the ASCII art, but the idea is that you just shift the parts th... (by mbozzi)
Not compiling code, really long GDB error message.
Hello, I'm trying to debug this code but the GDB error is so long I'm having a hard time to deciphe...
[9 replies] Last: Note: Clang 5 emits the following warning: 01-191944.cxx:29:53: wa... (by mbozzi)
Need help putting spaces between every 4 bits
Hey, I finished most of my code I just need spaces between a group of four bits. Thanks' #inclu...
[1 reply] : Have you tried yourself yet? If not, first do that and when you're stu... (by goldenchicken)
Hey there guys, just trying to figure out why my code is not working as it should. The end goal is f...
[1 reply] : = is assignment == is comparison > why my code is not working as it s... (by ne555)
November 2017 Pages: 1... 2930313233
  Archived months: [oct2017] [dec2017]

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