
please wait
by runningbear
Variable to parameter
|
Okay, I posted a very similar code block a few days ago and got some good responses, but still can't quite understand the logic of going from a variable and the... |
Nov 12, 2020 at 8:38am
[1 reply] : See this: https://www.tutorialspoint.com/cplusplus/cpp_function_call_... (by coder777)
|
product of numbers of an array |
hi, the guestion says "find the product of the numbers which are placed above the main diagonal and below the secondary diagonal AT THE SAME TIME." (i think it'... |
Nov 12, 2020 at 7:37am
[8 replies] Last: @jonnin thank you a lot, much appreciated :) (by laura fidarova)
|
by Dawson82
Equation won't solve. Please help!!!
|
Hi. I am working on my final project for class and I'm having trouble with the equation. For some reason, my numbers will not calculate correctly when entered. ... |
Nov 12, 2020 at 7:09am
[6 replies] Last: Thanks. I really appreciate your response. It helped a lot. (by Dawson82)
|
by Leonardo797
modifying this code to search an stringArray
|
Using C-String and String Classes this needs to be done using the C-String Class. •make a program called PROGRAM_1.CPP that has an array of 11 string... |
Nov 12, 2020 at 6:19am
[2 replies] Last: I got the first progam running using #include <string> #include <str... (by Leonardo797)
|
by highwayman
Conditional logic ...comparison? How does this work?
|
Ok, so I got a question during an exam the other day, and I got it wrong, but I just don't get why. at all. They gave us three conditional statements: A... |
Nov 12, 2020 at 4:23am
[2 replies] Last: So basically just always make truth tables? Ok, that was surprisingly ... (by highwayman)
|
by jonnin
RLE Alogrithm with Integers
|
looks like you got an easy one if this is the final. I see it says array, not vector, but you said final assignment, is that for any kind of reason? Also, d... |
Nov 11, 2020 at 9:58pm
[1 reply] : Well, go for it, and when you get stuck, ask a question and someone wi... (by jonnin)
|
convert array numbers from binary to octal |
given an array that's formed from binary numbers, create a new array by converting the binary numbers of the first to octal i don't understand how to put every... |
Nov 11, 2020 at 6:33pm
[7 replies] Last: thank you lots!! much appreciated:) (by laura fidarova)
|
by chebyrek
How can I change my code?
|
I have problem error E0513, C2297, C2040 are constantly output. What shall I do? #include <iostream> #include <cstdlib> #include <locale.h> #include ... |
Nov 11, 2020 at 5:50pm
[4 replies] Last: This will give an int sum & average for each row: #include <random>... (by seeplus)
|
by Obeliks2
Matrix transposition
|
Hello, I need to make a code for two transposition matrices, and then they are counted according to the task in the picture. How can I do that? I just don't und... |
Nov 11, 2020 at 5:36pm
[12 replies] Last: We have no idea what the requirements of your actual assignment are. T... (by Ganado)
|
by Mif
Exporting C Functions for Use in C
|
Hello.. I have crate a new project that is a Dynamic Link Library here are my .c and .h files look like: main.c // test4.c #ifndef __MAIN_c__ #define __MAIN_... |
Nov 11, 2020 at 3:24pm
[2 replies] Last: Dohh... @!@.. I really need to take a brake.. That looks like lack of ... (by Mif)
|
change the numbers in arrays |
there are two arrays, change the numbers of the second array which are already in the first to 0 i have the code but in only works if the numbers are in the ... |
Nov 11, 2020 at 1:24pm
[6 replies] Last: @seeplus thank you so much! :D (by laura fidarova)
|
by ronenp88
copy problem using std::filesystem::copy()
|
I'm trying to copy files and interior directory's using std::filesystem::copy(), But unfortunately he copy's only the files which inside the fromString path dir... |
Nov 11, 2020 at 10:44am
[2 replies] Last: std::filesystem::copy(fromString, toString,std::filesystem::copy_op... (by ronenp88)
|
by siabapet
How to make variable vertically?
|
So how can I make the variable a vertically? The thing is that the variable won't get vertically, here's the example code I'm using: #include <iostream>... |
Nov 11, 2020 at 9:18am
[5 replies] Last: Sorry for late reply. Thank you very much everyone, I appreciate it. (by siabapet)
|
by roundtwo
2D Array function matching 3 characters
|
I'm working on an assignment that is asking to take a 3X10 2D array and determine if there are three matching ('T') characters either vertically, and/or diagona... |
Nov 11, 2020 at 2:12am
[3 replies] Last: Hello roundtwo, I did consider using 1 for loop to check everything a... (by Handy Andy)
|
The System Cannot Find the File Specified Visual Studio 2019 |
First time posting so apologies for any mistakes. I am following a tutorial as part of a school assignment (before anyone jumps on me for that, we are require... |
Nov 11, 2020 at 1:53am
[9 replies] Last: Thank you to all of you that have responded so far. I will try some of... (by N11 Ordo Skirata)
|
by fifios
How to round a number 3 significant figures in C++
|
My goal is very simple I just want to round a number by 3 significant figures for example if the user inputs: 655900 433.72 rounding it to 3 signif... |
Nov 10, 2020 at 10:01pm
[4 replies] Last: It's not worth doing it "manually" using <cmath>'s round() function. I... (by dutch)
|
by DonnaPin
stack memory
|
Hello I am trying to learn about stack memory, and have come across a page that I am struggling slightly with that I was hoping someone might be able to clear u... |
Nov 10, 2020 at 6:26pm
[5 replies] Last: All instructions have their own memory address More or less. There a... (by Computergeek01)
|
by lychee
How to read this format of integers from file
|
I am doing a prim algorithm minimum spanning tree int arr ; ifstream is("data.txt"); int cnt= 0; int x; while (cnt < arr && is >> x) ... |
Nov 10, 2020 at 4:54pm
[9 replies] Last: Thank you everyone!! (by lychee)
|
by Frank5093
Writing a value-returning function.
|
Hello, coders. I have another puzzling code for ya (could be simple). Here I have an almost complete program. The issue I have is appointing: "G is a vowel: 0... |
Nov 10, 2020 at 3:16pm
[6 replies] Last: Thank you coders, everything is working great! (by Frank5093)
|
by Mif
Ho to create one single dll file for entire project in 'C'
|
I have a project with multiple .c files and one resource.h. Now my main.c looks like this: ///** INDEX_CENTER **/// //-------------------// // ** HEADERS... |
Nov 10, 2020 at 1:55pm
[5 replies] Last: I can use multiple dll as well in my application to complicate less w... (by Mif)
|