Beginners - October 2015 (Page 4)

by st4evr
Output Letter Square Using For Loop
 
Hello, Beginner C++ student here, first ever programming class. The code I put together shown below...
[5 replies] Last: Thank you very much kemort for the advise. That worked. Working code:... (by st4evr)
.txt files...how to read/open them?
 
I need to open these quiz questions from a .txt file. I created a file by Right click , New,...
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ (by closed account 48T7M4Gy)
by Whaves
Calendar
 
So I had this assignment due a few weeks ago and couldn't figure out how to get what the professor w...
[11 replies] Last: @Whaves Like I show on line 96 start_day = Zeller_Congruence(x, 1, y... (by whitenite1)
Help w/ Friendship Algorithm please. (1,2,3,4)
 
Hi, so i'm supposed to write a program that determines the level of friendship with someone. Each q...
[68 replies] Last: Don't worry Phil, I went back and checked and re-answered everything a... (by closed account 48T7M4Gy)
Trying to make a quiz with switch
 
I was trying to make a quiz with a switch statement...but I realize that it's going to take a lot of...
[2 replies] Last: Thank you!! :) (by ruroni24)
URGENT ARRAY HELP! REALLY NEED HELP TONIGHT!
 
Hi, can someone explain to me why I am not getting any output from my program?? #include <iostrea...
[1 reply] : So which part of the following output isn't what you're getting? Have ... (by closed account 48T7M4Gy)
Help with array.
 
I'm trying to get the max,min,mean,std dev,variance of an array .. when I run the program it shows m...
[1 reply] : Use code tags <> please. Use the toolbox on the right. Your code runs... (by closed account 48T7M4Gy)
HELP!!! I HAVE NO IDEA WHAT IM DOING!
 
I have this question and I have no idea where to start off from. Can someone start me off and help m...
[3 replies] Last: Do you know how to count backwards ? I can but in the absence of a ... (by closed account 48T7M4Gy)
Need help shifting array 2 spaces to the left.
 
My code lets a user input how big they want an array to be then it reverses it. My professor wants u...
[1 reply] : There're too many irrelative code. My idea to solve the problem is to ... (by liuyang)
What am I doing wrong?
 
This code works for some figures but not others. Like when i input "900" seconds, I get an error mes...
[3 replies] Last: Got it! I took it out:seconds = seconds % seconds; and now it works p... (by nuglyfe)
What's wrong with my code?
 
Hey guys, I'm trying to finish up a homework assignment and I can't figure out why it won't compile....
[8 replies] Last: Try this. Read it carefully and you will be able to see what the above... (by closed account 48T7M4Gy)
problems installing ubuntu
 
So i am trying to install ubuntu on an external hard drive. i have tried a couple of methods, i turn...
[1 reply] : http://askubuntu.com/questions/446682/how-to-install-ubuntu-on-portabl... (by closed account 48T7M4Gy)
More effective file check, then rename code?
 
This code works relatively well for my purposes, however I had in mind some kind for loop that didn'...
[10 replies] Last: I appreciate the reply, but I felt that having to install 'filesystem... (by cire)
Opening and Manipulating Other Programs
 
I know I can open other programs with something like #include <iostream> #include <windows.h> i...
[2 replies] Last: Thanks @Computergeek01 The API would be proprietary. I wanted to man... (by cpp300XPBoost)
Replace spaces with '*'
 
I read a line from a file as a string, and I want to replace the spaces with '*'. I'm doing this be...
[10 replies] Last: Just thought I'd let everyone here know. I found the "error" last week... (by cpp300XPBoost)
easy way to find the smallest variable?
 
Hi all, I have a question regarding the simplest method to find the smallest variable given the var...
[3 replies] Last: Using a function will greatly simplify the logic required to solve thi... (by jlb)
Need help with a code problem
 
Im trying to get this code working in C++. I originally wrote it in Python as: folds = raw_input('En...
[4 replies] Last: Thanks for the help! I figured out how to print to a specific decimal ... (by nuglyfe)
by Tores1
rounding decimal numbers
 
Hi forum i need help with rounding of numbers i have some array of numbers type float and i need fix...
[3 replies] Last: You'll probably also want to use "fixed" and possibly "showpoint" ht... (by jlb)
pop bar chart help
 
Hi, new to the forum and programming, I've seen a few threads on this and I've taken tidbits here an...
[2 replies] Last: Also it appears that your file is probably not opening correctly, you ... (by jlb)
Question: Count how many times a loop is executed.
 
Hello everyone, I have a question regarding a "counter" inside a nested "for loop", and use this co...
[6 replies] Last: I see. I really need to get in the habit of initializing variables hah... (by NewProgramma)
October 2015 Pages: 123456... 57
  Archived months: [sep2015] [nov2015]

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