Search:

Type: Posts; User: tsubasa

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    6,861

    How to get current time

    Hello, i'm trying to print the current time but i'm getting it like this " Thu Apr 30 07:09:51 2009 "
    I only need the time, i don't need the date, year etc...

    How do i do that??

    This is what i...
  2. Thread: shell in C??

    by tsubasa
    Replies
    7
    Views
    1,543

    shell in C??

    Hi!

    I was wondering whether it was possible to write a shell using C language.
    If yes are there tutorials or e-books on that??
  3. Replies
    4
    Views
    963

    Thanks a lot man! :D :D :D

    Thanks a lot man! :D :D :D
  4. Replies
    4
    Views
    963

    printing on screen question

    How do i print out on the screen the binary representation of an arbitrary unsigned integer?
  5. Replies
    5
    Views
    1,190

    thanks a lot to the 3 of you. :D

    thanks a lot to the 3 of you. :D
  6. Replies
    5
    Views
    1,190

    insertion operator question

    How does the << operator works??
  7. Replies
    8
    Views
    5,770

    okkkk!!! thanks!! Sorry for the silly that silly...

    okkkk!!! thanks!!
    Sorry for the silly that silly post ;P
  8. Replies
    8
    Views
    5,770

    to laser light, why won't it compile??

    to laser light, why won't it compile??
  9. Replies
    8
    Views
    5,770

    but what's the difference between int x[3]...

    but what's the difference between


    int x[3] = {0};

    and


    int x = new int[3];
  10. Replies
    8
    Views
    5,770

    int x = new int[3];

    is this a way of creating an array of 3 int called x in C++??

    (I've seen this somewhere.)
  11. Thread: C++ constructs

    by tsubasa
    Replies
    3
    Views
    9,781

    thanks a lot!

    thanks a lot!
  12. Thread: C++ constructs

    by tsubasa
    Replies
    3
    Views
    9,781

    C++ constructs

    What does c++ constructs mean??

    I'm asking that coz i've been asked to do al listing of all the C++ constructs used in my assigment.

    Does construct mean all the things that exist in C++ but not...
  13. Replies
    7
    Views
    1,962

    Well it's beacause i'm converting my program from...

    Well it's beacause i'm converting my program from C++ to C and i didn't use any available method to find a character. Thanks to you all, i've found my mistake.

    A really silly mistake i can say. :P...
  14. Replies
    7
    Views
    1,962

    infinite loop error

    why am i getting an infinite loop in this piece of code:




    while((( *(str+index)) != '(') || ((*(str+index)) ! = '\0'))//while char is not '(' and not end of string, increase...
  15. Replies
    4
    Views
    1,850

    I've deleted it. Sorry for the waste of board...

    I've deleted it.

    Sorry for the waste of board space.

    I thank you both for the tips you gave me. :D
  16. Replies
    4
    Views
    1,850

    what does these errors mean

    While trying to convert my program from C++ to C, i'm getting lots of errors.

    Can anyone tell me what these errors mean:

    syntax error before & token

    [Warning no] semicolon at end of struct...
  17. Replies
    2
    Views
    994

    thanks a lot for your help :D

    thanks a lot for your help :D
  18. Replies
    2
    Views
    994

    c++ to c question

    Let's make as if I have in all 5 files in my c++ program.
    X.hpp, Y.hpp, X.cpp, Y.cpp, main.cpp

    Class X doesn't have any data members(variables). Class Y uses a method (to do some calculation)...
  19. Thread: C++ to C

    by tsubasa
    Replies
    5
    Views
    1,386

    C++ to C

    I'm really new to c. I can even say it's my first day. I been programming in C++ for about a month or two and decided to start learning C.

    I wanted to know if there are functions like getline or...
Results 1 to 19 of 20