User Profile

Collapse

Profile Sidebar

Collapse
kenx125
kenx125
Last Activity: Nov 6 '06, 08:32 AM
Joined: Oct 27 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • What you need to do is put your code in a DO WHILE LOOP. You are almost there. A Do While Loop will repeat your option menu until the user decides to quit.

    something like this;

    Do
    {
    //
    cout << "Enter a loan amount: ";
    cin >> LoanAmount;//etc............ ...

    } while (letter != 'Q' && letter != 'Z');...
    See more | Go to post

    Leave a comment:


  • kenx125
    replied to C++ Trainee Programmer Position, How?
    in C
    I have tried severval IT recruitment agency's, i am getting plenty of phone calls from them so hopefully it will be any time soon.

    PS: I will remember to help and not provide solutions:)...
    See more | Go to post

    Leave a comment:


  • kenx125
    replied to inline function
    in C
    I must say the reason for inline functions is efficiency. For example, everytime a function is called, a series of instructions must be executed, to set up the function call and to push any arguments onto the stack. In some instances many CPU cycles are used to perform these procedures. When you expand a function inline no such overhead exists and the overall speed of your program will increase. Even when your inline function is large, the overall...
    See more | Go to post

    Leave a comment:


  • Great Stuff.
    See more | Go to post

    Leave a comment:


  • kenx125
    replied to pointers to variable
    in C
    Ok here is the code you require.


    #include <iostream>
    using namespace std;


    int main()
    {
    int Array[5];// Declaring an array to hold 5 intergers.
    int *p, num, i;
    p=Array;


    for(i=0; i<5;i++)
    {

    cout <<"Enter num :"<<(i+1)<<endl ;
    cin>>num;
    ...
    See more | Go to post

    Leave a comment:


  • #include <iostream>
    using namespace std;

    void printNum()//print 1-20 to the screen but skips 15, 16, and 17
    {
    int x;
    for(x=1;x<=20;x ++)
    {
    if( (x ==15) || (x==16) || (x==17))
    continue;

    cout <<x<<" ";
    }

    return;
    ...
    See more | Go to post

    Leave a comment:


  • kenx125
    started a topic C++ Trainee Programmer Position, How?
    in C

    C++ Trainee Programmer Position, How?

    Hi all,

    I graduated from university last year( Bsc Hons Computer Science with Mathematics). I have been attempting to land a C++ programming job for 6months now and have not succeded yet. I have had plenty of interviews but they tend to say i have a lack of commercial experience. I really enjoy coding in C++ and have even read a book on its core essentials (C++ A beginners guide by Herbert Schildt).

    Can I please ask...
    See more | Go to post
No activity results to display
Show More
Working...