Search:

Type: Posts; User: kiss_psycho

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,074

    :eek: thanks omni, guess i got confused.

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

    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,074

    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,527

    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,074

    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,306

    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,730

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

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

    could you explain a bit clearly. :)

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

    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,306

    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,053

    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,272

    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,090

    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,069

    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,457

    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
    1,991

    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,551

    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,276

    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,551

    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,557

    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,557

    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