Search:

Type: Posts; User: kiss_psycho

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,092

    :eek: thanks omni, guess i got confused.

    :eek: thanks omni, guess i got confused.
  2. Replies
    8
    Views
    1,092

    but omnius, & should produce an address. strange,...

    but omnius, & should produce an address. strange, isnt there any explainable reason behind this?
  3. Replies
    8
    Views
    1,092

    oh no josh, &c gives an address which can only be...

    oh no josh, &c gives an address which can only be stored in a character type pointer. the syntax i wrote is absolutely correct, there must be some problem with the character representation in C++...
  4. Replies
    0
    Views
    1,539

    overlay creation problem

    i got this problem with turbo C++ v.3.0 that i cannot create an exe from a 'obj' created by tcc with the -c option. tlink simply does not seem to work. and the library file names are not specific....
  5. Replies
    8
    Views
    1,092

    character pointer worries

    this may sound strange, but each time i try to print the address of a character, it prints out the character.

    for example,




    char c='a',*p;
    p=&c;
    cout<<p;
  6. linking an object file and help regarding overlays.

    I am using Turbo C++ version 3.0 and i never compiled using the command line. now, i have got a problem. i have to compile the source .cpp file to a .obj file using tcc.exe (i got that -- its using...
  7. could yo rephrase that ??

    could yo rephrase that ??
  8. Replies
    10
    Views
    2,362

    strange -- no arrays, no * rs, no cstrings too???...

    strange -- no arrays, no * rs, no cstrings too???

    check if you can use CString objects in your code if you use MSVC++, you can try something like this.




    CString str1,str2;
    cin>>str1;...
  9. Replies
    1
    Views
    2,747

    yes, u can post the code -- i'll try.

    yes, u can post the code -- i'll try.
  10. Replies
    10
    Views
    2,362

    could you explain a bit clearly. :)

    could you explain a bit clearly. :)
  11. Replies
    10
    Views
    2,362

    try using cout.precision(precision_value); eg:...

    try using cout.precision(precision_value);
    eg:

    cout<<setiosflags(ios::fixed);
    cout.precision(2);
    cout<<123.4567;

    O/P is 123.46

    for rounding off floating point nos. and...
  12. Replies
    10
    Views
    2,362

    use strcpy or CString objects to avoid pointers....

    use strcpy or CString objects to avoid pointers. and could you please rephrase your roundoff problem?
  13. Replies
    11
    Views
    4,119

    if you really want to do something radical, try...

    if you really want to do something radical, try doing it in Turbo C++ instead. i guran-dam-tee you that it'll keep you busy for a long long time ;) . and i'd like the screen shot.
  14. Replies
    7
    Views
    2,335

    if you are wanting to rethrow, make sure you...

    if you are wanting to rethrow, make sure you catch the exception in an enclosing block. for this, better terminate the program execution at the said point instead of rethrowing to terminate.
  15. this might sound strange and unconventional i...

    this might sound strange and unconventional i guess, but could you try reading into seperate variables and then assigning the structure elements -- this is a strange problem with turbo C++. this...
  16. Replies
    0
    Views
    1,106

    Polygon problem

    Problem statement :
    "In 2-D co-ordinate system, to determine whether a given trial point is inside or outside a given polygon -- the polygon may be concave or convex"

    Input :
    1. The no. of...
  17. Replies
    2
    Views
    1,080

    textcolor takes effect after clearing the screen.

    textcolor takes effect after clearing the screen.
  18. pick up a good ol book and study. hell, they'll...

    pick up a good ol book and study. hell, they'll also be teaching you from stuffs like books, wont they.
  19. Replies
    3
    Views
    1,468

    hell, long time since i was away. i got a...

    hell, long time since i was away.

    i got a solution -- one of my erly days -- it aint classical, of course, but it works nonetheless, with perhaps a few glitches in the computer play section. see...
  20. Replies
    1
    Views
    2,006

    Character pointer problem.

    This is a problem i am having when i am trying to obtain the address of a character type variable and print the address using cout. the printing works fine when i am using generic pointers by...
  21. Replies
    4
    Views
    1,558

    use code tags while posting code, man. neway glad...

    use code tags while posting code, man. neway glad it worked.
  22. Replies
    7
    Views
    12,326

    any alternative for getch() ?

    Ok, then i am not supposed to use getch();. But is there any analogous ANSI version that waits for a character input and assigns that character to a variable without waiting for the return key to be...
  23. Replies
    4
    Views
    1,558

    This is what u want.. and yes, cin.get() does...

    This is what u want..
    and yes, cin.get() does not work as getch() does.



    #include<iostream.h>

    int main()
    {
    int i,j;
  24. Replies
    9
    Views
    1,575

    The variable, c in the calling module is...

    The variable, c in the calling module is referenced as variable,a in the called module, and if a changes in the called module, c will change.
  25. Replies
    9
    Views
    1,575

    The namespace keyword allows you to partition the...

    The namespace keyword allows you to partition the global namespace consisting of huge numbers of variable names, class names and function names into declarative regions, thus allowing a name used in...
Results 1 to 25 of 49
Page 1 of 2 1 2