User Profile
Collapse
-
operator overloading
hi!
can anybody suggest me any website from wherein i can learn about operator overloading in c++
especially i need help in learning ---overloading of logical operators n arithmetic assignment operators
plzzzzzzzzzzzz help -
difference b/w structures in c and c++
can anybody tell me the difference between structures in c and structures in
c++? -
-
a reserved word is a keyword in a programming language that serves to mark the structure of a statement.eg;if ,else&whileLeave a comment:
-
programming languages
hai!
can anybody tell me abt the different programming languages ?i mean there r 4 different programming languages-unstructured,st ructured,modula r and oops,i need to know abt their advantages and disadvantages -
c++:manipulators
hello!
can anybody plz tell me abt the different manipulators in c++ & what r their functions,how to use them,etc?
sowmyth -
compilers-c++
hai!
Can anybody tell me the compilers in c++,rather the compilers for c++?
thanks for the help ,if any. -
difference between c&c++
hello!
can anybody tell the all difference between c&c++ in detail? -
pointers
can anybody tell me a website for pointers wherein i can get all the information abt pointers. -
room scheduler
hi!
actually i'm doing a project in C on hostel management.i want to know how to write a code to assign rooms to each student.that is for example if a new student arrives and gives his choice of room number then the code should be such that the program should check if that particular rom is vacant or not.if there is vacancy,already how many of them has occupied it etc,.Leave a comment:
-
i think i can help with the second program ,i got something similar like that for my assingment (it was upto maximum 3 digit number).
*ask the user how many digit number does he want to input
*scan the number using an array
*declare something like char *n[10]={"one","two",. ............... ......,"nine"},
*for number's from 10....19,
20,30....90,etc till depending on the no:of digits...Leave a comment:
-
#include<stdio. h>
main(){
int n,d,p;
int r=0;
printf("enter a number");
scanf("%d",&n);
p=n;
while(n>0){
d=n%10;
r=r*10+d;
n=n/10;
}
if(r=p)
printf("it is a palindrome");
else
printf("it is not a palindrome");
}Leave a comment:
-
this is how i did in my school
#include<stdio. h>
main( ){
int n,i,flag=0;
printf("enter a number");
scanf("%d",&n);
for(i=2;i<n-1;i++){
if(n%i==0){
flag=1;
break;
}
}
if (flag==0)
printf("the number is prime");
}Leave a comment:
-
uninitialised pointers are called dangling pointers/stray pointers.it is so dangerous that it may sometimes cause the system to crash.
i.e, instead of initialising a pointer like,
int *p;
we have to initialise it like ,
int *p=0;
or
int *p=NULL;Leave a comment:
-
need help to write some programs
plz, can you tell me how to write a c program (using functions)
i)to count the number of words in a sentence
ii)menu driven program to sort n names
iii)to sort the alphabets in a name,&to count the number of vowels, consonants,spac es&special characters in a sentence which is read from the user
advance thanx to those who help me -
regarding hostel management
actually in our school we were asked to do project on hostel management.
we are supposed to write a c code on storing the student information and retrieving it when required,room scheduler,check ing whether the room is available or not,assigning the room,calculate the mess fee,account registry,etc.
if anyone can think of more ideas please tell me and help me in writing a c code for everythi...Leave a comment:
-
room scheduler
plz help me to write a c code(program) for hostel management.i don't have any idea of how to do it. if anyone so kind enough please send me in the abstract also.
No activity results to display
Show More
Leave a comment: