# Recent questions tagged function

Problem: I need some help making this into a MySQL function. Please guide me.
Problem: Why is __attribute__ used in GNU C programs?
Problem I want to write a c++ source code where return multiple values from a single function, how can i write it, Any help me
Problem I am new programmer in c++, I get two new keyword getters and setters, Anyone know how i uses this kwyword in our source code
Question: What is array to pointer decay? Is there any relation to array pointers?
Question: I have a Computer Science Midterm tomorrow and I need help determining the complexity of these recursive functions. I know how to solve simple cases, but I am still trying to learn how to solve these harder cases. These were just a few of the example problems that I could not figure out. Any ... printf("%d, %d\n",m, o); } else { recursiveFun4(n-1, m+1, o); recursiveFun4(n-1, m, o+1); }
1 vote
Problem: I know how to return multiple values and that there are various ways to achieve this . My question is which method is most efficient and best for doing this ?
Problem: How to do c program to convert decimal to binary without using array?
Problem: Hi there! I am learning programming. I have tried writing a program that converts a number passed to it to float and prints the converted value. Here is my code: #include<stdio.h> #include<conio.h> int convert(int) { float = (float) number; return ... most of these errors especially the first one. Could someone please help me figure out what I am doing wrong? I would be thankful.
Problem: Can anyone suggest to me on func_array?
Problem: The following line seems very difficult for me.Please help someone to solve how to find output of random function in c++
Problem: When I run the code, everything appears to work, but the numbers that I get in the printout are not accurate. Not sure if it is the constructor I have that is set up wrong or what. I've just been banging my head against the wall trying to figure it out. Any help/advice would be much appreciated!
Problem: Static Functions in C++,I want to call my function from main without an object.But could not work.What am I doing wrong?
Problem: I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent. Is there anything that can be done with one method that can't be done with the other?