
please wait
by cpplearn
To Find out max and min in 2d array of random numbers
|
I want to know how to find mean, max, min of randomly generated numbers in 2d array. I just coded to produce random 2d array of numbers... #include... |
Oct 30, 2014 at 5:49am
[1 reply] : First look up what max, min and mean is and have a go at writing a few... (by closed account 48T7M4Gy)
|
Structures Program Help |
Write a program that will search soccer players data to check whether a name supplied by the user is on that list. For doing the search, the user may provide ei... |
Oct 30, 2014 at 2:51am
[3 replies] Last: the problem is when the user inputs what they want to do. (by NicoFlowProductions)
|
by begha
When to use exceptions, asserts, general error messages or even something else?
|
This is something I still don't seem to understand. When do I use each of these options? For example when the pre-condition of an interface is not met. Appa... |
Oct 30, 2014 at 12:33am
[3 replies] Last: First, let's look at the situations where exceptions are supposed to b... (by Cubbi)
|
by Stephanie
ready/device queue
|
So I have this function in a ready queue which enters processes into my device queue. PCB* ready_queue :: move_top(){ if (head != NULL){ PCB*temp = ... |
Oct 29, 2014 at 11:02pm
[no replies]
|
by billyb29
Regex unexpected matching
|
I have written this regex to match a floating point literal: (^[[:space:]]*)(([0-9]+\.?[0-9]*( [+-]?[0-9]+)?)|" "(\.[0-9]+( [+-]?[0-9]+)?))( ?[[:space:]]*)... |
Oct 29, 2014 at 9:50pm
[2 replies] Last: It works fine now thank you. And yes answering your question those wer... (by billyb29)
|
The code gives wrong answer in online compiler. WHy?? |
A positive integer is called a palindrome if its representation in the decimal system is the same when read from left to right and from right to left. For a giv... |
Oct 29, 2014 at 9:28pm
[4 replies] Last: As I hinted, I think you need to store the numbers as strings instead.... (by dhayden)
|
by anely
Russian Peasant calculator URGENT
|
2. Write a program to act as a Russian Peasant Multiplication Calculator. This program should allow the user to carry out multiplication by just simply multiply... |
Oct 29, 2014 at 9:02pm
[3 replies] Last: Question 2 // ConsoleApplication15.cpp : Defines the entry point for... (by anely)
|
by SadeBranche
Help Please Im Getting Frustrated
|
This is the problem i am supposed to solve : Proceed as in Exercise 6, but design the function to accept a single string object Consisting of a first name, a m... |
Oct 29, 2014 at 7:48pm
[4 replies] Last: No it dosent work @ thechosengeorge (by SadeBranche)
|
by djhyun0001
Please, help me to fix optimized value result in crash issue
|
Security sec; Security secl ; SecurityList secList; while(!token.isEndOfInput()){ if (token.isTransaction()){ tran.action = token.getAction()... |
Oct 29, 2014 at 7:42pm
[6 replies] Last: You're welcome! Glad it worked out. (by MikeyBoy)
|
'X' not declared in this scope Error, HELP |
main.cpp #include <iostream> #include "sushi.h" using namespace std; int main() { do{ ......sushi go; ......string x; <------------------------... |
Oct 29, 2014 at 7:17pm
[2 replies] Last: Instead of using dots, try clicking the "<>" format button and pasting... (by doug4)
|
by Stephanie
help!
|
cout << __func__ << " end is now: "<< temp -> pid << endl; why is temp -> pid in my device_start function stopping the program delete code |
Oct 29, 2014 at 6:45pm
[16 replies] Last: So now the problem is: say I enter c1: So, process with PID 1 enters... (by Stephanie)
|
by DreamTime
template classes, operator<<, node lists
|
I've read that this is a common problem in this kind of situation. I have Google'd, referred to class notes, and just done lots of research, but can't seem to f... |
Oct 29, 2014 at 6:04pm
[1 reply] : friend ostream& operator<<(ostream &outStream, const Book<T> &other) ... (by MiiNiPaa)
|
by triggy
8 x 8 array, need assistance
|
Hows it going guys, I'm working on this 8x8 array that is filled with randoms numbers between 1 and 100, it has to search my matrix for the minimum and max valu... |
Oct 29, 2014 at 5:43pm
[no replies]
|
by maximus123
Bubble sort keeps crashing
|
Hello, I am trying to write a program which will sort an array of numbers into ascending order, here is my code #include<iostream> #include<cmath> using... |
Oct 29, 2014 at 4:39pm
[2 replies] Last: Thank you, this fixed my problem completely. (by maximus123)
|
by Cyks
If and statement?
|
I know this is probably a stupid question but I haven't slept in 50 years so gimme a break lol. Anyway how do you write an if and statement? Example of what... |
Oct 29, 2014 at 4:37pm
[2 replies] Last: Your entire condition needs to be enclosed in parentheses, so: if (... (by MikeyBoy)
|
by KMagic
No file created
|
#include <iostream> #include <fstream> #include <string> using namespace std; int main() { fstream myfile; myfile.open("test.txt", ios::out... |
Oct 29, 2014 at 12:13pm
[2 replies] Last: It works. Thank you very much. (by KMagic)
|
by Glaven
Sorting Arrays
|
for my program i need to sort my int numbers from highest to lowest but it seems that i made it go from lowest to highest can some help fix my code plea... |
Oct 29, 2014 at 12:01pm
[1 reply] : Line 18. Your condition decides when to change order of elements. N... (by keskiverto)
|
by UBCOeng
basic programming problem
|
Hey guys, new to this forum. I am a 1st year eng student and am struggling with C++ codeing. I have spent ALOT of time watching youtube videos reading notes and... |
Oct 29, 2014 at 10:02am
[1 reply] : Take a look at this: http://www.cplusplus.com/reference/ctime/strftim... (by coder777)
|
by imaghhc
program won't run throughout
|
1 |
Oct 29, 2014 at 7:56am
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
|
by Cyks
Function pointer workaround?
|
Hi, I'm working with some software that doesn't support function pointers. But I need them for a project I'm working on. Does anyone know some way to do somethi... |
Oct 29, 2014 at 6:30am
[4 replies] Last: void no_function_pointers(int PosRampYes, int nNxtButtonPressed /*ot... (by helios)
|