Search:

Type: Posts; User: Mukul Kumar

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds; generated 43 minute(s) ago.

  1. Replies
    4
    Views
    778

    there's restriction in my school....they cannot...

    there's restriction in my school....they cannot change borland TC++(they are like monkeys who still want to travel thousands of miles bare-foot while car is invented).
    but i use modern compilers and...
  2. Replies
    4
    Views
    778

    this is a class member function and the...

    this is a class member function and the undeclared variables are declared in the class(pvt)
  3. Replies
    4
    Views
    778

    what is not good in this function?

    void set(int newprice=-1,char newname[]={"NONAME"},int newqty=-1)
    {
    if(price!=-1)
    price=newprice;
    if(strcmp(newname,"NONAME")!=0)
    ...
  4. Replies
    12
    Views
    1,922

    sorry....i know that but in Turbo C++ this is not...

    sorry....i know that but in Turbo C++ this is not available....nothing is available....also i use modern editors and compilers but i have got a project from school and they have only Turbo...
  5. Replies
    12
    Views
    1,922

    noooo.... not reading a file twice....i opened...

    noooo.... not reading a file twice....i opened file then seekp(0,ios::end) then fetched its pointer position....than tellp()/sizeof(item).....then seekp(0) thats how i got the file size(in terms of...
  6. Replies
    12
    Views
    1,922

    yessss... i got it ...... i calculated the file...

    yessss... i got it ...... i calculated the file size and then divide that with the object size....then i got the number of objects in that file(this thing worked successfully).
  7. Replies
    12
    Views
    1,922

    okay how is this that i add last object in file...

    okay how is this that i add last object in file with price -ve(obviously price in real life is never -ve) and as my loop detects price -ve i'll add a break statement there.
  8. Replies
    12
    Views
    1,922

    .........you are right i will find a way to solve...

    .........you are right i will find a way to solve this.
  9. Replies
    12
    Views
    1,922

    @tabstop...i found another way. i used a static...

    @tabstop...i found another way.
    i used a static variable to count number of items(initilized with 0...++ if i add.....-- if i delete) in function void shop in class item and used a for loop instead...
  10. Replies
    12
    Views
    1,922

    @tabstop....how should i check that ?

    @tabstop....how should i check that ?
  11. Replies
    12
    Views
    1,922

    serious logical error!

    my project is on an online shop in which you can manage a shop(adding ,deleting ,clearing and modifying items) also you can switch to different shops(all shops are same)


    #include<iostream>...
  12. Replies
    15
    Views
    4,814

    you can try this code... #include...

    you can try this code...


    #include<iostream>
    #include<conio.h>
    #include<string.h>
    using namespace std;
    void test()
    {
    char pass[10],ch;
  13. Replies
    3
    Views
    1,025

    i want to know that what happens to the variable...

    i want to know that what happens to the variable of base class when you use virtual keyword in dreaded diamond type inheritance
  14. Replies
    3
    Views
    1,025

    about virtual keyword's use in classes

    i know the fact that using a virtual keyword in the derived classes(A & B) derived from one base class(Base) removes the ambiguity of the hidden variable of the base class in derived class C (another...
  15. Replies
    1
    Views
    1,820

    changing font size in C++

    how am i supposed to alter font size of text which appear in output screen?
  16. ok so i think this is our thread's conclusion!

    ok so i think this is our thread's conclusion!
  17. i don't only study computers i go to school and...

    i don't only study computers i go to school and use 5 hrs(8AM - 1PM)
    then i relax and have lunch then go to tuitions (maths) then return home at 5(or sometime 5:30PM) then i study rest of the...
  18. @ whiteflags no i don't sleep for 18-20 hrs but...

    @ whiteflags no i don't sleep for 18-20 hrs but for 7 hrs but i m really busy all day but somehow i managed to get 5 minutes in morning(its morning here)
  19. now i will go to sleep and will attend this...

    now i will go to sleep and will attend this debate 18-20 hrs later(after daily routine)
  20. "quality" thats what i need in my program and...

    "quality" thats what i need in my program and that program i call it flawless!!!
    am i right?
  21. @phantomotap oh k got it so you are talking...

    @phantomotap
    oh k got it
    so you are talking about in context on a group of users!!!
    but i m talking for a single person
    then i agree in (100=(1/∞))% cases the situation is inpossible(and i...
  22. but it is running fine as expected in my pc!!!...

    but it is running fine as expected in my pc!!!
    the output is
    (first it asks the number of overs)
    (then name of batsman)
    (then display each ball's info and after hitting any key the next ball is...
  23. @manasij7479 1)well that took me into deep...

    @manasij7479
    1)well that took me into deep thinking
    and i think if i write the file-name as "Hello World!!!"
    then the one who needs exclamation will use it and the other one will not
    2)please...
  24. @neo1 please explain which variable name should...

    @neo1
    please explain which variable name should i work upon
  25. @manasij7479 with what should i replace...

    @manasij7479
    with what should i replace getch(),and system("cls")?
Results 1 to 25 of 103
Page 1 of 5 1 2 3 4