User Profile

Collapse

Profile Sidebar

Collapse
titounette
titounette
Last Activity: Oct 10 '06, 09:12 PM
Joined: Oct 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • titounette
    replied to int in C++ (newbie)
    in C
    Many thanks. It' s fine!
    I made some changes for me.


    int addNumber(int a, int b)
    {
    int c;

    cout << "enter a" << endl;
    cin >>a;
    cout << "enter b "<< endl;
    cin >> b;
    c = a + b;
    return c;
    }

    int main ()
    {
    int x, y, sum;
    sum = addNumber(x,...
    See more | Go to post

    Leave a comment:


  • titounette
    started a topic int in C++ (newbie)
    in C

    int in C++ (newbie)

    Help i try to built a function which is a sum of two integers
    The result must be an integer !
    Check the result...
    Any help it 's welcome.
    /*************** *************** *************** ***** ********/
    #include <iostream>

    #include "math.h"
    using namespace std;

    int add_number(int a, int b, int c)
    {
    cout << "enter a" << endl;...
    See more | Go to post

  • titounette
    started a topic int in C++ (newbie)
    in C

    int in C++ (newbie)

    Help i try to built a function which is a sum of two integers
    The result must be an integer !
    Check the result...
    Any help it 's welcome.
    /*************** *************** *************** *************/
    #include <iostream>

    #include "math.h"
    using namespace std;

    int add_number(int a, int b, int c)
    {
    cout << "enter a" << endl;...
    See more | Go to post
No activity results to display
Show More
Working...