Member Avatar
How to write a C++ program doing the following : a series of names with no blank characters and displays the number of the names having more than ten charaters. the name must not exceed 25 characters and the series ends when the user enters the word "end".
by zeinc in Software Development ()
Member Avatar
Hi everyone. I was reading some source code and I cam across the line ... Why would the programmer use static_cast<char> in conjunction with toupper to print 'U' instead of just typing ... Thanks in advance for your input.
by Nathan_6 in Software Development ()
c++
Member Avatar
include<iostream> include<stack> using namespace std; struct node ...
by Usman_9 in Computer Science ()
c++
Member Avatar
hy ,i make binary tree,the input of binary tree in correct.but issues traversing of binary tree using stack ,because the result of traversing is wrong ... .
by Usman_9 in Computer Science ()
Member Avatar
idk why my program is not working, i wanted to create a program that counts even and odd number when a user inputs number except 0. Zero is the terminator of the loop. ...
by Joedanica in Programming ()
c++
Member Avatar
Member Avatar
Can someone check if I got these correct please?? I'm pretty sure I missed almost half of these so I really need help on these. If someone can explain too, that would be really nice. a: 5 b: address of location of x (0x....) c: address of value x (0x...) …
by DS9596 in Computer Science ()
Member Avatar
It has been a long time since i do C++ programming and I am stuck on this question. I don't remember how to solve this kind of question. haha Part 1: Develop a C++ program which asks the user for the choice of either 3x3 or 4x4 2-dimensional array (use …
by Qah25 in Programming ()
Member Avatar
I need to write a program to create palindrome words by using the string entered by users. Your program should have 2 strings: the first string is used to store input text from the user and the second string is to store the same input text from the user in …
by AKRAM83 in Programming ()
Member Avatar
I need to read from a txt file and then pass that array into another function which prints the data in a neat organised manner depending which type pf book it is... So if its audiobook then the book is listed under audiobook, if ebook then under ebook etc... I …
by simmyk in Software Development ()
Member Avatar
I make a program to simulate the Shortest Job First algorithm in CPU scheduling .. this function will calculate the start , end, turn,and wait time for each proccess according to Non-preemptive way .. the 1st condition gonna check for the 1st arrival time or the smallest burst time .. …
by rose_2 in Programming ()
Member Avatar
Hi All, Below is the code of implementation of aggregation in c++. In this code class bar object will be contained in class a but class a won't act as a owner of class bar and due to this bar object is deleted after class a's life time ends. Now …
by can-mohan in Software Development ()
c++
Member Avatar
How do I modify minhook in order to be able to hook undocumented functions? I'm a beginner and this is beyond me.
by Werwerwerw in Software Development ()
Member Avatar
Hi, I have a hooked function, NtTerminateProcess. I am trying to get the full path to the process handle passed to TerminateProcess. The injected app is taskmgr and GetProcessImageFileName is returning ERROR_ACCESS_DENIED. I even tried opening another handle to the process to ensure I have the required access rights, like …
by Werwerwerw in Software Development ()
c++
Member Avatar
Hi All, In below design i would like to know the appraoch of deletion the base class pointer deletion.It is pritty clear that deletion of base class object obj won't take place inside Draw destructor. Apart from this same code i have tested using unique_ptr and as expected it is …
by can-mohan in Software Development ()
Member Avatar
Hi All, In below code i am performing search in map through key value but not able to get the desire results though common elements (intersection) is present in both lists. ...
by can-mohan in Software Development ()
Member Avatar
im having a problem controlling a stepper motor using a microcontroller..what i did is that i test it with my board coz it has led's to check whether its working or not..we are tasked to make a program in c++ that would make a variable reluctance stepper motor work. If …
by programmingnoob in Software Development ()
Member Avatar
I tried here in this code to insert struct information then assign to vector and get the smallest age .. i want to do that with vector to learn more about it .. can anyone help me to fix it .. and explain to me what's wrong in my thought …
by rose_2 in Software Development ()
c++
Member Avatar
I am new to c++ and puzzle about parameters and argument definitions,Please help me i will great thankful to Dani web members.
by Moeen_2 in Software Development ()
c++
Member Avatar
Hi every one, I had implemented Karatsuba algorithm in C++, but I have been stuck for 2 days. First problem is the function give incorrect answer, second problem is it oftens crash when run (runtime error). I try to debug but cannot understand how it's not work. I hope someone …
by Gà_1 in Computer Science ()
Member Avatar
Test Scores #2 Modify the program of Programming Challenge 2 to allow the user to enter name-score pairs using two parralell arrays. For each student taking a test, the user types the student’s name followed by the student’s integer test score. Modify the sorting function so it takes an array …
by crazyninja247 in Computer Science ()
Member Avatar
... this is the error message for this code 7|error: 'uint8_t' has not been declared 9|error: expected unqualified-id before '{' token
by directorabbey in Software Development ()
c++ c
Member Avatar
anybody tell me please what is wrong in this code it will give me only blank console screen? ... ``
by Muhammad_111 in Programming ()
c++
Member Avatar
hi, so i am currenty working on a program that needs to ask the user for student name, and test score. it must use parallel arrays and must sort the scores ascending order from lowest to highest, with corresponding student name entered. and it must average the amount of scores …
by kenshinbatto92 in Programming ()
Member Avatar
using 'strcpy_s' error c2660
by crazyninja247 in Computer Science ()
Member Avatar
using 'strcpy_s' error c2660 ...
by crazyninja247 in Computer Science ()
Member Avatar
Hello Please tell me how can I used CLS in C++.. In any programm. ?
by steve.dannay in Programming ()
c++
Member Avatar
Hi fellas I'm reading "Teach yourself C++" book by Herbert Schildt to learn C++. there is an example in chapter 10 which is tough to me. this is the code I'm talking about: ... This is alone tough code that I've seen so far in this book. now the questions: …
by rob2 in Computer Science ()
c++
Member Avatar
Hi All , In below code i am getting error while assigning one object with other and result is clear as both objects are different types. it is expected that RHS object should belong to same class. How to resolve this issue. error: no match for operator= in obj1 = …
by can-mohan in Software Development ()
c++
Member Avatar
so the program needs to dynamically allocate an array large enough to hold a user=defined number of test scores. once all scores are entered, the array should be passed to a function that sorts them in ascending order. another function should be called that calculates the average score. the program …
by Kenny_1 in Computer Science ()