# Beginners - November 2021 (Page 5)

 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 UTC [no replies]
 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 UTC [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 UTC [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 UTC [9 replies] Last: thank you both of you (by Amin96)
 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 UTC [2 replies] Last: I forgot to mention that he does give us a text file with the candidat... (by wraith tmk)
 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
 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 UTC [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 >:: push_back(... Nov 16, 2021 at 3:01pm UTC [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 UTC [5 replies] Last: Well now's a good time to get to grips with the debugger. Use the debu... (by seeplus)
 Problem with pointer Hello, When the program goes to MinMax function(line 19), the value of the array changed automatically, why? Thanks #include #include ... Nov 15, 2021 at 11:21pm UTC [3 replies] Last: Thank you so much. (by Shervan360)
 to binary ecc #include 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 UTC [3 replies] Last: Possibly: #include #include using namespace st... (by seeplus)
 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 UTC [4 replies] Last: Perhaps: #include #include #include ... (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 UTC [8 replies] Last: thanks a lot for the advice mbozzi, I'll give that idea a try! (by ICantC)
 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 UTC [6 replies] Last: OK. Thank you very much buddy ! (by Shawnamous)
 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 UTC [4 replies] Last: A somewhat roundabout way. But you have to know in advance which vars ... (by salem c)
 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 UTC [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 UTC [1 reply] : Here we go again......... (by seeplus)
 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 UTC [5 replies] Last: Do you know what xor is? Maybe we can start with that. (by kbw)
 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 UTC [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 Id2Values = std::map>; // other ... Nov 12, 2021 at 11:28am UTC [4 replies] Last: > For template alias do I need to do similar things too? No. The alia... (by JLBorges)
November 2021 Pages: 1... 345678
Archived months: [oct2021] [dec2021]

This is an archived page. To post a new message, go to the current page.