General C++ Programming - February 2015 (Page 14)

Resize bmp image size is off
 
Hello, I am working on a problem for the online course CS50. They give us a program that copies a bmp image and we are to modify it to resize the image.My probl...
[no replies]
by Nanyo
login, signup program
 
Hello, I am trying to figure out why my code is not working. It is a simple login and signup program. My problem is that the "while" function on Line: 66 does n...
[1 reply] : First, you're not checking all possibilites (ex.: what if signup was S... (by iQChange)
Create an Interpreted Language in C++
 
So for the Session Ending I have to Choose a Project in C++. Without Thinking I Exclaimed that i will create an INTERPRETED Programming Language that gets first...
[no replies]
C++ program/ Calculating student averages
 
Write a C++ program to output information for three students. The information stored in your program contains student’s first name, middle name, last name, an...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
by RJain
Typing Tutor stop watch
 
i am just creating typing tutor in turboo c++ i just want to add stop watch without using graphics.h so i want that is there any function so that i can take an ...
[no replies]
Menu program as a Switch-Case
 
I tried to write a menu program as a switch-case structure with a separate function for a switch-case structure itself. The outcome for it currently is an unde...
[7 replies] Last: That's good, thanks. Either way, though, I'll have to turn all of the... (by DragonOsman)
mode and map ? ? ?
 
I am struggling with a project right now and I was wondering if there was a quick way to find multiple modes in a map. So far I have a function that returns a v...
[2 replies] Last: Brute force. Values of type int instead of double to side-step th... (by JLBorges)
quadratic formula
 
#include <iostream> #include <cmath> using namespace std; //Do not modify anything on or above the line below this //START_PROVIDED #include <iostream> ...
[1 reply] : You forgot to ask a question. (by LB)
PLEASE HELP!!
 
I have a project due at midnight tonight that I cannot figure out. I need to write a program that will calculate a user's salary if their pay starts at a penny ...
[2 replies] Last: @titevi3boi Sorry, but your solution is not correct. The salary is do... (by whitenite1)
Reading File twice in a Program
 
Can anyone tell me how to read file twice in a single program?
[4 replies] Last: #include <iostream> #include <fstream> #include <string> int main() ... (by JLBorges)
Help with comparing classes
 
Hi, my end goal is to create a "creature" donated as 'C' on a 30x30 grid in terminal, and "food" as 'F'. The creature and food x and y's are randomly generated....
[8 replies] Last: okay thanks (by LMoroney)
Putting text file into an array of structures
 
I am at a loss with an assignment. I am supposed to read from a text file, with an input of something like this: alphaproleone,stroke,42 1 and Store it int...
[1 reply] : You forgot to ask a question. Please edit your post and make sure you... (by LB)
Forward declaration incomplete type struct?
 
I am trying to compile the files below. The PosLin.cpp contains the SurTriAuto and SurTriPosRotAndQ functions below. Before adding SurTriPosRotAndQ, it compiled...
[1 reply] : Make sure your testcase is self-contained and actually reproduces the... (by ne555)
Binary Search Tree Construction Problem
 
Hello, I was wondering if someone could help with my construction of a Binary Search Tree. My code looks like it should work when I compare to others but when...
[2 replies] Last: You're a hero. (by whalord)
by Aydin
OpenSSL Symmetric encryption in C++
 
I want to use OpenSSL in C++ to encrypt a large data. Since I'm new to OpenSSL I don't know if I need to break my data into smaller pieces and how to encrypt it...
[no replies]
Big Task Help!
 
I have been given the task of creating a frog leap game that starts at 1 and finishes at 12. The layout is as follows. The '@' symbols are just included to show...
[1 reply] : The best advice I could give is don't do this on the console if that i... (by Z e r e o)
Help please
 
So thats the question: write a program that creates and displays a table of temperature conversions. Get the starting temperature from the keyboard in degrees ...
[2 replies] Last: Thanks man (by alihajj95)
Code won't run or debug: brings back error code "Failed launch no binary" or something like that
 
#include <iostream> // include stream for input/output functionality using namespace std; // function main begins program execution int main() // set class...
[4 replies] Last: Also if you check some of your endl; are end1; " they should be "en... (by sly858)
Question about Boolean Operatios in C++
 
I am learning C++ through a book I downloaded, Jumping Into C++ by Alex Allain, and I am currently doing practice problems for a lesson on Boolean operations in...
[17 replies] Last: cin >> Choice switch (Choice) { case 'string or char': do this; break... (by sly858)
Not sure how to do this assignment the way it is asked
 
How do I use 2d char arrays to print a picture? Using these functions In your main you should declare your 2D array: char picture ; void initialize_pict...
[1 reply] : What especifically is confusing you? From what I understand, the pi... (by LB)
February 2015 Pages: 1... 1213141516... 26
  Archived months: [jan2015] [mar2015]

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