|
aloib (f)
|
please anyone want to help 
|
|
|
|
|
|
kennbox (m)
|
Yea I could Help. What exactly do u want?
|
|
|
|
|
|
aloib (f)
|
lol, i ave a programm i ave to do.so confused bout the shege, lol,
|
|
|
|
|
|
@tomX (m)
|
Do you have a specific problem you will like a solution to or do you have a problem with the platform as a whole?
|
|
|
|
|
|
aloib (f)
|
i'm just a beginner, i'm aving problems wid functions, i ave a few exercises i ave to do and i'm so lost about the whole thing
|
|
|
|
|
|
Gridlock (m)
|
Can u please tell what exactly u want to do with C++? the gurus in the house can supply you with sample code. 
|
|
|
|
|
|
Smart K. (m)
|
tell us where u have problems or forget about it.
Good luck
|
|
|
|
|
|
|
|
segdotpm
|
i want to write a program for a project is anyone capable of doing that for me in lagos so we can talk things over immediately.please get in touch 08036217998
|
|
|
|
|
|
|
|
|
|
Stanoz.com (m)
|
Aloib,
Functions in C++ are similar to closed boxes.
I learnt C++ by reading TC++PL Special Ed. by Dr. Stroustrup (Now my personal friend).
When starting out you gotta be able to envision concepts in a near-graphical way. You gotta make pictures of concepts in your head.
(Have you Read Bruce Eckert's book? Thinking in_________) (Google it, King!)
A function is like a Vending Machine. It collects a certail type of Input (it is very selective; C++ is strongly typed) and ejects a Certain Type of Output. It is very particular about what goes in and what goes out.
It is you that tells it what to accept; What to do with this accepted "coin(s)"; And what to TYPE reward/reply to Eject.
int main()
The return type (what goes back / what is ejected from this function) is INT. It must "shit" out an integer value.
What coin its going to accept is the argument that you should place between the parenthesis.
Ol boy, I don tire to dey type. After I go continue. Or; maybe I'll put up a page explaining this on my site soon.
|
|
|
|
|
|
labiran (m)
|
anyone in the house? i too need help with c++
|
|
|
|
|
|
labiran (m)
|
i can send the problem once someone repsonds
|
|
|
|
|
|
labiran (m)
|
wow, nairaland is absolutely useless, cannot believe nobody can help me.
|
|
|
|
|
|
Stanoz.com (m)
|
Labiran, I can help you. That's what I do; I help. (Stop being so rude, though.  ) What is it that you need assistance with, King?
|
|
|
|
|
|
Wallie (m)
|
Try the following; xor is the function. Goodluck!
#include <stdio.h>
int xor(int a, int b);
int main(void) { printf("%d", xor(1,0)); printf("%d", xor(1,1)); printf("%d", xor(0,1)); printf("%d", xor(0,0)); return 0; }
int xor(int a, int b) { return (a|| b) && !(a&& b); }
|
|
|
|
|
|
Quddy
|
can any one help me with this c++ question; using while counting loop,the if control structure and functions with input argument, write a design document given a number and power,calculate and display the given number raised to the given power ,the power, number and result must be double value. Don't use power built in math function to calculate the result. write a program that gets a number and power from he user and calls a function named my_power that will calculate the number raised to the powers as inputs
|
|
|
|
|
|
thinknow!
|
Stanoz how u dey?What other programming languages do you know or are u into?
|
|
|
|
|
|