thanks for your help :)
Type: Posts; User: kuwait
thanks for your help :)
This was my solution
but i don't know how can i detect an overflow??
#include <iostream.h>
int main(){
int x;
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...
Thanks for all, I've solved the problem:)
thank you
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...
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>
hi
can sombody please tell me which is safer to use malloc and free functions or to use new and delete operators? and why?
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...
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
hello
please can someone tell me
is it ok to write
char *s = "hello";
or to write
Thanx for all i knew how to solve it
this is the text file which was saved by function saveinfo
Acct Last Name First Name Balance
-858993460ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ-107374176.00
1 b ...
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() {
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...
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...
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...
Thanx for answering
this mark will be a flag?
Can any one tell me what is the meaning of lazy deletion in an array?
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...
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.
thanx for your help
but it doesn't work can anyone please tell me how to solve these two problems?
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
thanx for answering
another question
will x be constant in this case?
if i had
int y, x;
const int *ptr=&y;
can i assign
ptr = &x;