
please wait
by Vivian01
C++ microcontroller/processor selection
|
Write your question here. I am having trouble selecting a microcontroller/processor from http://www.kynix.com/Product/Cate/35.html for a robotics project in C+... |
Dec 23, 2016 at 7:59pm
[2 replies] Last: So one additional concern is the presence of a C++ compiler and a stan... (by mbozzi)
|
by javiertzr01
checking for 2 values of the 6 and adding discount
|
So I've just completed the shop part of my code. However, I would like to add a system such that if they chose options 1 and 2 for their choices then they would... |
Dec 23, 2016 at 6:55pm
[6 replies] Last: Hello Andy, Sorry but I still do not quite understand whay it means b... (by javiertzr01)
|
by biwkina
how many "0"
|
how can i find how many digits "0" end record number N!(factorial N) in K-ary number system. for example if N=10000 and K=10 answer is 2499, if N=123456789 and... |
Dec 23, 2016 at 5:13pm
[5 replies] Last: https://www.e-olymp.com/en/contests/2573/problems/20551 i cant find t... (by biwkina)
|
Kinect in C++ |
Hi guys I must run get depth matrix from kinect v1.8, I can do it in matlab but because I am workking on SLAM I need to have faster process, where I should? ... |
Dec 23, 2016 at 3:39pm
[no replies]
|
by mshalini
improper assignment of values to struct members
|
Hi, I want to get info on employee code,name, age, salary from the user and store it into a struct. main() { struct person { char empcode ; cha... |
Dec 23, 2016 at 3:36pm
[3 replies] Last: I also tried declaring empcode as a string...but it showed error whil... (by AbstractionAnon)
|
by arbint
Client input check
|
I have the template to get user input in a console application, I found out that this acually allow this to happen: int age = GetUserInput<int>("please tell... |
Dec 23, 2016 at 2:58pm
[3 replies] Last: Regex (http://www.cplusplus.com/reference/regex/) can also be used as ... (by gunnerfunner)
|
by krego
Big number implementation - access violation reading location
|
Hello guys, I'm working on implementation on big integer and meanwhile i found an error in my code which gives me sleepless nights because I'm not really sur... |
Dec 23, 2016 at 1:53pm
[6 replies] Last: > Does the operator += (and *=, -=, /=) need to return *this? yes, tha... (by ne555)
|
by gatinha123
return value type does not match function type error
|
I created a typedef struct "modalidades", and i want to be able to save and load it from a text file, but theres this error when returning the value from my ler... |
Dec 23, 2016 at 12:12pm
[4 replies] Last: Thank you very much, everything is working perfectly now and I underst... (by gatinha123)
|
by javiertzr01
Checking for multiple values
|
I'm practising my C++ by creating a virtual shop that sells items that would get you a discount if you were to pick 2 of the 6 items which are above $15. Howeve... |
Dec 23, 2016 at 9:34am
[4 replies] Last: Yup, this helped my understanding in arrays more and how to check the ... (by javiertzr01)
|
by suzy best
readind arrays from an input file ans storeing the the valve in an out put fole
|
Write your question here. Please, hep me answer, this question. Write a C++ program to read in two dimension arrays A and B from a file and store their sum... |
Dec 23, 2016 at 5:30am
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/files/ (by closed account 48T7M4Gy)
|
by Kevin S
How does this function work
|
Hello all, how does this function work? especially in the second {} Thanks. int *sortAsc(int *p, int n) { int i, j; for (i = 0; i<n; i++) for (j... |
Dec 23, 2016 at 3:54am
[3 replies] Last: Thank you guys for the explanations. theArray = temp; //write over... (by Kevin S)
|
by Kevin S
Function and pointer questions
|
I have two questions please about the code below. 1. Why is the function declared at the beginning and then structured later after main, why not structure it a... |
Dec 23, 2016 at 3:47am
[2 replies] Last: Thank you very much! (by Kevin S)
|
by VX0726
Store Number Digits Into an Array
|
For my homework, I have to input some values and display the values. I won't display the full codes because I only need help with one part where I want to verif... |
Dec 23, 2016 at 1:01am
[4 replies] Last: Wow, thanks! Truly you are handy, Andy :) Thanks, VX (by VX0726)
|
by josej
Creating Shapes with functions
|
There's something wrong with the functions I beleive, the error it gives me is in the switch function where I put the DrawRactangle and DrawTriangle, it says "e... |
Dec 23, 2016 at 12:41am
[5 replies] Last: You could also add a good-bye statement before line 86, something like... (by VX0726)
|
Int Not Returning Expected Number |
So I am writing a program that takes user input and stores it as an integer inside of a class. for some reason right now the program is returning 1974509108 whe... |
Dec 22, 2016 at 8:49pm
[4 replies] Last: I thank you all for your help :). This fixed the issue I was having. I... (by Bloodypizza17)
|
by tommyldo
Complex numbers problem
|
How to call moduo in my class ? #include <iostream> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <iostream> #include <cmath> ... |
Dec 22, 2016 at 5:11pm
[1 reply] : How to call moduo in my class ? moduo is a class method, how do you ... (by gunnerfunner)
|
by Efalir
For and If loop
|
Hi, How can i record the value tdlock_start and tdlock_end just just after the if (datavector <co) ? double co=0.2, tdlock_start=0, tdlock_end=1e20, tloc... |
Dec 22, 2016 at 3:50pm
[1 reply] : You could write it to a log file. (by koothkeeper)
|
by Phoenixeyes
Vector vs Array
|
I have been teaching myself C++ using Stroustrup's PPP book. I was a complete beginner, but now I'm a third of the way through the book. A lot of the exercise... |
Dec 22, 2016 at 3:02pm
[5 replies] Last: The statement that "vectors are slow" is too broad a generalisation. F... (by Chervil)
|
by markusfurst
Sorting a list, vector<struct>
|
Hi, I'm trying to alphabetically sort a vector of structures based on the last name(if the last name matches sort on first name). But when I do this I get like... |
Dec 22, 2016 at 2:56pm
[9 replies] Last: #include <iostream> #include <algorithm> #include <vector> #include <... (by lastchance)
|
by fixed
Why is my code so slow?
|
I'm working on a exercise, which has a time to compile limit. Im not looking for any other way to solve this problem, but an explanation. Why is this code so sl... |
Dec 22, 2016 at 2:31pm
[3 replies] Last: Though I think Peter87 is right, within the timed section is a cout st... (by Chervil)
|