
please wait
by JLBorges
Problem with pointer
|
> the value of the array changed automatically, why? Undefined behaviour. What is the lifetime of the array arr in the function FillArray() ? |
Nov 17, 2021 at 7:28am
[no replies]
|
by learner999
Comma seperated numerical array
|
Hello everyone, How can I convert my numerical 1D and 2D arrays to the comma seperated matrix? I have two vectors like A=[3 4 5] 1D and B=[[5 6 7] ... |
Nov 17, 2021 at 5:15am
[1 reply] : > I am getting an error. So show us what you've got. (by salem c)
|
by lukakap
Transcendental equations?
|
Write your question here. I need help. From the subject from the Faculty of Electrical Engineering I was given the task to calculate a certain physical quantit... |
Nov 16, 2021 at 11:14pm
[6 replies] Last: [quote=jonnin]c++ authors for some unholy reason made the log function... (by Duthomhas)
|
by Amin96
is it loop, remainder or what ?
|
hello, I'm having issues understanding what to do in this exercise. it"s a C++ using netbeans Write a program that asks the user to enter 2 integers of 4 digit... |
Nov 16, 2021 at 8:01pm
[9 replies] Last: thank you both of you (by Amin96)
|
by wraith tmk
Election Program help!
|
So I am once again back and asking for help! This is my final lab of the semester, and I really have no idea what to do after a certain point. My professor isn'... |
Nov 16, 2021 at 6:07pm
[2 replies] Last: I forgot to mention that he does give us a text file with the candidat... (by wraith tmk)
|
by hb3butler1
Building my first functions
|
everything down to the output12 and output24 seems to work fine. I am trying to finish the conversions and output am/pm or 24hour formats. #include <iostre... |
Nov 16, 2021 at 5:27pm
[6 replies] Last: Please use code tags when posting code - what you're posted is not rea... (by seeplus)
|
by jude6363jr
I'm new and don't know where to start, assignment due soon.
|
Write your question here. You are given a file consisting of students’ names in the following form: lastName, firstName middleName. (Note tha... |
Nov 16, 2021 at 5:24pm
[6 replies] Last: When posting code, please use code tags so that the code is readable! ... (by seeplus)
|
by tapni
Read matrix from file
|
I'm trying to make matrix to be read from file but the followin mistake occurs " no matching function for call to 'std::vector<std::vector<int> >:: push_back(... |
Nov 16, 2021 at 3:01pm
[6 replies] Last: Thanks guys (by tapni)
|
by merlinf
Trouble when create and load save file
|
So, my assignment is to create a horseboard game, and I am struggling with save/load part. I have 2 problem, the first one is that after I finish the save part... |
Nov 16, 2021 at 11:04am
[5 replies] Last: Well now's a good time to get to grips with the debugger. Use the debu... (by seeplus)
|
by Shervan360
Problem with pointer
|
Hello, When the program goes to MinMax function(line 19), the value of the array changed automatically, why? Thanks #include <iostream> #include <stdlib.h>... |
Nov 15, 2021 at 11:21pm
[3 replies] Last: Thank you so much. (by Shervan360)
|
by Daurenss4
to binary ecc
|
#include<bits/stdc++.h> using namespace std; void fun(int x ){ int a ; int cont=0; if(x==0){ cout<<0; } else { int cnt=0; for(int i=0; ... |
Nov 15, 2021 at 12:14pm
[3 replies] Last: Possibly: #include <iostream> #include <vector> using namespace st... (by seeplus)
|
by gigacapybara
c++ Program that uses structs and nodes to read data file
|
I am using a combination of structs and nodes using a heavily modified linked list program to read a data file and print results, I have also commented out what... |
Nov 15, 2021 at 11:54am
[4 replies] Last: Perhaps: #include <iostream> #include <fstream> #include <iomanip> ... (by seeplus)
|
by ICantC
Memory alloc / generic function pointer
|
Hi all, I have 2 quick questions, I have a pure C text game, very small, just 1 test area created so far. But already 50% of the time I get a heap corruption cr... |
Nov 13, 2021 at 9:50pm
[8 replies] Last: thanks a lot for the advice mbozzi, I'll give that idea a try! (by ICantC)
|
by Shawnamous
Help for beginner
|
When I make the program for this given task how do I print only non zero elements of array not the whole array and can anyone tell how to terminate if array is ... |
Nov 13, 2021 at 7:21pm
[6 replies] Last: OK. Thank you very much buddy ! (by Shawnamous)
|
by KittyIchigo1
How to compare an int variable name to a string?
|
So for example, I want to compare the name of an int variable to a string, and if the name of the variable is the same as the string, then do certain action. ... |
Nov 13, 2021 at 5:16pm
[4 replies] Last: A somewhat roundabout way. But you have to know in advance which vars ... (by salem c)
|
by abdulcc090
a C++ Program which inputs a four-byte integer
|
In a Military database system, IDs of the army personnel are stored in a 32-bit value which is coded as follows: a. 7-bits Belt number b. 10-bits Batch numbe... |
Nov 13, 2021 at 12:01pm
[9 replies] Last: @seeplus: You're really not supposed to do homework for folk. (by kbw)
|
by jonnin
Debugging array value
|
you are not running the code you posted, as it will not compile. line 67 should be count. its possible if you don't read your warnings and errors to miss that... |
Nov 13, 2021 at 10:33am
[1 reply] : Here we go again......... (by seeplus)
|
by abdulcc090
a C++ program to perform 128-bit encryption and decryption using XOR operation.
|
Write your question here. Write a C++ program to perform 128-bit encryption and decryption using XOR operation. Your program must ask for 128-bit key and plai... |
Nov 13, 2021 at 2:50am
[5 replies] Last: Do you know what xor is? Maybe we can start with that. (by kbw)
|
by abdulcc090
how to print eight lined rainbow (of asterisks *)
|
The information about colours is to be stored in bits of a variable called colour. The bit number 0 to 7, each represent 8 colours of a rainbow, i.e. bit 1 rep... |
Nov 12, 2021 at 5:21pm
[3 replies] Last: no that is not the case i have done all the problems of my assignment ... (by abdulcc090)
|
alias template import and export from/to DLL |
My class has a alias template, class XXX_API Foo { // codes template <typename Value> Id2Values = std::map<std::string, std::vector<Value>>; // other ... |
Nov 12, 2021 at 11:28am
[4 replies] Last: > For template alias do I need to do similar things too? No. The alia... (by JLBorges)
|