[try Beta version]
Not logged in

Beginners - February 2019 (Page 21)

Working with text files
 
Not sure if this is the right place to ask a question since I've been looking for an answer on the i...
Feb 5, 2019 at 5:27pm
[5 replies] Last: well, if you are being practical, open it in excel.. :P (by jonnin)
Keeping Window Open
 
My program is closing as soon as it finishes running. The person using it has no time to actually re...
Feb 5, 2019 at 5:06pm
[6 replies] Last: right. My batch is the admin prompt, which I often need. I had forgo... (by jonnin)
Need help in encoding a string
 
Hello guys! I am stuck in this program. Its giving errors. Basically, we have to encode "Hello Worl...
Feb 5, 2019 at 4:06pm
[10 replies] Last: Why are you passing a and b as pointers? In his second post, the OP ... (by dhayden)
C++ guess game w/ vectors
 
missseducated, This vector stores the answer. In this example, the answer is "orion". Of cour...
Feb 5, 2019 at 2:18pm
[2 replies] Last: You don't have to edit your original post to answer, you can also post... (by H00G0)
by JayGln
changing arrays
 
hello, I'm trying to figure out a problem I'm having. The original code would hold the original pri...
Feb 5, 2019 at 2:12pm
[4 replies] Last: srand sets the "stream" by setting the seed. <random> works this way ... (by jonnin)
help
 
it runs, but in a loop... #include <iostream> #include <math.h> using namespace std; int a = 1; ...
Feb 5, 2019 at 1:11pm
[3 replies] Last: I've never heard if cases and switch... I'll do more research, thank y... (by gitelmana)
even odd
 
I am new to c++ and i am having issues formatting code to output the number of even and odd integers...
Feb 5, 2019 at 11:46am
[12 replies] Last: #include <iostream> using namespace std; int main() { int n; ... (by navi336)
need quick help guys!
 
I have to encode "Hello World".The way to do this is by using the last 4 numbers of my roll number. ...
Feb 5, 2019 at 10:09am
[2 replies] Last: #include <iostream> #include <string> using namespace std; const str... (by lastchance)
Grid value range
 
Dear friends In the following code I trying to create a box with 100x100 lines by varying the valu...
Feb 5, 2019 at 5:27am
[7 replies] Last: Thanks @lastchance it worked with replacing \t with \n. (by usmannazir)
Failed to Compile ( comparison between signed and unsigned integer expressions)
 
Hello, can someone help with this code ? its not compiling and I am having such hard time fixing it....
Feb 5, 2019 at 5:18am
[5 replies] Last: thank you all. (by GinoMulla)
by ramp00
Multiple errors in header, looking for insight
 
Hey! I'm new to c++, and I'm working with a program to print a vector with random values from 0 to ...
Feb 4, 2019 at 9:33pm
[4 replies] Last: Thanks again, you are really helping me understand how this works!:) T... (by ramp00)
segmentation fault
 
I keep getting a segmentation fault error when running this program, it also cycles through the menu...
Feb 4, 2019 at 8:29pm
[7 replies] Last: I'd perhaps start with removing these from main ofstream outfile("s... (by salem c)
by Maria2
C++ string.at(0)
 
Hi, guys, new girl here :-) needs your help. In one of programs I have, sentence.at(0) cout first c...
Feb 4, 2019 at 8:11pm
[10 replies] Last: If you are using Windows consider Visual Studio 2017. It is free in ... (by Maria2)
Trouble writing programs
 
I am in a comp. science course and the college does not offer tutoring for assistance with C++. The ...
Feb 4, 2019 at 6:26pm
[1 reply] : formatting the program... for now, just indent one time for every comp... (by jonnin)
Need assistance opening a file from the console!
 
Hello, I've been recently looking to fix one of my programs, which is basically just a reminder that...
Feb 4, 2019 at 4:43pm
[2 replies] Last: @H00G0 I've seen that while I was looking for a specific function for ... (by Corehowl)
Sorting
 
Hey guys. I can't seem to get this code to write. I think I'm passing my arrays wrong. I'm writing a...
Feb 4, 2019 at 8:03am
[3 replies] Last: You can try this program. this is the easiest way to write shorting pr... (by Shruti7109162)
Aggregation
 
How do I pass an argument to a constructor that has a class has its parameter? The print method s...
Feb 4, 2019 at 5:54am
[1 reply] : #include <iostream> struct circle { double radius ; // expl... (by JLBorges)
by NKGold
Can't seem to make my code read white-spaces
 
How can I change this to include white-spaces #include <iostream> #include <string> using...
Feb 4, 2019 at 5:15am
[4 replies] Last: #include <iostream> #include <string> #include <cctype> int main() {... (by JLBorges)
Help with payroll code.
 
Hello, I'm very new to C++. I'm currently trying to figure this code out that calculates payroll wit...
Feb 4, 2019 at 2:45am
[5 replies] Last: Hello Elarton, My apologizes I started to say that you should replace... (by Handy Andy)
Won't calculate correctly
 
I am trying to have this output the number of multiples, not the numbers that are multiples. For exa...
Feb 3, 2019 at 11:34pm
[7 replies] Last: Got it. Thanks! (by ames1951)
February 2019 Pages: 1... 1920212223
  Archived months: [jan2019] [mar2019]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.