• Register

Recent questions tagged program

0 votes
1 answer 2 views
Problem: I want to delete vowels from a string and print the remaining. But my if condition doesn't behave as expected. #include <stdio.h> void filter (char *p, char *q) { while (*p != '\0') { if (*p != 'a' || *p != 'e' || *p != 'i' || *p != 'o' ... ", str2); return 0; } I expect the output to be hll but the output was hello. I would like to know the reason for the mistake and the way to fix it.
asked 1 day ago Yeamin 21.4k points
1 vote
1 answer 2 views
Problem: What is the function of sentinel in Java?
asked 3 days ago PkGuy 23.5k points
0 votes
1 answer 3 views
Problem: I'm trying to open up a remote desktop session programmatically in C#. I found this tutorial, and followed it. I have a form that just consists of a AxMSTSCLib.AxMsRdpClient8NotSafeForScripting called rdp, and then I have the following code: public RDPViewer() ... to RDP to localhost, and I can connect using Remote Desktop Connection using the same credentials as I'm passing in the code.
asked 3 days ago jamuna1 30.2k points
1 vote
1 answer 2 views
Problem: I need a Java expert who could help ,me with this: Java program to find largest and smallest number in an array.
asked 4 days ago PkGuy 23.5k points
0 votes
1 answer 4 views
Problem: These are the errors that usually appears on the logs and has repeated a few times in different lines please help me so that i can finish this application i have learned a lot from making it and is looking forward to build more before my school starts Any ... ? How can improve myself after this errors and what should i next practice on like a next project that you guys would suggest me?
asked 4 days ago padma1 34.3k points
1 vote
1 answer 4 views
Problem: Need help with this graph making in C++: What is simplest way of implementing a graph in c or c++.
asked Apr 28 PkGuy 23.5k points
1 vote
1 answer 3 views
Problem: I am stuck in this while learning Java: Write a literal representing the largest character value.
asked Apr 27 PkGuy 23.5k points
1 vote
1 answer 3 views
Problem: I am facing this issue while using k.N King: C program to find the largest and smallest word in a string.
asked Apr 25 PkGuy 23.5k points
0 votes
1 answer 4 views
Problem: If I load a kernel module and list the loaded modules with lsmod, I can get the "use count" of the module (number of other modules with a reference to the module). Is there a way to figure out what is using a module, though? The issue is that a module I am ... re-compile and re-load the module, I have to reboot the machine (or, at least, I can't figure out any other way to unload it).
asked Apr 24 munim01 21k points
0 votes
0 answers 5 views
Problem: Need help with thi s calculations please. The minimum number of comparisons required to find the minimum and the maximum of 100 numbers is.
asked Apr 20 PkGuy 23.5k points
0 votes
1 answer 4 views
Problem: Hello! I am trying to write a program that calculates the payroll of an employee. I am taking the employee&rsquo;s name, rate per hour, and the number of hours he/she has worked as input from the user and then printing the employee&rsquo;s gross pay. I ... errors. I do not have a lot of knowledge regarding the errors in programming so I am unable to understand and fix them. Please help!
asked Apr 18 Code Learner 9.8k points
0 votes
1 answer 4 views
Problem: Any body who knows that how to remove all instances of an element? The remove method removes all occurrences of the item from a list.
asked Apr 18 PkGuy 23.5k points
1 vote
1 answer 31 views
Problem: How to find the sum? C++ program to find sum of n numbers using while loop.
asked Apr 18 PkGuy 23.5k points
1 vote
1 answer 3 views
Problem; Can some one comment on this. Function that checks whether a variable is a number or not.
asked Apr 18 PkGuy 23.5k points
0 votes
1 answer 5 views
Problem: I need a function like this: // return true iff 'n' is a power of 2, e.g. // is_power_of_2(16) => true is_power_of_2(3) => false bool is_power_of_2(int n); Can anyone suggest how I could write this? Can you tell me a good web site where this sort of algorithm can be found?
asked Apr 18 munim01 21k points
0 votes
1 answer 5 views
Problem How to fix this error: entry point must be definedin c++
asked Apr 13 Subhendu 4.5k points
0 votes
1 answer 4 views
Problem: There was a temporary problem on my computer, of anyone help me i will thankful of him.
asked Apr 10 niyatiry 3.9k points
0 votes
1 answer 5 views
Problem: Can anyone give me a appropriate solution?
asked Apr 10 niyatiry 3.9k points
0 votes
1 answer 6 views
Problem: I am stuck with this probem.Please someone assist me on which method can be defined only once in a program?
asked Apr 10 ashik 14.6k points
0 votes
1 answer 3 views
Problem: I've tried all the ideas proposed and still couldn't fix the dilemma.
asked Apr 9 zayed1 58.7k points