Beginners - October 2013 (Page 35)

Outputting an integer individually?
 
Can someone help me make a program where the user enters in an enter and the program outputs the individual digits. For instance, 3456 is out putted as 3 4 ...
[3 replies] Last: instead of using the constant variable try int number = 0; std::co... (by giblit)
by dp13
loop/case iteration
 
.
[1 reply] : edit: figured it out. (by dp13)
by giblit
THIS IS NOT AN ACTUAL TOPIC
 
Please don't post threads like this [quote=robot66]
[no replies]
How to program games in C++?
 
I mean like, games like a 3d first person shooter like Battlefield, or an RPG game. What do I use? And how do I make a game engine? I would also do 2D games as ...
[2 replies] Last: I do know how to program, but yeah I will look for directX (by AceDawg45)
stuck on loop
 
My assignment has me making a wage calculator. It requires me to have an input and output file. Then input file follows as such.... 1 10 39 0 0 1 15 41 2 1 1 1...
[3 replies] Last: Ah thank you. Had a couple other problems as well. Thanks for the help (by dbrank28)
by Anna22
Invisible if-else block
 
Please give me an idea of why the minutes if-else block doesn't show in the command prompt window. Thanks #include <iostream> using namespace std; ...
[5 replies] Last: We aren't at modulus yet beyond seeing the symbol. Not at code tags ei... (by Anna22)
do while loop
 
So I have this project. And its basically entering numbers and getting tye sum and mean. I also have to output the number of significant digits. My teacher s...
[2 replies] Last: what? (by Gaius Baltar)
string with array
 
Does anyone know how to print strings from array with a letter starting with n? // Filter: only print those strings from the array that start with letter 'n...
[2 replies] Last: Here you go, but I suggest you try and learn to solve problems on your... (by Gaius Baltar)
help with this problem/program?
 
can some one help me with this problem? i dont know what i need to program? Funny numbers are numbers whose only prime factors are 2, 3 or 5. The sequence ...
[2 replies] Last: thx for the help (by freecody24)
function parameter as void (*)(T&)
 
Hello, I have an assignment where the teacher gave us the template class definition and we have to write the function implementation. However, I'm confused abo...
[1 reply] : void (*) is a function pointer. If you have pointer to int, pointer t... (by tntxtnt)
Trouble Merging two working programs
 
Hi, I am having issues with the two programs that I have included below. The first program asks the user for a stock ticker, start date, and end date f...
[1 reply] : I guess you can't attach files, the input file is simply as follows: ... (by Carter Young)
CRC algorithm
 
I am looking for some working source code for computing the CRC of a string. I have been researching how to do it the last 2 weeks, and I am still LOST! I was h...
[1 reply] : I have 3 more days to write this program I NEED HELP ASAP!!!!!!!! (by NSWhitmore)
cin and int and options
 
so my friend just got into programming and I've been helping him a little bit, he has to do the console game as a school "project" (first grade), well, everythi...
[5 replies] Last: I actually added cin.ignore(numeric_limits<streamsize>::max(), '\n');... (by mekkatorqu)
Printing out letter grade for class?
 
Without using any selections or loops, is there any other way you guys can hint me where I can print out a letter grade for each student. Generally speaking, an...
[2 replies] Last: We can use a if and the selection loops; however, as a challenge, I ha... (by fahmankhan75)
quick questions about classes
 
#include <iostream> #include <cmath> using namespace std; class rectangle { int x=5,y=4; public: int surface (int x, int y) {return x*y;} }; ...
[7 replies] Last: Even if you were referring to your class members, as opposed to the pa... (by xismn)
I cannot compile because of one error.
 
My teacher gave me four files. Two header files and two *.cpp files. This is not the first time this format of assignment has been given and I did not have any ...
[2 replies] Last: Apparently, I have to implement the solve function. Thanks for the pro... (by belgarionriva)
Algorithm to search a linked list
 
I am trying to write a search function for an ordered linked list. I have the following: A TestLL class contains ListNode *head; The ListNode structure conta...
[no replies]
undefined reference to.....
 
Dear all, I'm newbie, i downloaded some open code to reference, but i can't compile them, i have read many topics about that but i can't understand, who can he...
[no replies]
Program skipping to the end!!
 
I've been trying to figure this out forever. I always have trouble with if/esle if statements. The program I'm writing is simple.. all it does is calculate your...
[2 replies] Last: Thanks condor. I didn't realize I was leaving out the single quotes. (by closed account ohf3T05o)
by aish96
help!
 
my whole code is working fine.. but i want to add another do-while loop outside all functions and i get this error: error: expected unqualified-id before 'd...
[3 replies] Last: yea.. i did mean the main function :P i figured out how to do that.. t... (by aish96)
October 2013 Pages: 1... 3334353637... 86
  Archived months: [sep2013] [nov2013]

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