
please wait
Question |
how should i write a program wich reads a number form keyboard? |
Dec 17, 2016 at 9:10pm
[1 reply] : Please do not double post. (by Thomas1965)
|
Razvan |
How should i read a number from keyboard?? |
Dec 17, 2016 at 9:10pm
[1 reply] : http://www.cplusplus.com/doc/tutorial/basic_io/ (by Thomas1965)
|
by james dean
Value Swapping from Function Returns
|
Can get names to swap values with case 7 and 11. Building a roll-and-move style boardgame for a final project and the stipulation for case 7 and 11 has you s... |
Dec 17, 2016 at 9:06pm
[no replies]
|
by DC124421
Repeat Code
|
Hello. I'm having problems figuring out how to continuously ask the user to input age, if the age entered is below 0 or above 150 (line 16 to 24). Also if I wan... |
Dec 17, 2016 at 7:17pm
[1 reply] : Line 24: while (age < 0, age > 150); should be: while (age < 0 || a... (by Norm Gunderson)
|
by Siv
Printing out in columns using a for loop
|
Hello everyone, I've been spending hours trying to figure this out, but haven't found any solution to my problem yet, so I thought it might be worth asking h... |
Dec 17, 2016 at 7:14pm
[5 replies] Last: You're welcome. No need to apologise, I only found it because I knew i... (by Chervil)
|
by Kevin S
For Loop
|
Thank you for your time and explanation here guys. I don't understand how it outputs K from 1 to 12 then 123 in this code... #include <cstdlib> #include ... |
Dec 17, 2016 at 6:08pm
[8 replies] Last: Thank you Kemort! (by Kevin S)
|
by Kevin S
Array question
|
Hello all, some questions about the array here. What's the purpose of make the mode array = 0? then mode = 1? Thanks for your time. for (i = 0; i < 2... |
Dec 17, 2016 at 6:05pm
[2 replies] Last: Thank you Integralfx, do we have to set array to zero every time befor... (by Kevin S)
|
by sairamganti
Help, my code keeps crashing with a code 3 on code blocks
|
I was trying to learn c++ and this piece of code keeps crashing again and again, any help is appreciated. P.S. I am completely new to programming... P.P.S I in... |
Dec 17, 2016 at 4:21pm
[1 reply] : Well, I'm not sure what the goal is here. There is a lot of use of poi... (by Chervil)
|
by TimmyFangs
Letter frequency counter
|
I managed to write this with not much problem. I work in a school Supply store right now and people are always coming in needing to know how many packs of lette... |
Dec 17, 2016 at 4:12pm
[5 replies] Last: Thank you all for the suggestions! I'm not familiar with Map. I'll hav... (by TimmyFangs)
|
by JunTioh
need help ! How to update the function ??
|
#include<iostream> #include<iomanip> #include<cmath> using namespace std; char ray = { 0 }; //void printForm(char ray , int row, char column); void... |
Dec 17, 2016 at 3:27pm
[9 replies] Last: I get it ! Thanks for your help AbstractionAnon ! (by JunTioh)
|
by mrsh
Matrix Exponential
|
I define my 2D matrix as vector <vector < double> > MXd2 and i want to solve exponential matrix, can I used this https://eigen.tuxfamily.org/dox/classEigen_1_1... |
Dec 17, 2016 at 2:28pm
[2 replies] Last: Putting aside the the matrix being upper triangular for a second, why ... (by closed account 48T7M4Gy)
|
by Archy
How to use ONE variable for saving TWO results of calculations
|
Good morning everybody, as I am new to the forum and this is my first post, I would like to introduce myself beforehand. I am an IT specialist trainee in app... |
Dec 17, 2016 at 2:14pm
[8 replies] Last: Using structs: #include <iostream> #include <cmath> struct HipRoof ... (by closed account 48T7M4Gy)
|
by biwkina
binary representation
|
how can i print the representation of number in any-bit binary complement code? |
Dec 17, 2016 at 12:55pm
[5 replies] Last: Input example Sample 1 5 8 Sample 2 -5 8 Output example Sample 1 0000... (by biwkina)
|
by Addeeralix
Nan error
|
Hello, this is my first topic here. I start lesson c++ with a book, and i find this exercie: Write from keyboard a program who read a real numer x, and show on ... |
Dec 17, 2016 at 8:24am
[5 replies] Last: Thank you guys, i will learn about local and global variables in the n... (by Addeeralix)
|
MULTI "WHILE" |
how to rewrite what we enter? |
Dec 17, 2016 at 4:08am
[1 reply] : What do you mean? Ask the user to input a value if it isn't correct? (by Hengry)
|
by Blanchdog
string stream issues
|
I'm writing a program that uses a while loop to repeatedly create objects with multiple variables within them. To do this, I use a file stream to read lines fro... |
Dec 17, 2016 at 2:36am
[1 reply] : There are two issues here, one you didn't ask about. The first is the ... (by Chervil)
|
by jesseb96
Validating Status Code Input
|
I'm having difficulties figuring out this block of code. I want to have the user input A, S, or, Y as the status code, and if incorrect to loop and display a... |
Dec 17, 2016 at 12:41am
[5 replies] Last: Here is a starting point. You can extend it by using toupper for case ... (by closed account 48T7M4Gy)
|
by nvadr
Get process IDs by Name w/ exclude IDs
|
I am not really sure how to start or word this. I managed to find how to get the process ID by name, but i am having a new dilemma. I need to get the proc... |
Dec 16, 2016 at 11:21pm
[no replies]
|
by longberns
String encoding/decoding
|
This is what i intend to do: Ask the user to enter any string, encrypt it with rot13(shift character 13 places). All characters are permitted. After every fi... |
Dec 16, 2016 at 10:38pm
[4 replies] Last: Thanks @lastchance. This was the magic int key = ROT13; for (s... (by longberns)
|
by Monte211
Parsing a text file for a DVD project
|
Hey guys, I'm having trouble getting some information to parse properly for the code below. I'm a novice so I may ask dumb questions. My input file looks ... |
Dec 16, 2016 at 9:49pm
[9 replies] Last: Last night after we had talked, system ("pause") wouldn't compile.... (by Monte211)
|