Search:

Type: Posts; User: kuwait

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,943

    thanks for your help :)

    thanks for your help :)
  2. Replies
    4
    Views
    1,943

    This was my solution but i don't know how can i...

    This was my solution
    but i don't know how can i detect an overflow??



    #include <iostream.h>

    int main(){

    int x;
  3. Replies
    4
    Views
    1,943

    Exception handling

    hi

    please can you help me in the following question?

    Write a C++ program that inputs a list of integer values in the range of -100 to 100 from the keyboard and computes the sum of the squares...
  4. Replies
    4
    Views
    2,949

    Thanks for all, I've solved the problem:)

    Thanks for all, I've solved the problem:)
  5. Replies
    4
    Views
    2,949

    thank you

    thank you
  6. Replies
    4
    Views
    2,949

    assembly question

    plese can you help me in this question

    Given an array of two digits numbers with each digit is stored as a character, do the following:

    a. Write a function FINDMIN that will find the smallest...
  7. Thread: 2d array

    by kuwait
    Replies
    1
    Views
    842

    2d array

    Hi

    How can i define a 2d array without giving the size of it
    i want the user to enter the size
    please can somone tell me how?



    #include<stdio.h>
  8. Replies
    2
    Views
    1,149

    allocating and deallocating

    hi

    can sombody please tell me which is safer to use malloc and free functions or to use new and delete operators? and why?
  9. Replies
    1
    Views
    4,269

    Type compatibility

    hi

    i have a question i want to know what does it mean
    can you help me please

    Design a set of simple programs to determine the type compatibility rules of Pascal or C compiler to which you...
  10. Replies
    5
    Views
    1,745

    hi thank you for your response you said...

    hi

    thank you for your response

    you said that

    char* s;
    s = "hello world"; // Not allowed

    i've compiled it and there were no errors
  11. Replies
    5
    Views
    1,745

    about decleration?

    hello

    please can someone tell me

    is it ok to write

    char *s = "hello";

    or to write
  12. Replies
    3
    Views
    1,410

    Thanx for all i knew how to solve it

    Thanx for all i knew how to solve it
  13. Replies
    3
    Views
    1,410

    this is the text file which was saved by function...

    this is the text file which was saved by function saveinfo



    Acct Last Name First Name Balance
    -858993460ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ-107374176.00
    1 b ...
  14. Replies
    3
    Views
    1,410

    thanx

    Thanx for telling me that

    ok after i do this i want to save the accounts on a file i did the function saveinfo and this its code





    void saveinfo() {
  15. Replies
    3
    Views
    1,410

    Class Bank(i have a question)

    hi

    i create a class bank that creates updates and deletes accounts
    using class BST(binary search tree) and creates a structure node which holds the client data there's no compilation error in the...
  16. Thread: lazy delete

    by kuwait
    Replies
    7
    Views
    7,608

    Thanx i know how to do a class queue with its...

    Thanx
    i know how to do a class queue with its functions but what i wanted to do is to use the lazy deletion method that like if i had an array of 6 elements i want to delete a certin element given...
  17. Thread: lazy delete

    by kuwait
    Replies
    7
    Views
    7,608

    i've searched in a browser about this but...

    i've searched in a browser about this but couldn't find anything helpful i have a midterm after one day and this was a question from last course (to write a code for deletion and insertion using...
  18. Thread: lazy delete

    by kuwait
    Replies
    7
    Views
    7,608

    Thanx for answering this mark will be a flag?

    Thanx for answering
    this mark will be a flag?
  19. Thread: lazy delete

    by kuwait
    Replies
    7
    Views
    7,608

    lazy delete

    Can any one tell me what is the meaning of lazy deletion in an array?
  20. Thread: checking

    by kuwait
    Replies
    0
    Views
    1,717

    checking(thanku i knew the answer cancel this thread)

    i know the answer don't read this

    i've written a programme and this was the question of it

    we read the numbers and push them into the stack without printing them until we read a negative...
  21. Thread: pointers

    by kuwait
    Replies
    8
    Views
    1,301

    1.write a program that mixes two strings using...

    1.write a program that mixes two strings using pointers. for example:
    inputs:
    Blue
    Sky
    the output:
    BSlkuye

    2.write a program that counts the number of characters in a string using pointers.
  22. Thread: pointers

    by kuwait
    Replies
    8
    Views
    1,301

    ?

    thanx for your help


    but it doesn't work can anyone please tell me how to solve these two problems?
  23. Thread: pointers

    by kuwait
    Replies
    8
    Views
    1,301

    pointers

    hi

    please can anyone give me ahint how to do this?

    1.write a program that mixes two strings using pointers. for example:
    inputs:
    Blue
    Sky
    the output:
    BSlkuye
  24. Replies
    6
    Views
    1,214

    thanx for answering another question will...

    thanx for answering

    another question

    will x be constant in this case?
  25. Replies
    6
    Views
    1,214

    question about pointers

    if i had

    int y, x;
    const int *ptr=&y;

    can i assign

    ptr = &x;
Results 1 to 25 of 41
Page 1 of 2 1 2