Beginners - April 2013 (Page 52)

Inventory: Reading in From a File
 
I'm writing a program that needs to read in from a file and then use the information to create a new car (from the car class that has already been written) and ...
[no replies]
How can i get a file extension from a file found using an iterator
 
Im doing a project right now where i need to iterate through a folder and put all the different file types into a map and then record how many of each file type...
[1 reply] : If that is boost's directory_iterator, just dereference it and call ... (by Cubbi)
by Jace
Calculator
 
This is a calculator that I made that sadly doesn't calculate decimals or square roots. What I want to do is make it so that if the person types exit it exits...
[5 replies] Last: Thank you all so much! I found booradley60 to be extremely helpful. My... (by Jace)
replacing two newlines with a single newline
 
I'm trying to write a program for an assignment which takes standard input and writes only non-empty lines to standard output. I'm just having a little trouble ...
[6 replies] Last: So I have tried #include <stdio> int main( void ) #define MAX_CHAR ... (by spaceybrains)
getting the max index number from an array of char
 
I really need help in this one. Develop a function that prints the index number of the largest value of an array of characters to the screen. Create a 10 eleme...
[no replies]
pseudo number generator with a range
 
.....................
[4 replies] Last: #include <iostream> #include <iomanip> #include <cstdlib> #include <c... (by Chervil)
by Katt21
Aligning Decimal Points
 
I would like to know how to align demical points in a loop - a for loop to be exact. Here is the program. The inputs are .01, 36, and 10000.00. void value...
[no replies]
by Fyah
I want to know if this code is close to being correct? (1,2)
 
so i have asked for help with understanding the void type now i have to create a code that calculates the grade point average of 3 numbers entered. i have to us...
[25 replies] Last: @ vlad from moscow in your example you put a=number1(); b=number2(... (by Fyah)
print char array
 
hi i have a problem when print char array: #include <iostream> #include <cstring> using namespace std; int main() { char x ; char nam...
[8 replies] Last: So you enter words then you enter a letter to search for and it prints... (by closed account 3qX21hU5)
Need help compiling
 
I wrote a code for a program that asks the user for a input file and takes the information from the file and sorts it. It then calculates the average and median...
[2 replies] Last: #include <iostream> #include <string> #include <fstream> #include <i... (by miamidawgs)
Help with Switch..
 
when i want to add case 3 to the switch it give an error ?!? and i can't figure it out... it says: transfer of control by passes initialization of: the cod...
[2 replies] Last: Thanks Man. i appreciate that. (by elmoro15)
trying to pass an object in pointer to a function
 
im new to c++ and i need to pass myboard.board (board is in the class Cboard and it is an array of int) to a function in a class called piece however this is tr...
[1 reply] : You didn't declare any pointers. Just pass them by reference instead. ... (by IceThatJaw)
Array Help
 
Hello All, I am trying to make an array and this is what I have so far: #include <iostream> #include <fstream> #include <string> using namespace s...
[no replies]
Need help with a program
 
Have an assignment: The Assignment: In this programming project, you will modify the above algorithm to process a 2-D grid of (N x N) cells representing s...
[10 replies] Last: gives a value then a ton of zeroes (by nezo100)
The History teacher needs help in grading a true/false test.
 
Question: The History teacher needs help in grading a true/false test. The students' ID's and test answers are stored in a file (dont worry about the file)...
[4 replies] Last: im getting the error "stack around the "studentAns" variable was corru... (by thomann061)
by Joe412
sha256 in C++
 
does anyone know a place where i can find a function that will encrypt a string/char array to sha256
[3 replies] Last: Look at the new link. (by closed account 18hRX9L8)
Base converter not working in extreme cases
 
Hey guys! I have a quick question. I have a code that outputs a snippet of numbers (The display function in line 90 states the StartPoint and EndPoint) and di...
[7 replies] Last: When it comes to converting an integer to a binary string, there are l... (by Chervil)
What are the Security Development Lifecycle Checks for?
 
Whenever our teachers do examples in class with C++, whenever they create a project the4y always uncheck the Security Development Lifecycle Checks box, and when...
[no replies]
Best way do develop skills
 
So I am going to school now and one of my classes is basic C++ programing and I have two more programing classes to take; object orientated programming and Java...
[1 reply] : To make apps for Android you're most likely going to be relying on Jav... (by Austin J)
232 - Crossword Answers (1,2)
 
Hello I've trying to solve a problem called Crossword Answers on UVa but I'm getting a wrong answer and I don't know why ?.... Please have a look on the problem...
[20 replies] Last: thx for ur effort but I'm havin a new idea that u have inspired me wi... (by PureEvil75)
April 2013 Pages: 1... 5051525354... 83
  Archived months: [mar2013] [may2013]

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