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...
Type: Posts; User: tsubasa
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...
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??
Thanks a lot man! :D :D :D
How do i print out on the screen the binary representation of an arbitrary unsigned integer?
thanks a lot to the 3 of you. :D
How does the << operator works??
okkkk!!! thanks!!
Sorry for the silly that silly post ;P
to laser light, why won't it compile??
but what's the difference between
int x[3] = {0};
and
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.)
thanks a lot!
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...
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...
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...
I've deleted it.
Sorry for the waste of board space.
I thank you both for the tips you gave me. :D
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...
thanks a lot for your help :D
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)...
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...